Class: Aws::ConfigService::Types::Source
- Inherits:
-
Struct
- Object
- Struct
- Aws::ConfigService::Types::Source
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-configservice/types.rb
Overview
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
-
#owner ⇒ String
Indicates whether AWS or the customer owns and manages the AWS Config rule.
-
#source_details ⇒ Array<Types::SourceDetail>
Provides the source and type of the event that causes AWS Config to evaluate your AWS resources.
-
#source_identifier ⇒ String
For AWS Config managed rules, a predefined identifier from a list.
Instance Attribute Details
#owner ⇒ String
Indicates whether AWS or the customer owns and manages the AWS Config rule.
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_details ⇒ Array<Types::SourceDetail>
Provides the source and type of the event that causes AWS Config to evaluate your AWS resources.
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_identifier ⇒ String
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
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 |