EcsVolumeOptions
- class aws_cdk.aws_batch.EcsVolumeOptions(*, container_path, name, readonly=None)
Bases:
object
Options to configure an EcsVolume.
- Parameters:
container_path (
str
) – the path on the container where this volume is mounted.name (
str
) – the name of this volume.readonly (
Optional
[bool
]) – if set, the container will have readonly access to the volume. Default: false
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk import aws_batch as batch ecs_volume_options = batch.EcsVolumeOptions( container_path="containerPath", name="name", # the properties below are optional readonly=False )
Attributes
- container_path
the path on the container where this volume is mounted.
- name
the name of this volume.
- readonly
if set, the container will have readonly access to the volume.
- Default:
false