@Generated(value="jsii-pacmak/1.30.0 (build adae23f)", date="2021-06-30T10:01:06.768Z") @Stability(value=Experimental) public interface DockerVolumeConfiguration extends software.amazon.jsii.JsiiSerializable
Docker volumes are only supported when you are using the EC2 launch type.
| Modifier and Type | Interface and Description |
|---|---|
static class |
DockerVolumeConfiguration.Builder
A builder for
DockerVolumeConfiguration |
static class |
DockerVolumeConfiguration.Jsii$Proxy
An implementation for
DockerVolumeConfiguration |
| Modifier and Type | Method and Description |
|---|---|
static DockerVolumeConfiguration.Builder |
builder() |
default Boolean |
getAutoprovision()
(experimental) Specifies whether the Docker volume should be created if it does not already exist.
|
String |
getDriver()
(experimental) The Docker volume driver to use.
|
default Map<String,String> |
getDriverOpts()
(experimental) A map of Docker driver-specific options passed through.
|
default Map<String,String> |
getLabels()
(experimental) Custom metadata to add to your Docker volume.
|
Scope |
getScope()
(experimental) The scope for the Docker volume that determines its lifecycle.
|
@Stability(value=Experimental) @NotNull String getDriver()
@Stability(value=Experimental) @NotNull Scope getScope()
@Stability(value=Experimental) @Nullable default Boolean getAutoprovision()
If true is specified, the Docker volume will be created for you.
Default: false
@Stability(value=Experimental) @Nullable default Map<String,String> getDriverOpts()
Default: No options
@Stability(value=Experimental) @Nullable default Map<String,String> getLabels()
Default: No labels
@Stability(value=Experimental) static DockerVolumeConfiguration.Builder builder()
DockerVolumeConfiguration.Builder of DockerVolumeConfigurationCopyright © 2021. All rights reserved.