Skip to content
v2.278.0

VehicleReference Struct ​

A reference to a Vehicle resource.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_iotfleetwise as interfaces_iotfleetwise } from 'aws-cdk-lib/interfaces';
const vehicleReference: interfaces_iotfleetwise.VehicleReference = {
  vehicleArn: 'vehicleArn',
  vehicleName: 'vehicleName',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.interfaces import aws_iotfleetwise as interfaces_iotfleetwise

vehicle_reference = interfaces_iotfleetwise.VehicleReference(
    vehicle_arn="vehicleArn",
    vehicle_name="vehicleName"
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.interfaces.iotfleetwise.*;

VehicleReference vehicleReference = VehicleReference.builder()
        .vehicleArn("vehicleArn")
        .vehicleName("vehicleName")
        .build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.Interfaces.IoTFleetWise;

var vehicleReference = new VehicleReference {
    VehicleArn = "vehicleArn",
    VehicleName = "vehicleName"
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

vehicleReference := &VehicleReference{
	VehicleArn: jsii.String("vehicleArn"),
	VehicleName: jsii.String("vehicleName"),
}

Properties ​

vehicleArnstringvehicle_arnstrvehicleArnStringVehicleArnstringVehicleArn*string required #
The ARN of the Vehicle resource.
vehicleNamestringvehicle_namestrvehicleNameStringVehicleNamestringVehicleName*string required #
The Name of the Vehicle resource.