Interface AwsEcsTaskDefinitionVolumesDockerVolumeConfigurationDetails.Builder

    • Method Detail

      • autoprovision

        AwsEcsTaskDefinitionVolumesDockerVolumeConfigurationDetails.Builder autoprovision​(Boolean autoprovision)

        Whether to create the Docker volume automatically if it does not already exist.

        Parameters:
        autoprovision - Whether to create the Docker volume automatically if it does not already exist.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • scope

        AwsEcsTaskDefinitionVolumesDockerVolumeConfigurationDetails.Builder scope​(String scope)

        The scope for the Docker volume that determines its lifecycle. Docker volumes that are scoped to a task are provisioned automatically when the task starts and destroyed when the task stops. Docker volumes that are shared persist after the task stops. Valid values are shared or task.

        Parameters:
        scope - The scope for the Docker volume that determines its lifecycle. Docker volumes that are scoped to a task are provisioned automatically when the task starts and destroyed when the task stops. Docker volumes that are shared persist after the task stops. Valid values are shared or task.
        Returns:
        Returns a reference to this object so that method calls can be chained together.