Skip to content
v2.278.0

CanNetworkInterfaceProperty Struct ​

Represents a node and its specifications in an in-vehicle communication network.

All signal decoders must be associated with a network node.

To return this information about all the network interfaces specified in a decoder manifest, use the ListDecoderManifestNetworkInterfaces in the AWS IoT FleetWise API Reference .

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 canNetworkInterfaceProperty: iotfleetwise.CfnDecoderManifest.CanNetworkInterfaceProperty = {
  canInterface: {
    name: 'name',

    // the properties below are optional
    protocolName: 'protocolName',
    protocolVersion: 'protocolVersion',
  },
  interfaceId: 'interfaceId',
  type: 'type',
};
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_network_interface_property = iotfleetwise.CfnDecoderManifest.CanNetworkInterfaceProperty(
    can_interface=iotfleetwise.CfnDecoderManifest.CanInterfaceProperty(
        name="name",

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

CanNetworkInterfaceProperty canNetworkInterfaceProperty = CanNetworkInterfaceProperty.builder()
        .canInterface(CanInterfaceProperty.builder()
                .name("name")

                // the properties below are optional
                .protocolName("protocolName")
                .protocolVersion("protocolVersion")
                .build())
        .interfaceId("interfaceId")
        .type("type")
        .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 canNetworkInterfaceProperty = new CanNetworkInterfaceProperty {
    CanInterface = new CanInterfaceProperty {
        Name = "name",

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

canNetworkInterfaceProperty := &CanNetworkInterfaceProperty{
	CanInterface: &CanInterfaceProperty{
		Name: jsii.String("name"),

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

Properties ​

canInterfaceIResolvable | CfnDecoderManifest.CanInterfacePropertycan_interfacetyping.Union[IResolvable, CanInterfaceProperty]canInterfaceIResolvableCanInterfaceIResolvableCanInterfaceinterface{} required #
Information about a network interface specified by the Controller Area Network (CAN) protocol.
interfaceIdstringinterface_idstrinterfaceIdStringInterfaceIdstringInterfaceId*string required #
The ID of the network interface.
typestringtypestrtypeStringTypestringType*string required #
The network protocol for the vehicle.

For example, CAN_SIGNAL specifies a protocol that defines how data is communicated between electronic control units (ECUs). OBD_SIGNAL specifies a protocol that defines how self-diagnostic data is communicated between ECUs.