Skip to content
v2.278.0

CanInterfaceProperty Struct ​

A single controller area network (CAN) device interface.

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 iotfleetwise } from 'aws-cdk-lib';
const canInterfaceProperty: iotfleetwise.CfnDecoderManifest.CanInterfaceProperty = {
  name: 'name',

  // the properties below are optional
  protocolName: 'protocolName',
  protocolVersion: 'protocolVersion',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_iotfleetwise as iotfleetwise

can_interface_property = iotfleetwise.CfnDecoderManifest.CanInterfaceProperty(
    name="name",

    # the properties below are optional
    protocol_name="protocolName",
    protocol_version="protocolVersion"
)
java
// 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.*;

CanInterfaceProperty canInterfaceProperty = CanInterfaceProperty.builder()
        .name("name")

        // the properties below are optional
        .protocolName("protocolName")
        .protocolVersion("protocolVersion")
        .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.AWS.IoTFleetWise;

var canInterfaceProperty = new CanInterfaceProperty {
    Name = "name",

    // the properties below are optional
    ProtocolName = "protocolName",
    ProtocolVersion = "protocolVersion"
};
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"

canInterfaceProperty := &CanInterfaceProperty{
	Name: jsii.String("name"),

	// the properties below are optional
	ProtocolName: jsii.String("protocolName"),
	ProtocolVersion: jsii.String("protocolVersion"),
}

Properties ​

namestringnamestrnameStringNamestringName*string required #
The unique name of the interface.
protocolNameoptionalstringprotocol_nameoptionalstrprotocolNameoptionalStringProtocolNameoptionalstringProtocolNameoptional*string #
The name of the communication protocol for the interface.
protocolVersionoptionalstringprotocol_versionoptionalstrprotocolVersionoptionalStringProtocolVersionoptionalstringProtocolVersionoptional*string #
The version of the communication protocol for the interface.