CfnDecoderManifestProps Struct
Properties for defining a CfnDecoderManifest.
| Source | |
|---|---|
| Type last changed |
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',
}],
};
python
from aws_cdk import CfnTag
# 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
cfn_decoder_manifest_props = iotfleetwise.CfnDecoderManifestProps(
model_manifest_arn="modelManifestArn",
name="name",
# the properties below are optional
default_for_unmapped_signals="defaultForUnmappedSignals",
description="description",
network_interfaces=[iotfleetwise.CfnDecoderManifest.NetworkInterfacesItemsProperty(
interface_id="interfaceId",
type="type",
# the properties below are optional
can_interface=iotfleetwise.CfnDecoderManifest.CanInterfaceProperty(
name="name",
# the properties below are optional
protocol_name="protocolName",
protocol_version="protocolVersion"
),
obd_interface=iotfleetwise.CfnDecoderManifest.ObdInterfaceProperty(
name="name",
request_message_id="requestMessageId",
# the properties below are optional
dtc_request_interval_seconds="dtcRequestIntervalSeconds",
has_transmission_ecu="hasTransmissionEcu",
obd_standard="obdStandard",
pid_request_interval_seconds="pidRequestIntervalSeconds",
use_extended_ids="useExtendedIds"
)
)],
signal_decoders=[iotfleetwise.CfnDecoderManifest.SignalDecodersItemsProperty(
fully_qualified_name="fullyQualifiedName",
interface_id="interfaceId",
type="type",
# the properties below are optional
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"
),
obd_signal=iotfleetwise.CfnDecoderManifest.ObdSignalProperty(
byte_length="byteLength",
offset="offset",
pid="pid",
pid_response_length="pidResponseLength",
scaling="scaling",
service_mode="serviceMode",
start_byte="startByte",
# the properties below are optional
bit_mask_length="bitMaskLength",
bit_right_shift="bitRightShift",
is_signed="isSigned",
signal_value_type="signalValueType"
)
)],
status="status",
tags=[CfnTag(
key="key",
value="value"
)]
)
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.*;
CfnDecoderManifestProps cfnDecoderManifestProps = CfnDecoderManifestProps.builder()
.modelManifestArn("modelManifestArn")
.name("name")
// the properties below are optional
.defaultForUnmappedSignals("defaultForUnmappedSignals")
.description("description")
.networkInterfaces(List.of(NetworkInterfacesItemsProperty.builder()
.interfaceId("interfaceId")
.type("type")
// the properties below are optional
.canInterface(CanInterfaceProperty.builder()
.name("name")
// the properties below are optional
.protocolName("protocolName")
.protocolVersion("protocolVersion")
.build())
.obdInterface(ObdInterfaceProperty.builder()
.name("name")
.requestMessageId("requestMessageId")
// the properties below are optional
.dtcRequestIntervalSeconds("dtcRequestIntervalSeconds")
.hasTransmissionEcu("hasTransmissionEcu")
.obdStandard("obdStandard")
.pidRequestIntervalSeconds("pidRequestIntervalSeconds")
.useExtendedIds("useExtendedIds")
.build())
.build()))
.signalDecoders(List.of(SignalDecodersItemsProperty.builder()
.fullyQualifiedName("fullyQualifiedName")
.interfaceId("interfaceId")
.type("type")
// the properties below are optional
.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())
.obdSignal(ObdSignalProperty.builder()
.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")
.build())
.build()))
.status("status")
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.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 cfnDecoderManifestProps = new CfnDecoderManifestProps {
ModelManifestArn = "modelManifestArn",
Name = "name",
// the properties below are optional
DefaultForUnmappedSignals = "defaultForUnmappedSignals",
Description = "description",
NetworkInterfaces = new [] { new NetworkInterfacesItemsProperty {
InterfaceId = "interfaceId",
Type = "type",
// the properties below are optional
CanInterface = new CanInterfaceProperty {
Name = "name",
// the properties below are optional
ProtocolName = "protocolName",
ProtocolVersion = "protocolVersion"
},
ObdInterface = new ObdInterfaceProperty {
Name = "name",
RequestMessageId = "requestMessageId",
// the properties below are optional
DtcRequestIntervalSeconds = "dtcRequestIntervalSeconds",
HasTransmissionEcu = "hasTransmissionEcu",
ObdStandard = "obdStandard",
PidRequestIntervalSeconds = "pidRequestIntervalSeconds",
UseExtendedIds = "useExtendedIds"
}
} },
SignalDecoders = new [] { new SignalDecodersItemsProperty {
FullyQualifiedName = "fullyQualifiedName",
InterfaceId = "interfaceId",
Type = "type",
// the properties below are optional
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"
},
ObdSignal = new ObdSignalProperty {
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 = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
};
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"
cfnDecoderManifestProps := &CfnDecoderManifestProps{
ModelManifestArn: jsii.String("modelManifestArn"),
Name: jsii.String("name"),
// the properties below are optional
DefaultForUnmappedSignals: jsii.String("defaultForUnmappedSignals"),
Description: jsii.String("description"),
NetworkInterfaces: []interface{}{
&NetworkInterfacesItemsProperty{
InterfaceId: jsii.String("interfaceId"),
Type: jsii.String("type"),
// the properties below are optional
CanInterface: &CanInterfaceProperty{
Name: jsii.String("name"),
// the properties below are optional
ProtocolName: jsii.String("protocolName"),
ProtocolVersion: jsii.String("protocolVersion"),
},
ObdInterface: &ObdInterfaceProperty{
Name: jsii.String("name"),
RequestMessageId: jsii.String("requestMessageId"),
// the properties below are optional
DtcRequestIntervalSeconds: jsii.String("dtcRequestIntervalSeconds"),
HasTransmissionEcu: jsii.String("hasTransmissionEcu"),
ObdStandard: jsii.String("obdStandard"),
PidRequestIntervalSeconds: jsii.String("pidRequestIntervalSeconds"),
UseExtendedIds: jsii.String("useExtendedIds"),
},
},
},
SignalDecoders: []interface{}{
&SignalDecodersItemsProperty{
FullyQualifiedName: jsii.String("fullyQualifiedName"),
InterfaceId: jsii.String("interfaceId"),
Type: jsii.String("type"),
// the properties below are optional
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"),
},
ObdSignal: &ObdSignalProperty{
ByteLength: jsii.String("byteLength"),
Offset: jsii.String("offset"),
Pid: jsii.String("pid"),
PidResponseLength: jsii.String("pidResponseLength"),
Scaling: jsii.String("scaling"),
ServiceMode: jsii.String("serviceMode"),
StartByte: jsii.String("startByte"),
// the properties below are optional
BitMaskLength: jsii.String("bitMaskLength"),
BitRightShift: jsii.String("bitRightShift"),
IsSigned: jsii.String("isSigned"),
SignalValueType: jsii.String("signalValueType"),
},
},
},
Status: jsii.String("status"),
Tags: []CfnTag{
&CfnTag{
Key: jsii.String("key"),
Value: jsii.String("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*string required #The Amazon Resource Name (ARN) of a vehicle model (model manifest) associated with the decoder manifest.
The name of the decoder manifest.
networkInterfacesoptionalIResolvable | IResolvable | CfnDecoderManifest.network_interfacesoptionaltyping.Union[IResolvable, typing.List[typing.Union[IResolvable, NetworkInterfacesItemsProperty]]]networkInterfacesoptionalIResolvableNetworkInterfacesoptionalIResolvableNetworkInterfacesoptionalinterface{} #A list of information about available network interfaces.
signalDecodersoptionalIResolvable | IResolvable | CfnDecoderManifest.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.