Class CfnTaskDefinition.VolumeProperty.Jsii$Proxy
- All Implemented Interfaces:
CfnTaskDefinition.VolumeProperty,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
- CfnTaskDefinition.VolumeProperty
CfnTaskDefinition.VolumeProperty-
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.VolumeProperty
CfnTaskDefinition.VolumeProperty.Builder, CfnTaskDefinition.VolumeProperty.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedConstructor that initializes the object based on literal property values passed by theCfnTaskDefinition.VolumeProperty.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 ObjectThis parameter is specified when you use Docker volumes.final ObjectThis parameter is specified when you use an Amazon Elastic File System file system for task storage.final ObjectgetHost()This parameter is specified when you use bind mount host volumes.final StringgetName()The name of the volume.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.VolumeProperty.Builder.
-
-
Method Details
-
getDockerVolumeConfiguration
Description copied from interface:CfnTaskDefinition.VolumePropertyThis parameter is specified when you use Docker volumes.Windows containers only support the use of the
localdriver. To use bind mounts, specify thehostparameter instead.Docker volumes aren't supported by tasks run on AWS Fargate .
- Specified by:
getDockerVolumeConfigurationin interfaceCfnTaskDefinition.VolumeProperty
-
getEfsVolumeConfiguration
Description copied from interface:CfnTaskDefinition.VolumePropertyThis parameter is specified when you use an Amazon Elastic File System file system for task storage.- Specified by:
getEfsVolumeConfigurationin interfaceCfnTaskDefinition.VolumeProperty
-
getHost
Description copied from interface:CfnTaskDefinition.VolumePropertyThis parameter is specified when you use bind mount host volumes.The contents of the
hostparameter determine whether your bind mount host volume persists on the host container instance and where it's stored. If thehostparameter is empty, then the Docker daemon assigns a host path for your data volume. However, the data isn't guaranteed to persist after the containers that are associated with it stop running.Windows containers can mount whole directories on the same drive as
$env:ProgramData. Windows containers can't mount directories on a different drive, and mount point can't be across drives. For example, you can mountC:\my\path:C:\my\pathandD:\:D:\, but notD:\my\path:C:\my\pathorD:\:C:\my\path.- Specified by:
getHostin interfaceCfnTaskDefinition.VolumeProperty
-
getName
Description copied from interface:CfnTaskDefinition.VolumePropertyThe name of the volume.Up to 255 letters (uppercase and lowercase), numbers, underscores, and hyphens are allowed. This name is referenced in the
sourceVolumeparameter of container definitionmountPoints.- Specified by:
getNamein interfaceCfnTaskDefinition.VolumeProperty
-
$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()
-