Interface CfnVehicleProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnVehicleProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.119.0 (build 1634eac)",
date="2025-11-17T14:40:54.088Z")
@Stability(Stable)
public interface CfnVehicleProps
extends software.amazon.jsii.JsiiSerializable
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 software.amazon.awscdk.services.iotfleetwise.*;
Object onChange;
CfnVehicleProps cfnVehicleProps = CfnVehicleProps.builder()
.decoderManifestArn("decoderManifestArn")
.modelManifestArn("modelManifestArn")
.name("name")
// the properties below are optional
.associationBehavior("associationBehavior")
.attributes(Map.of(
"attributesKey", "attributes"))
.stateTemplates(List.of(StateTemplateAssociationProperty.builder()
.identifier("identifier")
.stateTemplateUpdateStrategy(StateTemplateUpdateStrategyProperty.builder()
.onChange(onChange)
.periodic(PeriodicStateTemplateUpdateStrategyProperty.builder()
.stateTemplateUpdateRate(TimePeriodProperty.builder()
.unit("unit")
.value(123)
.build())
.build())
.build())
.build()))
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnVehiclePropsstatic final classAn implementation forCfnVehicleProps -
Method Summary
Modifier and TypeMethodDescriptionstatic CfnVehicleProps.Builderbuilder()default StringAn option to create a new AWS IoT thing when creating a vehicle, or to validate an existing thing as a vehicle.default ObjectStatic information about a vehicle in a key-value pair.The Amazon Resource Name (ARN) of a decoder manifest associated with the vehicle to create.The Amazon Resource Name (ARN) of the vehicle model (model manifest) to create the vehicle from.getName()The unique ID of the vehicle.default ObjectAssociate state templates to track the state of the vehicle.getTags()Metadata which can be used to manage the vehicle.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getDecoderManifestArn
The Amazon Resource Name (ARN) of a decoder manifest associated with the vehicle to create.- See Also:
-
getModelManifestArn
The Amazon Resource Name (ARN) of the vehicle model (model manifest) to create the vehicle from.- See Also:
-
getName
The unique ID of the vehicle.- See Also:
-
getAssociationBehavior
An option to create a new AWS IoT thing when creating a vehicle, or to validate an existing thing as a vehicle.- See Also:
-
getAttributes
Static information about a vehicle in a key-value pair.For example:
"engine Type":"v6"Returns union: either Mapinvalid input: '<'String,
String> orIResolvable- See Also:
-
getStateTemplates
Associate state templates to track the state of the vehicle.State templates determine which signal updates the vehicle sends to the cloud.
Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnVehicle.StateTemplateAssociationProperty>- See Also:
-
getTags
Metadata which can be used to manage the vehicle.- See Also:
-
builder
- Returns:
- a
CfnVehicleProps.BuilderofCfnVehicleProps
-