Class: Aws::ECS::Types::EphemeralStorage

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-ecs/types.rb

Overview

Note:

When making an API call, you may pass EphemeralStorage data as a hash:

{
  size_in_gi_b: 1, # required
}

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 [Fargate task storage] in the *Amazon ECS User Guide for Fargate*.

<note markdown=“1”> This parameter is only supported for tasks hosted on Fargate using the following platform versions:

* Linux platform version `1.4.0` or later.
  • Windows platform version `1.0.0` or later.

</note>

[1]: docs.aws.amazon.com/AmazonECS/latest/userguide/using_data_volumes.html

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#size_in_gi_bInteger

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.

Returns:

  • (Integer)

4928
4929
4930
4931
4932
# File 'lib/aws-sdk-ecs/types.rb', line 4928

class EphemeralStorage < Struct.new(
  :size_in_gi_b)
  SENSITIVE = []
  include Aws::Structure
end