# CanInterfaceProperty

A single controller area network (CAN) device interface.

- 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 canInterfaceProperty: iotfleetwise.CfnDecoderManifest.CanInterfaceProperty = {
  name: 'name',

  // the properties below are optional
  protocolName: 'protocolName',
  protocolVersion: 'protocolVersion',
};
```

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

can_interface_property = iotfleetwise.CfnDecoderManifest.CanInterfaceProperty(
    name="name",

    # the properties below are optional
    protocol_name="protocolName",
    protocol_version="protocolVersion"
)
```

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

CanInterfaceProperty canInterfaceProperty = CanInterfaceProperty.builder()
        .name("name")

        // the properties below are optional
        .protocolName("protocolName")
        .protocolVersion("protocolVersion")
        .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 canInterfaceProperty = new CanInterfaceProperty {
    Name = "name",

    // the properties below are optional
    ProtocolName = "protocolName",
    ProtocolVersion = "protocolVersion"
};
```

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"

canInterfaceProperty := &CanInterfaceProperty{
	Name: jsii.String("name"),

	// the properties below are optional
	ProtocolName: jsii.String("protocolName"),
	ProtocolVersion: jsii.String("protocolVersion"),
}
```

## Properties

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

- `protocolName`: string — The name of the communication protocol for the interface.

- `protocolVersion`: string — The version of the communication protocol for the interface.
