Show / Hide Table of Contents

Class CfnTaskDefinition.EphemeralStorageProperty

The amount of ephemeral storage to allocate for the task.

Inheritance
object
CfnTaskDefinition.EphemeralStorageProperty
Implements
CfnTaskDefinition.IEphemeralStorageProperty
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
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:

    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

    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:
    

      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
                   };

      Properties

      SizeInGiB

      The total amount, in GiB, of ephemeral storage to set for the task.

      public double? SizeInGiB { get; set; }
      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

      Implements

      CfnTaskDefinition.IEphemeralStorageProperty
      Back to top Generated by DocFX