Skip to content
v2.278.0

CanSignalProperty Struct ​

Information about a single controller area network (CAN) signal and the messages it receives and transmits.

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

  // the properties below are optional
  name: 'name',
  signalValueType: 'signalValueType',
};
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_property = 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"
)
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.*;

CanSignalProperty canSignalProperty = 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();
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 canSignalProperty = 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"
};
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"

canSignalProperty := &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"),
}

Properties ​

factorstringfactorstrfactorStringFactorstringFactor*string required #
A multiplier used to decode the CAN message.
isBigEndianstringis_big_endianstrisBigEndianStringIsBigEndianstringIsBigEndian*string required #
Whether the byte ordering of a CAN message is big-endian.
isSignedstringis_signedstrisSignedStringIsSignedstringIsSigned*string required #
Whether the message data is specified as a signed value.
lengthstringlengthstrlengthStringLengthstringLength*string required #
How many bytes of data are in the message.
messageIdstringmessage_idstrmessageIdStringMessageIdstringMessageId*string required #
The ID of the message.
nameoptionalstringnameoptionalstrnameoptionalStringNameoptionalstringNameoptional*string #
The name of the signal.
offsetstringoffsetstroffsetStringOffsetstringOffset*string required #
The offset used to calculate the signal value.

Combined with factor, the calculation is value = raw_value * factor + offset .

signalValueTypeoptionalstringsignal_value_typeoptionalstrsignalValueTypeoptionalStringSignalValueTypeoptionalstringSignalValueTypeoptional*string #
The value type of the signal.

The default value is INTEGER .

startBitstringstart_bitstrstartBitStringStartBitstringStartBit*string required #
Indicates the beginning of the CAN message.