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.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.services.ecs.CfnTaskDefinition.DockerVolumeConfigurationProperty
CfnTaskDefinition.DockerVolumeConfigurationProperty.Builder, CfnTaskDefinition.DockerVolumeConfigurationProperty.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedConstructor that initializes the object based on literal property values passed by theCfnTaskDefinition.DockerVolumeConfigurationProperty.Builder.protectedJsii$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.JsonNodefinal booleanfinal ObjectIf this value istrue, the Docker volume is created if it doesn't already exist.final StringThe Docker volume driver to use.final ObjectA map of Docker driver-specific options passed through.final ObjectCustom metadata to add to your Docker volume.final StringgetScope()The scope for the Docker volume that determines its lifecycle.final inthashCode()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.DockerVolumeConfigurationPropertyIf this value istrue, the Docker volume is created if it doesn't already exist.This field is only used if the
scopeisshared.- Specified by:
getAutoprovisionin interfaceCfnTaskDefinition.DockerVolumeConfigurationProperty
-
getDriver
Description copied from interface:CfnTaskDefinition.DockerVolumeConfigurationPropertyThe 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 lsto 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 toDriverin the Create a volume section of the Docker Remote API and thexxdriveroption to docker volume create .- Specified by:
getDriverin interfaceCfnTaskDefinition.DockerVolumeConfigurationProperty
-
getDriverOpts
Description copied from interface:CfnTaskDefinition.DockerVolumeConfigurationPropertyA map of Docker driver-specific options passed through.This parameter maps to
DriverOptsin the Create a volume section of the Docker Remote API and thexxoptoption to docker volume create .- Specified by:
getDriverOptsin interfaceCfnTaskDefinition.DockerVolumeConfigurationProperty
-
getLabels
Description copied from interface:CfnTaskDefinition.DockerVolumeConfigurationPropertyCustom metadata to add to your Docker volume.This parameter maps to
Labelsin the Create a volume section of the Docker Remote API and thexxlabeloption to docker volume create .- Specified by:
getLabelsin interfaceCfnTaskDefinition.DockerVolumeConfigurationProperty
-
getScope
Description copied from interface:CfnTaskDefinition.DockerVolumeConfigurationPropertyThe scope for the Docker volume that determines its lifecycle.Docker volumes that are scoped to a
taskare automatically provisioned when the task starts and destroyed when the task stops. Docker volumes that are scoped assharedpersist after the task stops.- Specified by:
getScopein interfaceCfnTaskDefinition.DockerVolumeConfigurationProperty
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-