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