TaskDefinitionVolume class
Constructors
-
TaskDefinitionVolume({Input<
bool?> ? configureAtLaunch, Input<TaskDefinitionVolumeDockerVolumeConfiguration?> ? dockerVolumeConfiguration, Input<TaskDefinitionVolumeEfsVolumeConfiguration?> ? efsVolumeConfiguration, Input<TaskDefinitionVolumeFsxWindowsFileServerVolumeConfiguration?> ? fsxWindowsFileServerVolumeConfiguration, Input<String?> ? hostPath, required Input<String> name, Input<TaskDefinitionVolumeS3filesVolumeConfiguration?> ? s3filesVolumeConfiguration}) -
Creates a new TaskDefinitionVolume.
configureAtLaunchWhether 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.dockerVolumeConfigurationConfiguration block to configure a docker volume. Detailed below.efsVolumeConfigurationConfiguration block for an EFS volume. Detailed below.fsxWindowsFileServerVolumeConfigurationConfiguration block for an FSX Windows File Server volume. Detailed below.hostPathPath on the host container instance that is presented to the container. If not set, ECS will create a nonpersistent data volume that starts empty and is deleted after the task has finished.nameName of the volume. This name is referenced in thesourceVolumeparameter of container definition in themountPointssection.s3filesVolumeConfigurationConfiguration block for an S3 Files volume. Detailed below.const -
TaskDefinitionVolume.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
configureAtLaunch
→ Input<
bool?> ? -
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.
final
-
dockerVolumeConfiguration
→ Input<
TaskDefinitionVolumeDockerVolumeConfiguration?> ? -
Configuration block to configure a docker volume. Detailed below.
final
-
efsVolumeConfiguration
→ Input<
TaskDefinitionVolumeEfsVolumeConfiguration?> ? -
Configuration block for an EFS volume. Detailed below.
final
-
fsxWindowsFileServerVolumeConfiguration
→ Input<
TaskDefinitionVolumeFsxWindowsFileServerVolumeConfiguration?> ? -
Configuration block for an FSX Windows File Server volume. Detailed below.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
hostPath
→ Input<
String?> ? -
Path on the host container instance that is presented to the container. If not set, ECS will create a nonpersistent data volume that starts empty and is deleted after the task has finished.
final
-
name
→ Input<
String> -
Name of the volume. This name is referenced in the
sourceVolumeparameter of container definition in themountPointssection.final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
s3filesVolumeConfiguration
→ Input<
TaskDefinitionVolumeS3filesVolumeConfiguration?> ? -
Configuration block for an S3 Files volume. Detailed below.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited