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

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

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing Source as input to an Aws::Client method, you can use a vanilla 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.

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#ownerString

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

Possible values:

  • CUSTOM_LAMBDA
  • AWS

Returns:

  • (String)

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

#source_detailsArray<Types::SourceDetail>

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

Returns:

  • (Array<Types::SourceDetail>)

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

#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)

    For AWS Config managed rules, a predefined identifier from a list.