Class TaskDefinitionVolumeArgs.Builder

  • Enclosing class:
    TaskDefinitionVolumeArgs

    public static final class TaskDefinitionVolumeArgs.Builder
    extends java.lang.Object
    • Method Detail

      • configureAtLaunch

        public TaskDefinitionVolumeArgs.Builder configureAtLaunch​(@Nullable
                                                                  com.pulumi.core.Output<java.lang.Boolean> configureAtLaunch)
        Parameters:
        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.
        Returns:
        builder
      • configureAtLaunch

        public TaskDefinitionVolumeArgs.Builder configureAtLaunch​(java.lang.Boolean configureAtLaunch)
        Parameters:
        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.
        Returns:
        builder
      • hostPath

        public TaskDefinitionVolumeArgs.Builder hostPath​(@Nullable
                                                         com.pulumi.core.Output<java.lang.String> hostPath)
        Parameters:
        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.
        Returns:
        builder
      • hostPath

        public TaskDefinitionVolumeArgs.Builder hostPath​(java.lang.String hostPath)
        Parameters:
        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.
        Returns:
        builder
      • name

        public TaskDefinitionVolumeArgs.Builder name​(com.pulumi.core.Output<java.lang.String> name)
        Parameters:
        name - Name of the volume. This name is referenced in the `sourceVolume` parameter of container definition in the `mountPoints` section.
        Returns:
        builder
      • name

        public TaskDefinitionVolumeArgs.Builder name​(java.lang.String name)
        Parameters:
        name - Name of the volume. This name is referenced in the `sourceVolume` parameter of container definition in the `mountPoints` section.
        Returns:
        builder