interface CfnVehicleMixinProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.IoTFleetWise.Mixins.CfnVehicleMixinProps |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsiotfleetwise/mixins#CfnVehicleMixinProps |
Java | software.amazon.awscdk.mixins.preview.services.iotfleetwise.mixins.CfnVehicleMixinProps |
Python | aws_cdk.mixins_preview.aws_iotfleetwise.mixins.CfnVehicleMixinProps |
TypeScript | @aws-cdk/mixins-preview » aws_iotfleetwise » mixins » CfnVehicleMixinProps |
Properties for CfnVehiclePropsMixin.
See also: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotfleetwise-vehicle.html
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { mixins as iotfleetwise_mixins } from '@aws-cdk/mixins-preview/aws-iotfleetwise';
declare const onChange: any;
const cfnVehicleMixinProps: iotfleetwise_mixins.CfnVehicleMixinProps = {
associationBehavior: 'associationBehavior',
attributes: {
attributesKey: 'attributes',
},
decoderManifestArn: 'decoderManifestArn',
modelManifestArn: 'modelManifestArn',
name: 'name',
stateTemplates: [{
identifier: 'identifier',
stateTemplateUpdateStrategy: {
onChange: onChange,
periodic: {
stateTemplateUpdateRate: {
unit: 'unit',
value: 123,
},
},
},
}],
tags: [{
key: 'key',
value: 'value',
}],
};
Properties
| Name | Type | Description |
|---|---|---|
| association | string | An option to create a new AWS IoT thing when creating a vehicle, or to validate an existing thing as a vehicle. |
| attributes? | { [string]: string } | IResolvable | Static information about a vehicle in a key-value pair. |
| 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. |
| state | IResolvable | (IResolvable | State)[] | Associate state templates to track the state of the vehicle. |
| tags? | Cfn[] | Metadata which can be used to manage the vehicle. |
associationBehavior?
Type:
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?
Type:
{ [string]: string } | IResolvable
(optional)
Static information about a vehicle in a key-value pair.
For example: "engine Type" : "v6"
decoderManifestArn?
Type:
string
(optional)
The Amazon Resource Name (ARN) of a decoder manifest associated with the vehicle to create.
modelManifestArn?
Type:
string
(optional)
The Amazon Resource Name (ARN) of the vehicle model (model manifest) to create the vehicle from.
name?
Type:
string
(optional)
The unique ID of the vehicle.
stateTemplates?
Type:
IResolvable | (IResolvable | State)[]
(optional)
Associate state templates to track the state of the vehicle.
State templates determine which signal updates the vehicle sends to the cloud.
tags?
Type:
Cfn[]
(optional)
Metadata which can be used to manage the vehicle.

.NET
Go
Java
Python
TypeScript