# EnaSrdUdpSpecificationProperty

ENA Express is compatible with both TCP and UDP transport protocols.

When it's enabled, TCP traffic automatically uses it. However, some UDP-based applications are designed to handle network packets that are out of order, without a need for retransmission, such as live video broadcasting or other near-real-time applications. For UDP traffic, you can specify whether to use ENA Express, based on your application environment needs.

- Source: Generated at build time
- Type last changed: v2.132.0 · 9 Mar 2024

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_ec2 as ec2 } from 'aws-cdk-lib';
const enaSrdUdpSpecificationProperty: ec2.CfnNetworkInterfaceAttachment.EnaSrdUdpSpecificationProperty = {
  enaSrdUdpEnabled: false,
};
```

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_ec2 as ec2

ena_srd_udp_specification_property = ec2.CfnNetworkInterfaceAttachment.EnaSrdUdpSpecificationProperty(
    ena_srd_udp_enabled=False
)
```

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

EnaSrdUdpSpecificationProperty enaSrdUdpSpecificationProperty = EnaSrdUdpSpecificationProperty.builder()
        .enaSrdUdpEnabled(false)
        .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.EC2;

var enaSrdUdpSpecificationProperty = new EnaSrdUdpSpecificationProperty {
    EnaSrdUdpEnabled = false
};
```

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"

enaSrdUdpSpecificationProperty := &EnaSrdUdpSpecificationProperty{
	EnaSrdUdpEnabled: jsii.Boolean(false),
}
```

## Properties

- `enaSrdUdpEnabled`: boolean | [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) — Indicates whether UDP traffic to and from the instance uses ENA Express.

  To specify this setting, you must first enable ENA Express.
