Class CfnTaskDefinition.EphemeralStorageProperty
The amount of ephemeral storage to allocate for the task.
Inheritance
Implements
Namespace: Amazon.CDK.AWS.ECS
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class EphemeralStorageProperty : Object, CfnTaskDefinition.IEphemeralStorageProperty
Syntax (vb)
Public Class EphemeralStorageProperty
Inherits Object
Implements CfnTaskDefinition.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
Constructors
Ephemeral |
Properties
Size |
The total amount, in GiB, of ephemeral storage to set for the task. |
Constructors
EphemeralStorageProperty()
public EphemeralStorageProperty()
Properties
SizeInGiB
The total amount, in GiB, of ephemeral storage to set for the task.
public Nullable<double> SizeInGiB { get; set; }
Property Value
System.
Remarks
The minimum supported value is 21
GiB and the maximum supported value is 200
GiB.