Class TaskDefinitionVolumeDockerVolumeConfigurationArgs


  • public final class TaskDefinitionVolumeDockerVolumeConfigurationArgs
    extends com.pulumi.resources.ResourceArgs
    • Method Detail

      • autoprovision

        public java.util.Optional<com.pulumi.core.Output<java.lang.Boolean>> autoprovision()
        Returns:
        If this value is `true`, the Docker volume is created if it does not already exist. *Note*: This field is only used if the scope is `shared`.
      • driver

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> driver()
        Returns:
        Docker volume driver to use. The driver value must match the driver name provided by Docker because it is used for task placement.
      • driverOpts

        public java.util.Optional<com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>>> driverOpts()
        Returns:
        Map of Docker driver specific options.
      • labels

        public java.util.Optional<com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>>> labels()
        Returns:
        Map of custom metadata to add to your Docker volume.
      • scope

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> scope()
        Returns:
        Scope for the Docker volume, which determines its lifecycle, either `task` or `shared`. Docker volumes that are scoped to a `task` are automatically provisioned when the task starts and destroyed when the task stops. Docker volumes that are scoped as `shared` persist after the task stops.