@Stability(value=Stable) @Internal public static final class CfnTaskDefinition.DockerVolumeConfigurationProperty.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CfnTaskDefinition.DockerVolumeConfigurationProperty
CfnTaskDefinition.DockerVolumeConfigurationPropertysoftware.amazon.jsii.JsiiObject.InitializationModeCfnTaskDefinition.DockerVolumeConfigurationProperty.Builder, CfnTaskDefinition.DockerVolumeConfigurationProperty.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(CfnTaskDefinition.DockerVolumeConfigurationProperty.Builder builder)
Constructor that initializes the object based on literal property values passed by the
CfnTaskDefinition.AuthorizationConfigProperty.Builder. |
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.
|
| Modifier and Type | Method and Description |
|---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(Object o) |
Object |
getAutoprovision()
If this value is `true` , the Docker volume is created if it doesn't already exist.
|
String |
getDriver()
The Docker volume driver to use.
|
Object |
getDriverOpts()
A map of Docker driver-specific options passed through.
|
Object |
getLabels()
Custom metadata to add to your Docker volume.
|
String |
getScope()
The scope for the Docker volume that determines its lifecycle.
|
int |
hashCode() |
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitbuilderprotected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef - Reference to the JSII managed object.protected Jsii$Proxy(CfnTaskDefinition.DockerVolumeConfigurationProperty.Builder builder)
CfnTaskDefinition.AuthorizationConfigProperty.Builder.public final Object getAutoprovision()
CfnTaskDefinition.DockerVolumeConfigurationProperty
This field is only used if the
scopeisshared.
getAutoprovision in interface CfnTaskDefinition.DockerVolumeConfigurationPropertypublic final String getDriver()
CfnTaskDefinition.DockerVolumeConfigurationProperty
The driver value must match the driver name provided by Docker because it is used for task placement. If the driver was installed using the Docker plugin CLI, use docker plugin ls to retrieve the driver name from your container instance. If the driver was installed using another method, use Docker plugin discovery to retrieve the driver name. For more information, see Docker plugin discovery . This parameter maps to Driver in the Create a volume section of the Docker Remote API and the xxdriver option to docker volume create .
getDriver in interface CfnTaskDefinition.DockerVolumeConfigurationPropertypublic final Object getDriverOpts()
CfnTaskDefinition.DockerVolumeConfigurationProperty
This parameter maps to DriverOpts in the Create a volume section of the Docker Remote API and the xxopt option to docker volume create .
getDriverOpts in interface CfnTaskDefinition.DockerVolumeConfigurationPropertypublic final Object getLabels()
CfnTaskDefinition.DockerVolumeConfigurationProperty
This parameter maps to Labels in the Create a volume section of the Docker Remote API and the xxlabel option to docker volume create .
getLabels in interface CfnTaskDefinition.DockerVolumeConfigurationPropertypublic final String getScope()
CfnTaskDefinition.DockerVolumeConfigurationProperty
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.
getScope in interface CfnTaskDefinition.DockerVolumeConfigurationProperty@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2022. All rights reserved.