CfnEnabledControlPropsMixin

class aws_cdk.mixins_preview.aws_controltower.mixins.CfnEnabledControlPropsMixin(props, *, strategy=None)

Bases: Mixin

The resource represents an enabled control.

It specifies an asynchronous operation that creates AWS resources on the specified organizational unit and the accounts it contains. The resources created will vary according to the control that you specify.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-controltower-enabledcontrol.html

CloudformationResource:

AWS::ControlTower::EnabledControl

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_controltower import mixins as controltower_mixins

# value: Any

cfn_enabled_control_props_mixin = controltower_mixins.CfnEnabledControlPropsMixin(controltower_mixins.CfnEnabledControlMixinProps(
    control_identifier="controlIdentifier",
    parameters=[controltower_mixins.CfnEnabledControlPropsMixin.EnabledControlParameterProperty(
        key="key",
        value=value
    )],
    tags=[CfnTag(
        key="key",
        value="value"
    )],
    target_identifier="targetIdentifier"
),
    strategy=mixins.PropertyMergeStrategy.OVERRIDE
)

Create a mixin to apply properties to AWS::ControlTower::EnabledControl.

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 = ['controlIdentifier', 'parameters', 'tags', 'targetIdentifier']

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

EnabledControlParameterProperty

class CfnEnabledControlPropsMixin.EnabledControlParameterProperty(*, key=None, value=None)

Bases: object

A set of parameters that configure the behavior of the enabled control.

Expressed as a key/value pair, where Key is of type String and Value is of type Document .

Parameters:
  • key (Optional[str]) – The key of a key/value pair. It is of type string .

  • value (Any) – The value of a key/value pair. It can be of type array , string , number , object , or boolean . [Note: The Type field that follows may show a single type such as Number, which is only one possible type.]

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-controltower-enabledcontrol-enabledcontrolparameter.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_controltower import mixins as controltower_mixins

# value: Any

enabled_control_parameter_property = controltower_mixins.CfnEnabledControlPropsMixin.EnabledControlParameterProperty(
    key="key",
    value=value
)

Attributes

key

The key of a key/value pair.

It is of type string .

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-controltower-enabledcontrol-enabledcontrolparameter.html#cfn-controltower-enabledcontrol-enabledcontrolparameter-key

value

The value of a key/value pair.

It can be of type array , string , number , object , or boolean . [Note: The Type field that follows may show a single type such as Number, which is only one possible type.]

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-controltower-enabledcontrol-enabledcontrolparameter.html#cfn-controltower-enabledcontrol-enabledcontrolparameter-value