TotalLocalStorageGBRequestProperty Struct
The minimum and maximum total local storage in gigabytes (GB) for instance types with local storage.
This is useful for workloads that require local storage for temporary data or caching.
| 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_ecs as ecs } from 'aws-cdk-lib';
const totalLocalStorageGBRequestProperty: ecs.CfnCapacityProvider.TotalLocalStorageGBRequestProperty = {
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_ecs as ecs
total_local_storage_gb_request_property = ecs.CfnCapacityProvider.TotalLocalStorageGBRequestProperty(
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.ecs.*;
TotalLocalStorageGBRequestProperty totalLocalStorageGBRequestProperty = TotalLocalStorageGBRequestProperty.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.ECS;
var totalLocalStorageGBRequestProperty = new TotalLocalStorageGBRequestProperty {
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"
totalLocalStorageGBRequestProperty := &TotalLocalStorageGBRequestProperty{
Max: jsii.Number(123),
Min: jsii.Number(123),
}
Properties
The maximum total local storage in GB.
Instance types with more local storage are excluded from selection.
The minimum total local storage in GB.
Instance types with less local storage are excluded from selection.