class Aws::ConfigService::Types::PutConfigRuleRequest
@note When making an API call, you may pass PutConfigRuleRequest
data as a hash: { config_rule: { # required config_rule_name: "ConfigRuleName", config_rule_arn: "StringWithCharLimit256", config_rule_id: "StringWithCharLimit64", description: "EmptiableStringWithCharLimit256", scope: { compliance_resource_types: ["StringWithCharLimit256"], tag_key: "StringWithCharLimit128", tag_value: "StringWithCharLimit256", compliance_resource_id: "BaseResourceId", }, source: { # required 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 }, ], }, input_parameters: "StringWithCharLimit1024", maximum_execution_frequency: "One_Hour", # accepts One_Hour, Three_Hours, Six_Hours, Twelve_Hours, TwentyFour_Hours config_rule_state: "ACTIVE", # accepts ACTIVE, DELETING, DELETING_RESULTS, EVALUATING created_by: "StringWithCharLimit256", }, tags: [ { key: "TagKey", value: "TagValue", }, ], }
@!attribute [rw] config_rule
The rule that you want to add to your account. @return [Types::ConfigRule]
@!attribute [rw] tags
An array of tag object. @return [Array<Types::Tag>]
@see docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/PutConfigRuleRequest AWS API Documentation
Constants
- SENSITIVE