CfnOrganizationConformancePackPropsMixin

class aws_cdk.mixins_preview.aws_config.mixins.CfnOrganizationConformancePackPropsMixin(props, *, strategy=None)

Bases: Mixin

OrganizationConformancePack deploys conformance packs across member accounts in an AWS Organizations .

OrganizationConformancePack enables organization service access for config-multiaccountsetup.amazonaws.com through the EnableAWSServiceAccess action and creates a service linked role in the master account of your organization. The service linked role is created only when the role does not exist in the master account.

See:

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

CloudformationResource:

AWS::Config::OrganizationConformancePack

Mixin:

true

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.mixins_preview import mixins
from aws_cdk.mixins_preview.aws_config import mixins as config_mixins

cfn_organization_conformance_pack_props_mixin = config_mixins.CfnOrganizationConformancePackPropsMixin(config_mixins.CfnOrganizationConformancePackMixinProps(
    conformance_pack_input_parameters=[config_mixins.CfnOrganizationConformancePackPropsMixin.ConformancePackInputParameterProperty(
        parameter_name="parameterName",
        parameter_value="parameterValue"
    )],
    delivery_s3_bucket="deliveryS3Bucket",
    delivery_s3_key_prefix="deliveryS3KeyPrefix",
    excluded_accounts=["excludedAccounts"],
    organization_conformance_pack_name="organizationConformancePackName",
    template_body="templateBody",
    template_s3_uri="templateS3Uri"
),
    strategy=mixins.PropertyMergeStrategy.OVERRIDE
)

Create a mixin to apply properties to AWS::Config::OrganizationConformancePack.

Parameters:

Methods

apply_to(construct)

Apply the mixin properties to the construct.

Parameters:

construct (IConstruct)

Return type:

IConstruct

supports(construct)

Check if this mixin supports the given construct.

Parameters:

construct (IConstruct)

Return type:

bool

Attributes

CFN_PROPERTY_KEYS = ['conformancePackInputParameters', 'deliveryS3Bucket', 'deliveryS3KeyPrefix', 'excludedAccounts', 'organizationConformancePackName', 'templateBody', 'templateS3Uri']

Static Methods

classmethod is_mixin(x)

(experimental) Checks if x is a Mixin.

Parameters:

x (Any) – Any object.

Return type:

bool

Returns:

true if x is an object created from a class which extends Mixin.

Stability:

experimental

ConformancePackInputParameterProperty

class CfnOrganizationConformancePackPropsMixin.ConformancePackInputParameterProperty(*, parameter_name=None, parameter_value=None)

Bases: object

Input parameters in the form of key-value pairs for the conformance pack, both of which you define.

Keys can have a maximum character length of 255 characters, and values can have a maximum length of 4096 characters.

Parameters:
  • parameter_name (Optional[str]) – One part of a key-value pair.

  • parameter_value (Optional[str]) – One part of a key-value pair.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-config-organizationconformancepack-conformancepackinputparameter.html

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.mixins_preview.aws_config import mixins as config_mixins

conformance_pack_input_parameter_property = config_mixins.CfnOrganizationConformancePackPropsMixin.ConformancePackInputParameterProperty(
    parameter_name="parameterName",
    parameter_value="parameterValue"
)

Attributes

parameter_name

One part of a key-value pair.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-config-organizationconformancepack-conformancepackinputparameter.html#cfn-config-organizationconformancepack-conformancepackinputparameter-parametername

parameter_value

One part of a key-value pair.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-config-organizationconformancepack-conformancepackinputparameter.html#cfn-config-organizationconformancepack-conformancepackinputparameter-parametervalue