Interface EcsVolumeOptions
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Subinterfaces:
EfsVolumeOptions
,HostVolumeOptions
- All Known Implementing Classes:
EcsVolumeOptions.Jsii$Proxy
,EfsVolumeOptions.Jsii$Proxy
,HostVolumeOptions.Jsii$Proxy
@Generated(value="jsii-pacmak/1.104.0 (build e79254c)",
date="2024-12-17T21:37:26.995Z")
@Stability(Stable)
public interface EcsVolumeOptions
extends software.amazon.jsii.JsiiSerializable
Options to configure an EcsVolume.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.batch.*; EcsVolumeOptions ecsVolumeOptions = EcsVolumeOptions.builder() .containerPath("containerPath") .name("name") // the properties below are optional .readonly(false) .build();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forEcsVolumeOptions
static final class
An implementation forEcsVolumeOptions
-
Method Summary
Modifier and TypeMethodDescriptionstatic EcsVolumeOptions.Builder
builder()
the path on the container where this volume is mounted.getName()
the name of this volume.default Boolean
if set, the container will have readonly access to the volume.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getContainerPath
the path on the container where this volume is mounted. -
getName
the name of this volume. -
getReadonly
if set, the container will have readonly access to the volume.Default: false
-
builder
- Returns:
- a
EcsVolumeOptions.Builder
ofEcsVolumeOptions
-