ManagedInstancesStorageConfigurationProperty Struct
The storage configuration for Amazon ECS Managed Instances.
This defines the root volume configuration for the instances.
| 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 managedInstancesStorageConfigurationProperty: ecs.CfnCapacityProvider.ManagedInstancesStorageConfigurationProperty = {
storageSizeGiB: 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
managed_instances_storage_configuration_property = ecs.CfnCapacityProvider.ManagedInstancesStorageConfigurationProperty(
storage_size_gi_b=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.*;
ManagedInstancesStorageConfigurationProperty managedInstancesStorageConfigurationProperty = ManagedInstancesStorageConfigurationProperty.builder()
.storageSizeGiB(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 managedInstancesStorageConfigurationProperty = new ManagedInstancesStorageConfigurationProperty {
StorageSizeGiB = 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"
managedInstancesStorageConfigurationProperty := &ManagedInstancesStorageConfigurationProperty{
StorageSizeGiB: jsii.Number(123),
}
Properties
storageSizeGiBnumberstorage_size_gi_bint | floatstorageSizeGiBNumberStorageSizeGiBdoubleStorageSizeGiB*float64 required #The size of the tasks volume.