CfnCommandPropsMixin
- class aws_cdk.mixins_preview.aws_iot.mixins.CfnCommandPropsMixin(props, *, strategy=None)
Bases:
MixinRepresents the resource definition of AWS IoT Command.
- See:
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-command.html
- CloudformationResource:
AWS::IoT::Command
- 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_iot import mixins as iot_mixins cfn_command_props_mixin = iot_mixins.CfnCommandPropsMixin(iot_mixins.CfnCommandMixinProps( command_id="commandId", created_at="createdAt", deprecated=False, description="description", display_name="displayName", last_updated_at="lastUpdatedAt", mandatory_parameters=[iot_mixins.CfnCommandPropsMixin.CommandParameterProperty( default_value=iot_mixins.CfnCommandPropsMixin.CommandParameterValueProperty( b=False, bin="bin", d=123, i=123, l="l", s="s", ul="ul" ), description="description", name="name", value=iot_mixins.CfnCommandPropsMixin.CommandParameterValueProperty( b=False, bin="bin", d=123, i=123, l="l", s="s", ul="ul" ) )], namespace="namespace", payload=iot_mixins.CfnCommandPropsMixin.CommandPayloadProperty( content="content", content_type="contentType" ), pending_deletion=False, role_arn="roleArn", tags=[CfnTag( key="key", value="value" )] ), strategy=mixins.PropertyMergeStrategy.OVERRIDE )
Create a mixin to apply properties to
AWS::IoT::Command.- Parameters:
props (
Union[CfnCommandMixinProps,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 = ['commandId', 'createdAt', 'deprecated', 'description', 'displayName', 'lastUpdatedAt', 'mandatoryParameters', 'namespace', 'payload', 'pendingDeletion', 'roleArn', 'tags']
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
CommandParameterProperty
- class CfnCommandPropsMixin.CommandParameterProperty(*, default_value=None, description=None, name=None, value=None)
Bases:
object- Parameters:
default_value (
Union[IResolvable,CommandParameterValueProperty,Dict[str,Any],None])description (
Optional[str])name (
Optional[str])value (
Union[IResolvable,CommandParameterValueProperty,Dict[str,Any],None])
- 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_iot import mixins as iot_mixins command_parameter_property = iot_mixins.CfnCommandPropsMixin.CommandParameterProperty( default_value=iot_mixins.CfnCommandPropsMixin.CommandParameterValueProperty( b=False, bin="bin", d=123, i=123, l="l", s="s", ul="ul" ), description="description", name="name", value=iot_mixins.CfnCommandPropsMixin.CommandParameterValueProperty( b=False, bin="bin", d=123, i=123, l="l", s="s", ul="ul" ) )
Attributes
- default_value
-
- Type:
see
- description
-
- Type:
see
- name
-
- Type:
see
CommandParameterValueProperty
- class CfnCommandPropsMixin.CommandParameterValueProperty(*, b=None, bin=None, d=None, i=None, l=None, s=None, ul=None)
Bases:
object- Parameters:
b (
Union[bool,IResolvable,None])bin (
Optional[str])d (
Union[int,float,None])i (
Union[int,float,None])l (
Optional[str])s (
Optional[str])ul (
Optional[str])
- 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_iot import mixins as iot_mixins command_parameter_value_property = iot_mixins.CfnCommandPropsMixin.CommandParameterValueProperty( b=False, bin="bin", d=123, i=123, l="l", s="s", ul="ul" )
Attributes
- b
-
- Type:
see
- bin
-
- Type:
see
- d
-
- Type:
see
- i
-
- Type:
see
- l
-
- Type:
see
- s
-
- Type:
see
CommandPayloadProperty
- class CfnCommandPropsMixin.CommandPayloadProperty(*, content=None, content_type=None)
Bases:
object- Parameters:
content (
Optional[str])content_type (
Optional[str])
- 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_iot import mixins as iot_mixins command_payload_property = iot_mixins.CfnCommandPropsMixin.CommandPayloadProperty( content="content", content_type="contentType" )
Attributes
- content
-
- Type:
see