Menu
AWS CloudFormation
User Guide (API Version 2010-05-15)

Amazon Elastic Container Service TaskDefinition MountPoint

MountPoints is a property of the Amazon Elastic Container Service TaskDefinition ContainerDefinition property that specifies the mount points for data volumes in a container.

Syntax

JSON

Copy
{ "ContainerPath" : String, "SourceVolume" : String, "ReadOnly" : Boolean }

YAML

Copy
ContainerPath: String SourceVolume: String ReadOnly: Boolean

Properties

For more information about each property, see Task Definition Parameters in the Amazon Elastic Container Service Developer Guide.

ContainerPath

The path on the container that indicates where you want to mount the volume.

Required: Yes

Type: String

SourceVolume

The name of the volume to mount.

Required: Yes

Type: String

ReadOnly

Indicates whether the container can write to the volume. If you specify true, the container has read-only access to the volume. If you specify false, the container can write to the volume. By default, the value is false.

Required: No

Type: Boolean

On this page: