CfnVehicleProps
- class aws_cdk.aws_iotfleetwise.CfnVehicleProps(*, decoder_manifest_arn, model_manifest_arn, name, association_behavior=None, attributes=None, state_templates=None, tags=None)
Bases:
object
Properties for defining a
CfnVehicle
.- Parameters:
decoder_manifest_arn (
str
) – The Amazon Resource Name (ARN) of a decoder manifest associated with the vehicle to create.model_manifest_arn (
str
) – The Amazon Resource Name (ARN) of the vehicle model (model manifest) to create the vehicle from.name (
str
) – The unique ID of the vehicle.association_behavior (
Optional
[str
]) – An option to create a new AWS IoT thing when creating a vehicle, or to validate an existing thing as a vehicle.attributes (
Union
[Mapping
[str
,str
],IResolvable
,None
]) – Static information about a vehicle in a key-value pair. For example:"engine Type"
:"v6"
state_templates (
Union
[IResolvable
,Sequence
[Union
[IResolvable
,StateTemplateAssociationProperty
,Dict
[str
,Any
]]],None
]) – Associate state templates to track the state of the vehicle. State templates determine which signal updates the vehicle sends to the cloud.tags (
Optional
[Sequence
[Union
[CfnTag
,Dict
[str
,Any
]]]]) – Metadata which can be used to manage the vehicle.
- See:
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotfleetwise-vehicle.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 import aws_iotfleetwise as iotfleetwise # on_change: Any cfn_vehicle_props = iotfleetwise.CfnVehicleProps( decoder_manifest_arn="decoderManifestArn", model_manifest_arn="modelManifestArn", name="name", # the properties below are optional association_behavior="associationBehavior", attributes={ "attributes_key": "attributes" }, state_templates=[iotfleetwise.CfnVehicle.StateTemplateAssociationProperty( identifier="identifier", state_template_update_strategy=iotfleetwise.CfnVehicle.StateTemplateUpdateStrategyProperty( on_change=on_change, periodic=iotfleetwise.CfnVehicle.PeriodicStateTemplateUpdateStrategyProperty( state_template_update_rate=iotfleetwise.CfnVehicle.TimePeriodProperty( unit="unit", value=123 ) ) ) )], tags=[CfnTag( key="key", value="value" )] )
Attributes
- association_behavior
An option to create a new AWS IoT thing when creating a vehicle, or to validate an existing thing as a vehicle.
- attributes
Static information about a vehicle in a key-value pair.
For example:
"engine Type"
:"v6"
- decoder_manifest_arn
The Amazon Resource Name (ARN) of a decoder manifest associated with the vehicle to create.
- model_manifest_arn
The Amazon Resource Name (ARN) of the vehicle model (model manifest) to create the vehicle from.
- name
The unique ID of the vehicle.
- state_templates
Associate state templates to track the state of the vehicle.
State templates determine which signal updates the vehicle sends to the cloud.
- tags
Metadata which can be used to manage the vehicle.