CfnStateTemplatePropsMixin
- class aws_cdk.cfn_property_mixins.aws_iotfleetwise.CfnStateTemplatePropsMixin(props, *, strategy=None)
Bases:
MixinCreates a mechanism for vehicle owners to track the state of their vehicles.
State templates determine which signal updates the vehicle sends to the cloud.
For more information, see State templates in the AWS IoT FleetWise Developer Guide . .. epigraph:
Access to certain AWS IoT FleetWise features is currently gated. For more information, see `AWS Region and feature availability <https://docs.aws.amazon.com/iot-fleetwise/latest/developerguide/fleetwise-regions.html>`_ in the *AWS IoT FleetWise Developer Guide* .
- See:
- CloudformationResource:
AWS::IoTFleetWise::StateTemplate
- 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.cfn_property_mixins import aws_iotfleetwise as iotfleetwise import aws_cdk as cdk # merge_strategy: cdk.IMergeStrategy cfn_state_template_props_mixin = iotfleetwise.CfnStateTemplatePropsMixin(iotfleetwise.CfnStateTemplateMixinProps( data_extra_dimensions=["dataExtraDimensions"], description="description", metadata_extra_dimensions=["metadataExtraDimensions"], name="name", signal_catalog_arn="signalCatalogArn", state_template_properties=["stateTemplateProperties"], tags=[cdk.CfnTag( key="key", value="value" )] ), strategy=merge_strategy )
Create a mixin to apply properties to
AWS::IoTFleetWise::StateTemplate.- Parameters:
props (
Union[CfnStateTemplateMixinProps,Dict[str,Any]]) – L1 properties to apply.strategy (
Optional[IMergeStrategy]) – Strategy for merging nested properties. Default: - PropertyMergeStrategy.combine()
Methods
- apply_to(construct)
Apply the mixin properties to the construct.
- Parameters:
construct (
IConstruct)- Return type:
None
- supports(construct)
Check if this mixin supports the given construct.
- Parameters:
construct (
IConstruct)- Return type:
bool
Attributes
- CFN_PROPERTY_KEYS = ['dataExtraDimensions', 'description', 'metadataExtraDimensions', 'name', 'signalCatalogArn', 'stateTemplateProperties', 'tags']
Static Methods
- classmethod is_mixin(x)
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.