interface EphemeralStorageProperty
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.ECS.CfnTaskDefinition.EphemeralStorageProperty |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awsecs#CfnTaskDefinition_EphemeralStorageProperty |
![]() | software.amazon.awscdk.services.ecs.CfnTaskDefinition.EphemeralStorageProperty |
![]() | aws_cdk.aws_ecs.CfnTaskDefinition.EphemeralStorageProperty |
![]() | aws-cdk-lib » aws_ecs » CfnTaskDefinition » EphemeralStorageProperty |
The amount of ephemeral storage to allocate for the task.
This parameter is used to expand the total amount of ephemeral storage available, beyond the default amount, for tasks hosted on AWS Fargate . For more information, see Using data volumes in tasks in the Amazon ECS Developer Guide; .
For tasks using the Fargate launch type, the task requires the following platforms:
- Linux platform version
1.4.0
or later.- Windows platform version
1.0.0
or later.
Example
// 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 ephemeralStorageProperty: ecs.CfnTaskDefinition.EphemeralStorageProperty = {
sizeInGiB: 123,
};
Properties
Name | Type | Description |
---|---|---|
size | number | The total amount, in GiB, of ephemeral storage to set for the task. |
sizeInGiB?
Type:
number
(optional)
The total amount, in GiB, of ephemeral storage to set for the task.
The minimum supported value is 21
GiB and the maximum supported value is 200
GiB.