# ObdSignalDecoderProperty

A list of information about signal decoders.

- Source: Generated at build time
- Type last changed: v2.93.0 · 23 Aug 2023

## Example

TypeScript:

```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 obdSignalDecoderProperty: iotfleetwise.CfnDecoderManifest.ObdSignalDecoderProperty = {
  fullyQualifiedName: 'fullyQualifiedName',
  interfaceId: 'interfaceId',
  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',
  },
  type: 'type',
};
```

Python:

```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

obd_signal_decoder_property = iotfleetwise.CfnDecoderManifest.ObdSignalDecoderProperty(
    fully_qualified_name="fullyQualifiedName",
    interface_id="interfaceId",
    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"
    ),
    type="type"
)
```

Java:

```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.*;

ObdSignalDecoderProperty obdSignalDecoderProperty = ObdSignalDecoderProperty.builder()
        .fullyQualifiedName("fullyQualifiedName")
        .interfaceId("interfaceId")
        .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())
        .type("type")
        .build();
```

C# / .NET:

```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 obdSignalDecoderProperty = new ObdSignalDecoderProperty {
    FullyQualifiedName = "fullyQualifiedName",
    InterfaceId = "interfaceId",
    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"
    },
    Type = "type"
};
```

Golang:

```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"

obdSignalDecoderProperty := &ObdSignalDecoderProperty{
	FullyQualifiedName: jsii.String("fullyQualifiedName"),
	InterfaceId: jsii.String("interfaceId"),
	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"),
	},
	Type: jsii.String("type"),
}
```

## Properties

- `fullyQualifiedName`: string (required) — The fully qualified name of a signal decoder as defined in a vehicle model.

- `interfaceId`: string (required) — The ID of a network interface that specifies what network protocol a vehicle follows.

- `obdSignal`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnDecoderManifest.ObdSignalProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_iotfleetwise.CfnDecoderManifest.ObdSignalProperty.html) (required) — Information about signal messages using the on-board diagnostics (OBD) II protocol in a vehicle.

- `type`: 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.
