Class CfnVehicle
Creates a vehicle, which is an instance of a vehicle model (model manifest).
Inherited Members
Namespace: Amazon.CDK.AWS.IoTFleetWise
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnVehicle : CfnResource, IInspectable, ITaggable
Syntax (vb)
Public Class CfnVehicle
Inherits CfnResource
Implements IInspectable, ITaggable
Remarks
Vehicles created from the same vehicle model consist of the same signals inherited from the vehicle model.
If you have an existing AWS IoT thing, you can use AWS IoT FleetWise to create a vehicle and collect data from your thing.
For more information, see Create a vehicle (console) in the AWS IoT FleetWise Developer Guide .
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotfleetwise-vehicle.html
CloudformationResource: AWS::IoTFleetWise::Vehicle
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.IoTFleetWise;
var cfnVehicle = new CfnVehicle(this, "MyCfnVehicle", new CfnVehicleProps {
DecoderManifestArn = "decoderManifestArn",
ModelManifestArn = "modelManifestArn",
Name = "name",
// the properties below are optional
AssociationBehavior = "associationBehavior",
Attributes = new Dictionary<string, string> {
{ "attributesKey", "attributes" }
},
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
});
Synopsis
Constructors
CfnVehicle(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
CfnVehicle(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
CfnVehicle(Construct, String, ICfnVehicleProps) |
Properties
AssociationBehavior | (Optional) An option to create a new AWS IoT thing when creating a vehicle, or to validate an existing thing as a vehicle. |
AttrArn | The Amazon Resource Name (ARN) of the vehicle. |
AttrCreationTime | The time the vehicle was created in seconds since epoch (January 1, 1970 at midnight UTC time). |
Attributes | (Optional) Static information about a vehicle in a key-value pair. |
AttrLastModificationTime | The time the vehicle was last updated in seconds since epoch (January 1, 1970 at midnight UTC time). |
CFN_RESOURCE_TYPE_NAME | The CloudFormation resource type name for this resource class. |
CfnProperties | |
DecoderManifestArn | The Amazon Resource Name (ARN) of a decoder manifest associated with the vehicle to create. |
ModelManifestArn | The Amazon Resource Name (ARN) of the vehicle model (model manifest) to create the vehicle from. |
Name | The unique ID of the vehicle. |
Tags | Tag Manager which manages the tags for this resource. |
TagsRaw | (Optional) Metadata which can be used to manage the vehicle. |
Methods
Inspect(TreeInspector) | Examines the CloudFormation resource and discloses attributes. |
RenderProperties(IDictionary<String, Object>) |
Constructors
CfnVehicle(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected CfnVehicle(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
CfnVehicle(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected CfnVehicle(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
CfnVehicle(Construct, String, ICfnVehicleProps)
public CfnVehicle(Construct scope, string id, ICfnVehicleProps props)
Parameters
- scope Constructs.Construct
Scope in which this resource is defined.
- id System.String
Construct identifier for this resource (unique in its scope).
- props ICfnVehicleProps
Resource properties.
Properties
AssociationBehavior
(Optional) An option to create a new AWS IoT thing when creating a vehicle, or to validate an existing thing as a vehicle.
public virtual string AssociationBehavior { get; set; }
Property Value
System.String
AttrArn
The Amazon Resource Name (ARN) of the vehicle.
public virtual string AttrArn { get; }
Property Value
System.String
Remarks
CloudformationAttribute: Arn
AttrCreationTime
The time the vehicle was created in seconds since epoch (January 1, 1970 at midnight UTC time).
public virtual string AttrCreationTime { get; }
Property Value
System.String
Remarks
CloudformationAttribute: CreationTime
Attributes
(Optional) Static information about a vehicle in a key-value pair.
public virtual object Attributes { get; set; }
Property Value
System.Object
AttrLastModificationTime
The time the vehicle was last updated in seconds since epoch (January 1, 1970 at midnight UTC time).
public virtual string AttrLastModificationTime { get; }
Property Value
System.String
Remarks
CloudformationAttribute: LastModificationTime
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
public static string CFN_RESOURCE_TYPE_NAME { get; }
Property Value
System.String
CfnProperties
protected override IDictionary<string, object> CfnProperties { get; }
Property Value
System.Collections.Generic.IDictionary<System.String, System.Object>
Overrides
DecoderManifestArn
The Amazon Resource Name (ARN) of a decoder manifest associated with the vehicle to create.
public virtual string DecoderManifestArn { get; set; }
Property Value
System.String
ModelManifestArn
The Amazon Resource Name (ARN) of the vehicle model (model manifest) to create the vehicle from.
public virtual string ModelManifestArn { get; set; }
Property Value
System.String
Name
The unique ID of the vehicle.
public virtual string Name { get; set; }
Property Value
System.String
Tags
Tag Manager which manages the tags for this resource.
public virtual TagManager Tags { get; }
Property Value
TagsRaw
(Optional) Metadata which can be used to manage the vehicle.
public virtual ICfnTag[] TagsRaw { get; set; }
Property Value
ICfnTag[]
Methods
Inspect(TreeInspector)
Examines the CloudFormation resource and discloses attributes.
public virtual void Inspect(TreeInspector inspector)
Parameters
- inspector TreeInspector
tree inspector to collect and process attributes.
RenderProperties(IDictionary<String, Object>)
protected override IDictionary<string, object> RenderProperties(IDictionary<string, object> props)
Parameters
- props System.Collections.Generic.IDictionary<System.String, System.Object>
Returns
System.Collections.Generic.IDictionary<System.String, System.Object>