BaseMountPoint

class aws_cdk.aws_ecs.BaseMountPoint(*, container_path, read_only)

Bases: object

The base details of where a volume will be mounted within a container.

Parameters:
  • container_path (str) – The path on the container to mount the host volume at.

  • read_only (bool) – Specifies whether to give the container read-only access to the volume. If this value is true, the container has read-only access to the volume. If this value is false, then the container can write to the volume.

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_ecs as ecs

base_mount_point = ecs.BaseMountPoint(
    container_path="containerPath",
    read_only=False
)

Attributes

container_path

The path on the container to mount the host volume at.

read_only

Specifies whether to give the container read-only access to the volume.

If this value is true, the container has read-only access to the volume. If this value is false, then the container can write to the volume.