# ObdInterfaceProperty

A network interface that specifies the On-board diagnostic (OBD) II network protocol.

- 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 obdInterfaceProperty: iotfleetwise.CfnDecoderManifest.ObdInterfaceProperty = {
  name: 'name',
  requestMessageId: 'requestMessageId',

  // the properties below are optional
  dtcRequestIntervalSeconds: 'dtcRequestIntervalSeconds',
  hasTransmissionEcu: 'hasTransmissionEcu',
  obdStandard: 'obdStandard',
  pidRequestIntervalSeconds: 'pidRequestIntervalSeconds',
  useExtendedIds: 'useExtendedIds',
};
```

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_interface_property = 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"
)
```

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

ObdInterfaceProperty obdInterfaceProperty = ObdInterfaceProperty.builder()
        .name("name")
        .requestMessageId("requestMessageId")

        // the properties below are optional
        .dtcRequestIntervalSeconds("dtcRequestIntervalSeconds")
        .hasTransmissionEcu("hasTransmissionEcu")
        .obdStandard("obdStandard")
        .pidRequestIntervalSeconds("pidRequestIntervalSeconds")
        .useExtendedIds("useExtendedIds")
        .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 obdInterfaceProperty = new ObdInterfaceProperty {
    Name = "name",
    RequestMessageId = "requestMessageId",

    // the properties below are optional
    DtcRequestIntervalSeconds = "dtcRequestIntervalSeconds",
    HasTransmissionEcu = "hasTransmissionEcu",
    ObdStandard = "obdStandard",
    PidRequestIntervalSeconds = "pidRequestIntervalSeconds",
    UseExtendedIds = "useExtendedIds"
};
```

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"

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

## Properties

- `dtcRequestIntervalSeconds`: string — The maximum number message requests per diagnostic trouble code per second.

- `hasTransmissionEcu`: string — Whether the vehicle has a transmission control module (TCM).

- `name`: string (required) — The name of the interface.

- `obdStandard`: string — The standard OBD II PID.

- `pidRequestIntervalSeconds`: string — The maximum number message requests per second.

- `requestMessageId`: string (required) — The ID of the message requesting vehicle data.

- `useExtendedIds`: string — Whether to use extended IDs in the message.
