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.InitializationMode
Nested classes/interfaces inherited from interface software.amazon.awscdk.services.ecs.CfnTaskDefinition.VolumeProperty
CfnTaskDefinition.VolumeProperty.Builder, CfnTaskDefinition.VolumeProperty.Jsii$Proxy
-
Constructor Summary
ModifierConstructorDescriptionprotected
Constructor that initializes the object based on literal property values passed by theCfnTaskDefinition.VolumeProperty.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
Indicates whether the volume should be configured at launch time.final Object
This parameter is specified when you use Docker volumes.final Object
This parameter is specified when you use an Amazon Elastic File System file system for task storage.final Object
This parameter is specified when you use Amazon FSx for Windows File Server file system for task storage.final Object
getHost()
This parameter is specified when you use bind mount host volumes.final String
getName()
The name of the volume.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.VolumeProperty.Builder
.
-
-
Method Details
-
getConfiguredAtLaunch
Description copied from interface:CfnTaskDefinition.VolumeProperty
Indicates whether the volume should be configured at launch time.This is used to create Amazon EBS volumes for standalone tasks or tasks created as part of a service. Each task definition revision may only have one volume configured at launch in the volume configuration.
To configure a volume at launch time, use this task definition revision and specify a
volumeConfigurations
object when calling theCreateService
,UpdateService
,RunTask
orStartTask
APIs.- Specified by:
getConfiguredAtLaunch
in interfaceCfnTaskDefinition.VolumeProperty
- See Also:
-
getDockerVolumeConfiguration
Description copied from interface:CfnTaskDefinition.VolumeProperty
This parameter is specified when you use Docker volumes.Windows containers only support the use of the
local
driver. To use bind mounts, specify thehost
parameter instead.Docker volumes aren't supported by tasks run on AWS Fargate .
- Specified by:
getDockerVolumeConfiguration
in interfaceCfnTaskDefinition.VolumeProperty
- See Also:
-
getEfsVolumeConfiguration
Description copied from interface:CfnTaskDefinition.VolumeProperty
This parameter is specified when you use an Amazon Elastic File System file system for task storage.- Specified by:
getEfsVolumeConfiguration
in interfaceCfnTaskDefinition.VolumeProperty
- See Also:
-
getFSxWindowsFileServerVolumeConfiguration
Description copied from interface:CfnTaskDefinition.VolumeProperty
This parameter is specified when you use Amazon FSx for Windows File Server file system for task storage.- Specified by:
getFSxWindowsFileServerVolumeConfiguration
in interfaceCfnTaskDefinition.VolumeProperty
- See Also:
-
getHost
Description copied from interface:CfnTaskDefinition.VolumeProperty
This parameter is specified when you use bind mount host volumes.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 thehost
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 mountC:\my\path:C:\my\path
andD:\:D:\
, but notD:\my\path:C:\my\path
orD:\:C:\my\path
.- Specified by:
getHost
in interfaceCfnTaskDefinition.VolumeProperty
- See Also:
-
getName
Description copied from interface:CfnTaskDefinition.VolumeProperty
The name of the volume. Up to 255 letters (uppercase and lowercase), numbers, underscores, and hyphens are allowed.When using a volume configured at launch, the
name
is required and must also be specified as the volume name in theServiceVolumeConfiguration
orTaskVolumeConfiguration
parameter when creating your service or standalone task.For all other types of volumes, this name is referenced in the
sourceVolume
parameter of themountPoints
object in the container definition.When a volume is using the
efsVolumeConfiguration
, the name is required.- Specified by:
getName
in interfaceCfnTaskDefinition.VolumeProperty
- 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()
-