CfnOrganizationConformancePackPropsMixin
- class aws_cdk.mixins_preview.aws_config.mixins.CfnOrganizationConformancePackPropsMixin(props, *, strategy=None)
Bases:
MixinOrganizationConformancePack deploys conformance packs across member accounts in an AWS Organizations .
OrganizationConformancePack enables organization service access for
config-multiaccountsetup.amazonaws.com.rproxy.govskope.cathrough theEnableAWSServiceAccessaction 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:
- 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:
props (
Union[CfnOrganizationConformancePackMixinProps,Dict[str,Any]]) – L1 properties to apply.strategy (
Optional[PropertyMergeStrategy]) – (experimental) Strategy for merging nested properties. Default: - PropertyMergeStrategy.MERGE
Methods
- apply_to(construct)
Apply the mixin properties to the construct.
- Parameters:
construct (
IConstruct)- Return type:
- 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
xis a Mixin.- Parameters:
x (
Any) – Any object.- Return type:
bool- Returns:
true if
xis an object created from a class which extendsMixin.- Stability:
experimental
ConformancePackInputParameterProperty
- class CfnOrganizationConformancePackPropsMixin.ConformancePackInputParameterProperty(*, parameter_name=None, parameter_value=None)
Bases:
objectInput 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:
- 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.