EnaSrdUdpSpecificationProperty Struct
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 | |
|---|---|
| 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_ec2 as ec2 } from 'aws-cdk-lib';
const enaSrdUdpSpecificationProperty: ec2.CfnLaunchTemplate.EnaSrdUdpSpecificationProperty = {
enaSrdUdpEnabled: false,
};
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.CfnLaunchTemplate.EnaSrdUdpSpecificationProperty(
ena_srd_udp_enabled=False
)
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();
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
};
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
enaSrdUdpEnabledoptionalboolean | IResolvableena_srd_udp_enabledoptionaltyping.Union[bool, IResolvable]enaSrdUdpEnabledoptionalBooleanEnaSrdUdpEnabledoptionalboolEnaSrdUdpEnabledoptionalinterface{} #Indicates whether UDP traffic to and from the instance uses ENA Express.
To specify this setting, you must first enable ENA Express.