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:
Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-config-organizationconfigrule.html

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.

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-config-organizationconfigrule.html#cfn-config-organizationconfigrule-excludedaccounts

organization_config_rule_name

The name that you assign to organization AWS Config rule.

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-config-organizationconfigrule.html#cfn-config-organizationconfigrule-organizationconfigrulename

organization_custom_policy_rule_metadata

AWS::Config::OrganizationConfigRule.OrganizationCustomPolicyRuleMetadata.

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-config-organizationconfigrule.html#cfn-config-organizationconfigrule-organizationcustompolicyrulemetadata

organization_custom_rule_metadata

An OrganizationCustomRuleMetadata object.

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-config-organizationconfigrule.html#cfn-config-organizationconfigrule-organizationcustomrulemetadata

organization_managed_rule_metadata

An OrganizationManagedRuleMetadata object.

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-config-organizationconfigrule.html#cfn-config-organizationconfigrule-organizationmanagedrulemetadata