Interface CfnTaskDefinition.IEphemeralStorageProperty
The amount of ephemeral storage to allocate for the task.
Namespace: Amazon.CDK.AWS.ECS
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface IEphemeralStorageProperty
Syntax (vb)
Public Interface IEphemeralStorageProperty
Remarks
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:
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.ECS;
var ephemeralStorageProperty = new EphemeralStorageProperty {
SizeInGiB = 123
};
Synopsis
Properties
SizeInGiB | The total amount, in GiB, of ephemeral storage to set for the task. |
Properties
SizeInGiB
The total amount, in GiB, of ephemeral storage to set for the task.
virtual Nullable<double> SizeInGiB { get; }
Property Value
System.Nullable<System.Double>
Remarks
The minimum supported value is 21
GiB and the maximum supported value is 200
GiB.