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.Returns union: either
BooleanorIResolvable- Specified by:
getAutoprovisionin interfaceCfnTaskDefinition.DockerVolumeConfigurationProperty- See Also:
-
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. This parameter maps toDriverin the docker container create command and thexxdriveroption to docker volume create.- Specified by:
getDriverin interfaceCfnTaskDefinition.DockerVolumeConfigurationProperty- See Also:
-
getDriverOpts
Description copied from interface:CfnTaskDefinition.DockerVolumeConfigurationPropertyA map of Docker driver-specific options passed through.This parameter maps to
DriverOptsin the docker create-volume command and thexxoptoption to docker volume create.Returns union: either Mapinvalid input: '<'String,
String> orIResolvable- Specified by:
getDriverOptsin interfaceCfnTaskDefinition.DockerVolumeConfigurationProperty- See Also:
-
getLabels
Description copied from interface:CfnTaskDefinition.DockerVolumeConfigurationPropertyCustom metadata to add to your Docker volume.This parameter maps to
Labelsin the docker container create command and thexxlabeloption to docker volume create.Returns union: either Mapinvalid input: '<'String,
String> orIResolvable- Specified by:
getLabelsin interfaceCfnTaskDefinition.DockerVolumeConfigurationProperty- See Also:
-
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- See Also:
-
$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()
-