aws-cdk-lib.aws_ec2.CfnLaunchTemplate.NetworkBandwidthGbpsProperty

interface NetworkBandwidthGbpsProperty

LanguageType name
.NETAmazon.CDK.AWS.EC2.CfnLaunchTemplate.NetworkBandwidthGbpsProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsec2#CfnLaunchTemplate_NetworkBandwidthGbpsProperty
Javasoftware.amazon.awscdk.services.ec2.CfnLaunchTemplate.NetworkBandwidthGbpsProperty
Pythonaws_cdk.aws_ec2.CfnLaunchTemplate.NetworkBandwidthGbpsProperty
TypeScript aws-cdk-lib » aws_ec2 » CfnLaunchTemplate » NetworkBandwidthGbpsProperty

The minimum and maximum amount of network bandwidth, in gigabits per second (Gbps).

Setting the minimum bandwidth does not guarantee that your instance will achieve the minimum bandwidth. Amazon EC2 will identify instance types that support the specified minimum bandwidth, but the actual bandwidth of your instance might go below the specified minimum at times. For more information, see Available instance bandwidth in the Amazon EC2 User Guide .

Example

// 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 networkBandwidthGbpsProperty: ec2.CfnLaunchTemplate.NetworkBandwidthGbpsProperty = {
  max: 123,
  min: 123,
};

Properties

NameTypeDescription
max?numberThe maximum amount of network bandwidth, in Gbps.
min?numberThe minimum amount of network bandwidth, in Gbps.

max?

Type: number (optional)

The maximum amount of network bandwidth, in Gbps.

To specify no maximum limit, omit this parameter.


min?

Type: number (optional)

The minimum amount of network bandwidth, in Gbps.

If this parameter is not specified, there is no minimum limit.