ScratchSpace

class aws_cdk.aws_ecs.ScratchSpace(*, container_path, name, read_only, source_path)

Bases: object

__init__(*, container_path, name, read_only, source_path)

The temporary disk space mounted to the container.

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

  • name (str) – The name of the scratch volume to mount. Must be a volume name referenced in the name parameter of task definition volume.

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

  • source_path (str) –

Attributes

container_path

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

Return type

str

name

The name of the scratch volume to mount.

Must be a volume name referenced in the name parameter of task definition volume.

Return type

str

read_only

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

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

Return type

bool

source_path
Return type

str