@Generated(value="jsii-pacmak/1.29.0 (build 41df200)", date="2021-06-02T09:55:17.262Z") @Stability(value=Experimental) public enum Scope extends Enum<Scope>
Docker volumes that are scoped to a task are automatically provisioned when the task starts and destroyed when the task stops. Docker volumes that are scoped as shared persist after the task stops.
| Enum Constant and Description |
|---|
SHARED
(experimental) Docker volumes that are scoped as shared persist after the task stops.
|
TASK
(experimental) Docker volumes that are scoped to a task are automatically provisioned when the task starts and destroyed when the task stops.
|
| Modifier and Type | Method and Description |
|---|---|
static Scope |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Scope[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
@Stability(value=Experimental) public static final Scope TASK
@Stability(value=Experimental) public static final Scope SHARED
public static Scope[] values()
for (Scope c : Scope.values()) System.out.println(c);
public static Scope valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2021. All rights reserved.