Show / Hide Table of Contents

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 CfnTaskDefinition.IEphemeralStorageProperty
Syntax (vb)
Public Interface 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:

    See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-ephemeralstorage.html

    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.

    double? SizeInGiB { get; }
    Property Value

    double?

    Remarks

    The minimum supported value is 21 GiB and the maximum supported value is 200 GiB.

    See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-ephemeralstorage.html#cfn-ecs-taskdefinition-ephemeralstorage-sizeingib

    Back to top Generated by DocFX