Skip to content
v2.275.0

CfnDecoderManifestProps Struct ​

Properties for defining a CfnDecoderManifest.

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 cfnDecoderManifestProps: iotfleetwise.CfnDecoderManifestProps = {
  modelManifestArn: 'modelManifestArn',
  name: 'name',

  // the properties below are optional
  defaultForUnmappedSignals: 'defaultForUnmappedSignals',
  description: 'description',
  networkInterfaces: [{
    interfaceId: 'interfaceId',
    type: 'type',

    // the properties below are optional
    canInterface: {
      name: 'name',

      // the properties below are optional
      protocolName: 'protocolName',
      protocolVersion: 'protocolVersion',
    },
    obdInterface: {
      name: 'name',
      requestMessageId: 'requestMessageId',

      // the properties below are optional
      dtcRequestIntervalSeconds: 'dtcRequestIntervalSeconds',
      hasTransmissionEcu: 'hasTransmissionEcu',
      obdStandard: 'obdStandard',
      pidRequestIntervalSeconds: 'pidRequestIntervalSeconds',
      useExtendedIds: 'useExtendedIds',
    },
  }],
  signalDecoders: [{
    fullyQualifiedName: 'fullyQualifiedName',
    interfaceId: 'interfaceId',
    type: 'type',

    // the properties below are optional
    canSignal: {
      factor: 'factor',
      isBigEndian: 'isBigEndian',
      isSigned: 'isSigned',
      length: 'length',
      messageId: 'messageId',
      offset: 'offset',
      startBit: 'startBit',

      // the properties below are optional
      name: 'name',
      signalValueType: 'signalValueType',
    },
    obdSignal: {
      byteLength: 'byteLength',
      offset: 'offset',
      pid: 'pid',
      pidResponseLength: 'pidResponseLength',
      scaling: 'scaling',
      serviceMode: 'serviceMode',
      startByte: 'startByte',

      // the properties below are optional
      bitMaskLength: 'bitMaskLength',
      bitRightShift: 'bitRightShift',
      isSigned: 'isSigned',
      signalValueType: 'signalValueType',
    },
  }],
  status: 'status',
  tags: [{
    key: 'key',
    value: 'value',
  }],
};

Properties ​

defaultForUnmappedSignalsoptionalstringdefault_for_unmapped_signalsoptionalstrdefaultForUnmappedSignalsoptionalStringDefaultForUnmappedSignalsoptionalstringDefaultForUnmappedSignalsoptional*string#
Use default decoders for all unmapped signals in the model.

You don't need to provide any detailed decoding information.

descriptionoptionalstringdescriptionoptionalstrdescriptionoptionalStringDescriptionoptionalstringDescriptionoptional*string#
A brief description of the decoder manifest.
modelManifestArnstringmodel_manifest_arnstrmodelManifestArnStringModelManifestArnstringModelManifestArn*stringrequired#
The Amazon Resource Name (ARN) of a vehicle model (model manifest) associated with the decoder manifest.
namestringnamestrnameStringNamestringName*stringrequired#
The name of the decoder manifest.
networkInterfacesoptionalIResolvable | IResolvable | CfnDecoderManifest.NetworkInterfacesItemsProperty[]network_interfacesoptionaltyping.Union[IResolvable, typing.List[typing.Union[IResolvable, NetworkInterfacesItemsProperty]]]networkInterfacesoptionalIResolvableNetworkInterfacesoptionalIResolvableNetworkInterfacesoptionalinterface{}#
A list of information about available network interfaces.
signalDecodersoptionalIResolvable | IResolvable | CfnDecoderManifest.SignalDecodersItemsProperty[]signal_decodersoptionaltyping.Union[IResolvable, typing.List[typing.Union[IResolvable, SignalDecodersItemsProperty]]]signalDecodersoptionalIResolvableSignalDecodersoptionalIResolvableSignalDecodersoptionalinterface{}#
A list of information about signal decoders.
statusoptionalstringstatusoptionalstrstatusoptionalStringStatusoptionalstringStatusoptional*string= "DRAFT"#
The state of the decoder manifest.

If the status is ACTIVE , the decoder manifest can't be edited. If the status is marked DRAFT , you can edit the decoder manifest.

tagsoptionalCfnTag[]tagsoptionaltyping.List[CfnTag]tagsoptionalList<CfnTag>TagsoptionalCfnTag[]Tagsoptional*[]CfnTag#
Metadata that can be used to manage the decoder manifest.