Skip to content
v2.278.0

NetworkBandwidthGbpsRequestProperty Struct ​

NetworkBandwidthGbpsRequest is a property of the InstanceRequirements property of the AWS::AutoScaling::AutoScalingGroup LaunchTemplateOverrides property type that describes the minimum and maximum network bandwidth for an instance type, in 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 for Linux Instances .

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_autoscaling as autoscaling } from 'aws-cdk-lib';
const networkBandwidthGbpsRequestProperty: autoscaling.CfnAutoScalingGroup.NetworkBandwidthGbpsRequestProperty = {
  max: 123,
  min: 123,
};
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_autoscaling as autoscaling

network_bandwidth_gbps_request_property = autoscaling.CfnAutoScalingGroup.NetworkBandwidthGbpsRequestProperty(
    max=123,
    min=123
)
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.autoscaling.*;

NetworkBandwidthGbpsRequestProperty networkBandwidthGbpsRequestProperty = NetworkBandwidthGbpsRequestProperty.builder()
        .max(123)
        .min(123)
        .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.AutoScaling;

var networkBandwidthGbpsRequestProperty = new NetworkBandwidthGbpsRequestProperty {
    Max = 123,
    Min = 123
};
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"

networkBandwidthGbpsRequestProperty := &NetworkBandwidthGbpsRequestProperty{
	Max: jsii.Number(123),
	Min: jsii.Number(123),
}

Properties ​

maxoptionalnumbermaxoptionalint | floatmaxoptionalNumberMaxoptionaldoubleMaxoptional*float64 #
The maximum amount of network bandwidth, in gigabits per second (Gbps).
minoptionalnumberminoptionalint | floatminoptionalNumberMinoptionaldoubleMinoptional*float64 #
The minimum amount of network bandwidth, in gigabits per second (Gbps).