Class: AWSCDK::Pipes::CfnPipe::ECSEphemeralStorageProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Pipes::CfnPipe::ECSEphemeralStorageProperty
- Defined in:
- pipes/cfn_pipe.rb
Overview
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 .
This parameter is only supported for tasks hosted on Fargate using Linux platform version
1.4.0or later. This parameter is not supported for Windows containers on Fargate.
Instance Attribute Summary collapse
-
#size_in_gib ⇒ Numeric
readonly
The total amount, in GiB, of ephemeral storage to set for the task.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(size_in_gib:) ⇒ ECSEphemeralStorageProperty
constructor
A new instance of ECSEphemeralStorageProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(size_in_gib:) ⇒ ECSEphemeralStorageProperty
Returns a new instance of ECSEphemeralStorageProperty.
1509 1510 1511 1512 |
# File 'pipes/cfn_pipe.rb', line 1509 def initialize(size_in_gib:) @size_in_gib = size_in_gib Jsii::Type.check_type(@size_in_gib, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "sizeInGiB") end |
Instance Attribute Details
#size_in_gib ⇒ Numeric (readonly)
Default: - 0
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.
1521 1522 1523 |
# File 'pipes/cfn_pipe.rb', line 1521 def size_in_gib @size_in_gib end |
Class Method Details
.jsii_properties ⇒ Object
1523 1524 1525 1526 1527 |
# File 'pipes/cfn_pipe.rb', line 1523 def self.jsii_properties { :size_in_gib => "sizeInGiB", } end |
Instance Method Details
#to_jsii ⇒ Object
1529 1530 1531 1532 1533 1534 1535 |
# File 'pipes/cfn_pipe.rb', line 1529 def to_jsii result = {} result.merge!({ "sizeInGiB" => @size_in_gib, }) result.compact end |