interface CfnVehicleProps
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.IoTFleetWise.CfnVehicleProps |
![]() | software.amazon.awscdk.services.iotfleetwise.CfnVehicleProps |
![]() | aws_cdk.aws_iotfleetwise.CfnVehicleProps |
![]() | @aws-cdk/aws-iotfleetwise » CfnVehicleProps |
Properties for defining a CfnVehicle
.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as iotfleetwise from '@aws-cdk/aws-iotfleetwise';
const cfnVehicleProps: iotfleetwise.CfnVehicleProps = {
decoderManifestArn: 'decoderManifestArn',
modelManifestArn: 'modelManifestArn',
name: 'name',
// the properties below are optional
associationBehavior: 'associationBehavior',
attributes: {
attributesKey: 'attributes',
},
tags: [{
key: 'key',
value: 'value',
}],
};
Properties
Name | Type | Description |
---|---|---|
decoder | string | The Amazon Resource Name (ARN) of a decoder manifest associated with the vehicle to create. |
model | string | The Amazon Resource Name (ARN) of the vehicle model (model manifest) to create the vehicle from. |
name | string | The unique ID of the vehicle. |
association | string | (Optional) An option to create a new AWS IoT thing when creating a vehicle, or to validate an existing thing as a vehicle. |
attributes? | IResolvable | { [string]: string } | (Optional) Static information about a vehicle in a key-value pair. |
tags? | Cfn [] | (Optional) Metadata which can be used to manage the vehicle. |
decoderManifestArn
Type:
string
The Amazon Resource Name (ARN) of a decoder manifest associated with the vehicle to create.
modelManifestArn
Type:
string
The Amazon Resource Name (ARN) of the vehicle model (model manifest) to create the vehicle from.
name
Type:
string
The unique ID of the vehicle.
associationBehavior?
Type:
string
(optional)
(Optional) An option to create a new AWS IoT thing when creating a vehicle, or to validate an existing thing as a vehicle.
attributes?
Type:
IResolvable
| { [string]: string }
(optional)
(Optional) Static information about a vehicle in a key-value pair.
For example: "engine Type"
: "v6"
tags?
Type:
Cfn
[]
(optional)
(Optional) Metadata which can be used to manage the vehicle.