Skip to content

ECS  >  Structures  >  EphemeralStorage

EphemeralStorage

Structure Class

EphemeralStorage dataclass

Bases: _SerdeShape

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 Fargate. For more information, see Using data volumes in tasks in the Amazon ECS Developer Guide;.

Note

For tasks using the Fargate launch type, the task requires the following platforms:

  • Linux platform version 1.4.0 or later.

Attributes

size_in_gi_b class-attribute instance-attribute
size_in_gi_b: int = ...

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.