AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Class: Aws::ConfigService::Types::PutOrganizationConfigRuleRequest

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 PutOrganizationConfigRuleRequest data as a hash:

{
  organization_config_rule_name: "OrganizationConfigRuleName", # required
  organization_managed_rule_metadata: {
    description: "StringWithCharLimit256Min0",
    rule_identifier: "StringWithCharLimit256", # required
    input_parameters: "StringWithCharLimit2048",
    maximum_execution_frequency: "One_Hour", # accepts One_Hour, Three_Hours, Six_Hours, Twelve_Hours, TwentyFour_Hours
    resource_types_scope: ["StringWithCharLimit256"],
    resource_id_scope: "StringWithCharLimit768",
    tag_key_scope: "StringWithCharLimit128",
    tag_value_scope: "StringWithCharLimit256",
  },
  organization_custom_rule_metadata: {
    description: "StringWithCharLimit256Min0",
    lambda_function_arn: "StringWithCharLimit256", # required
    organization_config_rule_trigger_types: ["ConfigurationItemChangeNotification"], # required, accepts ConfigurationItemChangeNotification, OversizedConfigurationItemChangeNotification, ScheduledNotification
    input_parameters: "StringWithCharLimit2048",
    maximum_execution_frequency: "One_Hour", # accepts One_Hour, Three_Hours, Six_Hours, Twelve_Hours, TwentyFour_Hours
    resource_types_scope: ["StringWithCharLimit256"],
    resource_id_scope: "StringWithCharLimit768",
    tag_key_scope: "StringWithCharLimit128",
    tag_value_scope: "StringWithCharLimit256",
  },
  excluded_accounts: ["AccountId"],
}

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#excluded_accountsArray<String>

A comma-separated list of accounts that you want to exclude from an organization config rule.

Returns:

  • (Array<String>)


6798
6799
6800
6801
6802
6803
6804
6805
# File 'gems/aws-sdk-configservice/lib/aws-sdk-configservice/types.rb', line 6798

class PutOrganizationConfigRuleRequest < Struct.new(
  :organization_config_rule_name,
  :organization_managed_rule_metadata,
  :organization_custom_rule_metadata,
  :excluded_accounts)
  SENSITIVE = []
  include Aws::Structure
end

#organization_config_rule_nameString

The name that you assign to an organization config rule.

Returns:

  • (String)


6798
6799
6800
6801
6802
6803
6804
6805
# File 'gems/aws-sdk-configservice/lib/aws-sdk-configservice/types.rb', line 6798

class PutOrganizationConfigRuleRequest < Struct.new(
  :organization_config_rule_name,
  :organization_managed_rule_metadata,
  :organization_custom_rule_metadata,
  :excluded_accounts)
  SENSITIVE = []
  include Aws::Structure
end

#organization_custom_rule_metadataTypes::OrganizationCustomRuleMetadata

An OrganizationCustomRuleMetadata object.



6798
6799
6800
6801
6802
6803
6804
6805
# File 'gems/aws-sdk-configservice/lib/aws-sdk-configservice/types.rb', line 6798

class PutOrganizationConfigRuleRequest < Struct.new(
  :organization_config_rule_name,
  :organization_managed_rule_metadata,
  :organization_custom_rule_metadata,
  :excluded_accounts)
  SENSITIVE = []
  include Aws::Structure
end

#organization_managed_rule_metadataTypes::OrganizationManagedRuleMetadata

An OrganizationManagedRuleMetadata object.



6798
6799
6800
6801
6802
6803
6804
6805
# File 'gems/aws-sdk-configservice/lib/aws-sdk-configservice/types.rb', line 6798

class PutOrganizationConfigRuleRequest < Struct.new(
  :organization_config_rule_name,
  :organization_managed_rule_metadata,
  :organization_custom_rule_metadata,
  :excluded_accounts)
  SENSITIVE = []
  include Aws::Structure
end