Interface CfnTaskDefinition.EphemeralStorageProperty

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnTaskDefinition.EphemeralStorageProperty.Jsii$Proxy
Enclosing class:
CfnTaskDefinition

@Stability(Stable) public static interface CfnTaskDefinition.EphemeralStorageProperty extends software.amazon.jsii.JsiiSerializable
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 Fargate task storage in the Amazon ECS User Guide for AWS Fargate .

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 software.amazon.awscdk.services.ecs.*;
 EphemeralStorageProperty ephemeralStorageProperty = EphemeralStorageProperty.builder()
         .sizeInGiB(123)
         .build();