Class: Aws::ConfigService::Types::Source

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-configservice/types.rb

Overview

Note:

When making an API call, you may pass Source data as a hash:

{
  owner: "CUSTOM_LAMBDA", # required, accepts CUSTOM_LAMBDA, AWS
  source_identifier: "StringWithCharLimit256", # required
  source_details: [
    {
      event_source: "aws.config", # accepts aws.config
      message_type: "ConfigurationItemChangeNotification", # accepts ConfigurationItemChangeNotification, ConfigurationSnapshotDeliveryCompleted, ScheduledNotification, OversizedConfigurationItemChangeNotification
      maximum_execution_frequency: "One_Hour", # accepts One_Hour, Three_Hours, Six_Hours, Twelve_Hours, TwentyFour_Hours
    },
  ],
}

Provides the AWS Config rule owner (AWS or customer), the rule identifier, and the events that trigger the evaluation of your AWS resources.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#ownerString

Indicates whether AWS or the customer owns and manages the AWS Config rule.

Returns:

  • (String)


8097
8098
8099
8100
8101
8102
8103
# File 'lib/aws-sdk-configservice/types.rb', line 8097

class Source < Struct.new(
  :owner,
  :source_identifier,
  :source_details)
  SENSITIVE = []
  include Aws::Structure
end

#source_detailsArray<Types::SourceDetail>

Provides the source and type of the event that causes AWS Config to evaluate your AWS resources.

Returns:



8097
8098
8099
8100
8101
8102
8103
# File 'lib/aws-sdk-configservice/types.rb', line 8097

class Source < Struct.new(
  :owner,
  :source_identifier,
  :source_details)
  SENSITIVE = []
  include Aws::Structure
end

#source_identifierString

For AWS Config managed rules, a predefined identifier from a list. For example, ‘IAM_PASSWORD_POLICY` is a managed rule. To reference a managed rule, see [Using AWS Managed Config Rules].

For custom rules, the identifier is the Amazon Resource Name (ARN) of the rule’s AWS Lambda function, such as ‘arn:aws:lambda:us-east-2:123456789012:function:custom_rule_name`.

[1]: docs.aws.amazon.com/config/latest/developerguide/evaluate-config_use-managed-rules.html

Returns:

  • (String)


8097
8098
8099
8100
8101
8102
8103
# File 'lib/aws-sdk-configservice/types.rb', line 8097

class Source < Struct.new(
  :owner,
  :source_identifier,
  :source_details)
  SENSITIVE = []
  include Aws::Structure
end