You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-configservice/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.

Instance Attribute Summary collapse

Instance Attribute Details

#ownerString

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

Returns:

  • (String)


2339
2340
2341
2342
2343
2344
# File 'gems/aws-sdk-configservice/lib/aws-sdk-configservice/types.rb', line 2339

class Source < Struct.new(
  :owner,
  :source_identifier,
  :source_details)
  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:



2339
2340
2341
2342
2343
2344
# File 'gems/aws-sdk-configservice/lib/aws-sdk-configservice/types.rb', line 2339

class Source < Struct.new(
  :owner,
  :source_identifier,
  :source_details)
  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.

Returns:

  • (String)


2339
2340
2341
2342
2343
2344
# File 'gems/aws-sdk-configservice/lib/aws-sdk-configservice/types.rb', line 2339

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