TaskDefinitionVolume constructor
- 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.
configureAtLaunch 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.
dockerVolumeConfiguration Configuration block to configure a docker volume. Detailed below.
efsVolumeConfiguration Configuration block for an EFS volume. Detailed below.
fsxWindowsFileServerVolumeConfiguration Configuration block for an FSX Windows File Server volume. Detailed below.
hostPath 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.
name Name of the volume. This name is referenced in the sourceVolume parameter of container definition in the mountPoints section.
s3filesVolumeConfiguration Configuration block for an S3 Files volume. Detailed below.
Implementation
const TaskDefinitionVolume({
this.configureAtLaunch,
this.dockerVolumeConfiguration,
this.efsVolumeConfiguration,
this.fsxWindowsFileServerVolumeConfiguration,
this.hostPath,
required this.name,
this.s3filesVolumeConfiguration,
});