Class CfnTaskDefinition.DockerVolumeConfigurationProperty.Jsii$Proxy
- All Implemented Interfaces:
CfnTaskDefinition.DockerVolumeConfigurationProperty
,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
CfnTaskDefinition.DockerVolumeConfigurationProperty
CfnTaskDefinition.DockerVolumeConfigurationProperty
-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
Nested classes/interfaces inherited from interface software.amazon.awscdk.services.ecs.CfnTaskDefinition.DockerVolumeConfigurationProperty
CfnTaskDefinition.DockerVolumeConfigurationProperty.Builder, CfnTaskDefinition.DockerVolumeConfigurationProperty.Jsii$Proxy
-
Constructor Summary
ModifierConstructorDescriptionprotected
Constructor that initializes the object based on literal property values passed by theCfnTaskDefinition.DockerVolumeConfigurationProperty.Builder
.protected
Jsii$Proxy
(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject. -
Method Summary
Modifier and TypeMethodDescriptioncom.fasterxml.jackson.databind.JsonNode
final boolean
final Object
If this value istrue
, the Docker volume is created if it doesn't already exist.final String
The Docker volume driver to use.final Object
A map of Docker driver-specific options passed through.final Object
Custom metadata to add to your Docker volume.final String
getScope()
The scope for the Docker volume that determines its lifecycle.final int
hashCode()
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
-
Constructor Details
-
Jsii$Proxy
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject.- Parameters:
objRef
- Reference to the JSII managed object.
-
Jsii$Proxy
Constructor that initializes the object based on literal property values passed by theCfnTaskDefinition.DockerVolumeConfigurationProperty.Builder
.
-
-
Method Details
-
getAutoprovision
Description copied from interface:CfnTaskDefinition.DockerVolumeConfigurationProperty
If this value istrue
, the Docker volume is created if it doesn't already exist.This field is only used if the
scope
isshared
.- Specified by:
getAutoprovision
in interfaceCfnTaskDefinition.DockerVolumeConfigurationProperty
- See Also:
-
getDriver
Description copied from interface:CfnTaskDefinition.DockerVolumeConfigurationProperty
The Docker volume driver to use.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. This parameter maps toDriver
in the docker container create command and thexxdriver
option to docker volume create.- Specified by:
getDriver
in interfaceCfnTaskDefinition.DockerVolumeConfigurationProperty
- See Also:
-
getDriverOpts
Description copied from interface:CfnTaskDefinition.DockerVolumeConfigurationProperty
A map of Docker driver-specific options passed through.This parameter maps to
DriverOpts
in the docker create-volume command and thexxopt
option to docker volume create.- Specified by:
getDriverOpts
in interfaceCfnTaskDefinition.DockerVolumeConfigurationProperty
- See Also:
-
getLabels
Description copied from interface:CfnTaskDefinition.DockerVolumeConfigurationProperty
Custom metadata to add to your Docker volume.This parameter maps to
Labels
in the docker container create command and thexxlabel
option to docker volume create.- Specified by:
getLabels
in interfaceCfnTaskDefinition.DockerVolumeConfigurationProperty
- See Also:
-
getScope
Description copied from interface:CfnTaskDefinition.DockerVolumeConfigurationProperty
The scope for the Docker volume that determines its lifecycle.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 asshared
persist after the task stops.- Specified by:
getScope
in interfaceCfnTaskDefinition.DockerVolumeConfigurationProperty
- See Also:
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJson
in interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-