CfnEnabledControlPropsMixin
- class aws_cdk.mixins_preview.aws_controltower.mixins.CfnEnabledControlPropsMixin(props, *, strategy=None)
Bases:
MixinThe 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:
- 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:
props (
Union[CfnEnabledControlMixinProps,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 = ['controlIdentifier', 'parameters', 'tags', 'targetIdentifier']
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
EnabledControlParameterProperty
- class CfnEnabledControlPropsMixin.EnabledControlParameterProperty(*, key=None, value=None)
Bases:
objectA set of parameters that configure the behavior of the enabled control.
Expressed as a key/value pair, where
Keyis of typeStringandValueis of typeDocument.- Parameters:
key (
Optional[str]) – The key of a key/value pair. It is of typestring.value (
Any) – The value of a key/value pair. It can be of typearray,string,number,object, orboolean. [Note: The Type field that follows may show a single type such as Number, which is only one possible type.]
- 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_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.
- value
The value of a key/value pair.
It can be of type
array,string,number,object, orboolean. [Note: The Type field that follows may show a single type such as Number, which is only one possible type.]