@Stability(value=Stable) @Internal public static final class CfnTaskDefinition.VolumeProperty.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CfnTaskDefinition.VolumeProperty
CfnTaskDefinition.VolumePropertysoftware.amazon.jsii.JsiiObject.InitializationModeCfnTaskDefinition.VolumeProperty.Builder, CfnTaskDefinition.VolumeProperty.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(CfnTaskDefinition.VolumeProperty.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 |
getDockerVolumeConfiguration()
This parameter is specified when you use Docker volumes.
|
Object |
getEfsVolumeConfiguration()
This parameter is specified when you use an Amazon Elastic File System file system for task storage.
|
Object |
getHost()
This parameter is specified when you use bind mount host volumes.
|
String |
getName()
The name of the volume.
|
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.VolumeProperty.Builder builder)
CfnTaskDefinition.AuthorizationConfigProperty.Builder.public final Object getDockerVolumeConfiguration()
CfnTaskDefinition.VolumeProperty
Windows containers only support the use of the local driver. To use bind mounts, specify the host parameter instead.
Docker volumes aren't supported by tasks run on AWS Fargate .
getDockerVolumeConfiguration in interface CfnTaskDefinition.VolumePropertypublic final Object getEfsVolumeConfiguration()
CfnTaskDefinition.VolumePropertygetEfsVolumeConfiguration in interface CfnTaskDefinition.VolumePropertypublic final Object getHost()
CfnTaskDefinition.VolumeProperty
The contents of the host parameter determine whether your bind mount host volume persists on the host container instance and where it's stored. If the host parameter 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 mount C:\my\path:C:\my\path and D:\:D:\ , but not D:\my\path:C:\my\path or D:\:C:\my\path .
getHost in interface CfnTaskDefinition.VolumePropertypublic final String getName()
CfnTaskDefinition.VolumeProperty
Up to 255 letters (uppercase and lowercase), numbers, underscores, and hyphens are allowed. This name is referenced in the sourceVolume parameter of container definition mountPoints .
getName in interface CfnTaskDefinition.VolumeProperty@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2022. All rights reserved.