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 ObjectIndicates whether the volume should be configured at launch time.final 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 ObjectThis parameter is specified when you use Amazon FSx for Windows File Server 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
-
getConfiguredAtLaunch
Description copied from interface:CfnTaskDefinition.VolumePropertyIndicates 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
volumeConfigurationsobject when calling theCreateService,UpdateService,RunTaskorStartTaskAPIs.Returns union: either
BooleanorIResolvable- Specified by:
getConfiguredAtLaunchin interfaceCfnTaskDefinition.VolumeProperty- See Also:
-
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 .
Returns union: either
IResolvableorCfnTaskDefinition.DockerVolumeConfigurationProperty- Specified by:
getDockerVolumeConfigurationin interfaceCfnTaskDefinition.VolumeProperty- See Also:
-
getEfsVolumeConfiguration
Description copied from interface:CfnTaskDefinition.VolumePropertyThis parameter is specified when you use an Amazon Elastic File System file system for task storage.Returns union: either
IResolvableorCfnTaskDefinition.EFSVolumeConfigurationProperty- Specified by:
getEfsVolumeConfigurationin interfaceCfnTaskDefinition.VolumeProperty- See Also:
-
getFSxWindowsFileServerVolumeConfiguration
Description copied from interface:CfnTaskDefinition.VolumePropertyThis parameter is specified when you use Amazon FSx for Windows File Server file system for task storage.Returns union: either
IResolvableorCfnTaskDefinition.FSxWindowsFileServerVolumeConfigurationProperty- Specified by:
getFSxWindowsFileServerVolumeConfigurationin interfaceCfnTaskDefinition.VolumeProperty- See Also:
-
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.Returns union: either
IResolvableorCfnTaskDefinition.HostVolumePropertiesProperty- Specified by:
getHostin interfaceCfnTaskDefinition.VolumeProperty- See Also:
-
getName
Description copied from interface:CfnTaskDefinition.VolumePropertyThe 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
nameis required and must also be specified as the volume name in theServiceVolumeConfigurationorTaskVolumeConfigurationparameter when creating your service or standalone task.For all other types of volumes, this name is referenced in the
sourceVolumeparameter of themountPointsobject in the container definition.When a volume is using the
efsVolumeConfiguration, the name is required.- Specified by:
getNamein interfaceCfnTaskDefinition.VolumeProperty- 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()
-