Skip to content
v2.278.0

CanSignalDecoderProperty Struct ​

Information about signal decoder using the Controller Area Network (CAN) protocol.

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 canSignalDecoderProperty: iotfleetwise.CfnDecoderManifest.CanSignalDecoderProperty = {
  canSignal: {
    factor: 'factor',
    isBigEndian: 'isBigEndian',
    isSigned: 'isSigned',
    length: 'length',
    messageId: 'messageId',
    offset: 'offset',
    startBit: 'startBit',

    // the properties below are optional
    name: 'name',
    signalValueType: 'signalValueType',
  },
  fullyQualifiedName: 'fullyQualifiedName',
  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_signal_decoder_property = iotfleetwise.CfnDecoderManifest.CanSignalDecoderProperty(
    can_signal=iotfleetwise.CfnDecoderManifest.CanSignalProperty(
        factor="factor",
        is_big_endian="isBigEndian",
        is_signed="isSigned",
        length="length",
        message_id="messageId",
        offset="offset",
        start_bit="startBit",

        # the properties below are optional
        name="name",
        signal_value_type="signalValueType"
    ),
    fully_qualified_name="fullyQualifiedName",
    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.*;

CanSignalDecoderProperty canSignalDecoderProperty = CanSignalDecoderProperty.builder()
        .canSignal(CanSignalProperty.builder()
                .factor("factor")
                .isBigEndian("isBigEndian")
                .isSigned("isSigned")
                .length("length")
                .messageId("messageId")
                .offset("offset")
                .startBit("startBit")

                // the properties below are optional
                .name("name")
                .signalValueType("signalValueType")
                .build())
        .fullyQualifiedName("fullyQualifiedName")
        .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 canSignalDecoderProperty = new CanSignalDecoderProperty {
    CanSignal = new CanSignalProperty {
        Factor = "factor",
        IsBigEndian = "isBigEndian",
        IsSigned = "isSigned",
        Length = "length",
        MessageId = "messageId",
        Offset = "offset",
        StartBit = "startBit",

        // the properties below are optional
        Name = "name",
        SignalValueType = "signalValueType"
    },
    FullyQualifiedName = "fullyQualifiedName",
    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"

canSignalDecoderProperty := &CanSignalDecoderProperty{
	CanSignal: &CanSignalProperty{
		Factor: jsii.String("factor"),
		IsBigEndian: jsii.String("isBigEndian"),
		IsSigned: jsii.String("isSigned"),
		Length: jsii.String("length"),
		MessageId: jsii.String("messageId"),
		Offset: jsii.String("offset"),
		StartBit: jsii.String("startBit"),

		// the properties below are optional
		Name: jsii.String("name"),
		SignalValueType: jsii.String("signalValueType"),
	},
	FullyQualifiedName: jsii.String("fullyQualifiedName"),
	InterfaceId: jsii.String("interfaceId"),
	Type: jsii.String("type"),
}

Properties ​

canSignalIResolvable | CfnDecoderManifest.CanSignalPropertycan_signaltyping.Union[IResolvable, CanSignalProperty]canSignalIResolvableCanSignalIResolvableCanSignalinterface{} required #
Information about a single controller area network (CAN) signal and the messages it receives and transmits.
fullyQualifiedNamestringfully_qualified_namestrfullyQualifiedNameStringFullyQualifiedNamestringFullyQualifiedName*string required #
The fully qualified name of a signal decoder as defined in a vehicle model.
interfaceIdstringinterface_idstrinterfaceIdStringInterfaceIdstringInterfaceId*string required #
The ID of a network interface that specifies what network protocol a vehicle follows.
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.