CfnOrganizationConfigRuleProps
- class aws_cdk.aws_config.CfnOrganizationConfigRuleProps(*, organization_config_rule_name, excluded_accounts=None, organization_custom_policy_rule_metadata=None, organization_custom_rule_metadata=None, organization_managed_rule_metadata=None)
Bases:
object
Properties for defining a
CfnOrganizationConfigRule
.- Parameters:
organization_config_rule_name (
str
) – The name that you assign to organization AWS Config rule.excluded_accounts (
Optional
[Sequence
[str
]]) – A comma-separated list of accounts excluded from organization AWS Config rule.organization_custom_policy_rule_metadata (
Union
[IResolvable
,OrganizationCustomPolicyRuleMetadataProperty
,Dict
[str
,Any
],None
]) –AWS::Config::OrganizationConfigRule.OrganizationCustomPolicyRuleMetadata
.organization_custom_rule_metadata (
Union
[IResolvable
,OrganizationCustomRuleMetadataProperty
,Dict
[str
,Any
],None
]) – AnOrganizationCustomRuleMetadata
object.organization_managed_rule_metadata (
Union
[IResolvable
,OrganizationManagedRuleMetadataProperty
,Dict
[str
,Any
],None
]) – AnOrganizationManagedRuleMetadata
object.
- Link:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. import aws_cdk.aws_config as config cfn_organization_config_rule_props = config.CfnOrganizationConfigRuleProps( organization_config_rule_name="organizationConfigRuleName", # the properties below are optional excluded_accounts=["excludedAccounts"], organization_custom_policy_rule_metadata=config.CfnOrganizationConfigRule.OrganizationCustomPolicyRuleMetadataProperty( policy_text="policyText", runtime="runtime", # the properties below are optional debug_log_delivery_accounts=["debugLogDeliveryAccounts"], description="description", input_parameters="inputParameters", maximum_execution_frequency="maximumExecutionFrequency", organization_config_rule_trigger_types=["organizationConfigRuleTriggerTypes"], resource_id_scope="resourceIdScope", resource_types_scope=["resourceTypesScope"], tag_key_scope="tagKeyScope", tag_value_scope="tagValueScope" ), organization_custom_rule_metadata=config.CfnOrganizationConfigRule.OrganizationCustomRuleMetadataProperty( lambda_function_arn="lambdaFunctionArn", organization_config_rule_trigger_types=["organizationConfigRuleTriggerTypes"], # the properties below are optional description="description", input_parameters="inputParameters", maximum_execution_frequency="maximumExecutionFrequency", resource_id_scope="resourceIdScope", resource_types_scope=["resourceTypesScope"], tag_key_scope="tagKeyScope", tag_value_scope="tagValueScope" ), organization_managed_rule_metadata=config.CfnOrganizationConfigRule.OrganizationManagedRuleMetadataProperty( rule_identifier="ruleIdentifier", # the properties below are optional description="description", input_parameters="inputParameters", maximum_execution_frequency="maximumExecutionFrequency", resource_id_scope="resourceIdScope", resource_types_scope=["resourceTypesScope"], tag_key_scope="tagKeyScope", tag_value_scope="tagValueScope" ) )
Attributes
- excluded_accounts
A comma-separated list of accounts excluded from organization AWS Config rule.
- organization_config_rule_name
The name that you assign to organization AWS Config rule.
- organization_custom_policy_rule_metadata
AWS::Config::OrganizationConfigRule.OrganizationCustomPolicyRuleMetadata
.
- organization_custom_rule_metadata
An
OrganizationCustomRuleMetadata
object.
- organization_managed_rule_metadata
An
OrganizationManagedRuleMetadata
object.