@Stability(value=Stable)
public static interface CfnTaskDefinition.EphemeralStorageProperty
extends software.amazon.jsii.JsiiSerializable
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 Fargate task storage in the Amazon ECS User Guide for AWS Fargate .
This parameter is only supported for tasks hosted on Fargate using Linux platform version
1.4.0or later. This parameter is not supported for Windows containers on Fargate.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.ecs.*;
EphemeralStorageProperty ephemeralStorageProperty = EphemeralStorageProperty.builder()
.sizeInGiB(123)
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnTaskDefinition.EphemeralStorageProperty.Builder
A builder for
CfnTaskDefinition.EphemeralStorageProperty |
static class |
CfnTaskDefinition.EphemeralStorageProperty.Jsii$Proxy
An implementation for
CfnTaskDefinition.EphemeralStorageProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnTaskDefinition.EphemeralStorageProperty.Builder |
builder() |
default Number |
getSizeInGiB()
The total amount, in GiB, of ephemeral storage to set for the task.
|
@Stability(value=Stable) @Nullable default Number getSizeInGiB()
The minimum supported value is 21 GiB and the maximum supported value is 200 GiB.
@Stability(value=Stable) static CfnTaskDefinition.EphemeralStorageProperty.Builder builder()
Copyright © 2022. All rights reserved.