Class CfnPipe.EcsEphemeralStorageProperty
The amount of ephemeral storage to allocate for the task.
Inheritance
System.Object
CfnPipe.EcsEphemeralStorageProperty
Implements
Namespace: Amazon.CDK.AWS.Pipes
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class EcsEphemeralStorageProperty : Object, CfnPipe.IEcsEphemeralStorageProperty
Syntax (vb)
Public Class EcsEphemeralStorageProperty
Inherits Object
Implements CfnPipe.IEcsEphemeralStorageProperty
Remarks
This parameter is used to expand the total amount of ephemeral storage available, beyond the default amount, for tasks hosted on Fargate . For more information, see Fargate task storage in the Amazon ECS User Guide for Fargate .
This parameter is only supported for tasks hosted on Fargate using Linux platform version 1.4.0
or later. This parameter is not supported for Windows containers on Fargate .
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.Pipes;
var ecsEphemeralStorageProperty = new EcsEphemeralStorageProperty {
SizeInGiB = 123
};
Synopsis
Constructors
EcsEphemeralStorageProperty() |
Properties
SizeInGiB | The total amount, in GiB, of ephemeral storage to set for the task. |
Constructors
EcsEphemeralStorageProperty()
public EcsEphemeralStorageProperty()
Properties
SizeInGiB
The total amount, in GiB, of ephemeral storage to set for the task.
public double SizeInGiB { get; set; }
Property Value
System.Double
Remarks
The minimum supported value is 21
GiB and the maximum supported value is 200
GiB.
Default: - 0