This is the new Amazon CloudFormation Template Reference Guide. Please update your bookmarks and links. For help getting started with CloudFormation, see the Amazon CloudFormation User Guide.
AWS::ECS::TaskDefinition MountPoint
The details for a volume mount point that's used in a container definition.
Syntax
To declare this entity in your Amazon CloudFormation template, use the following syntax:
JSON
{ "ContainerPath" :String, "ReadOnly" :Boolean, "SourceVolume" :String}
YAML
ContainerPath:StringReadOnly:BooleanSourceVolume:String
Properties
ContainerPath-
The path on the container to mount the host volume at.
Required: No
Type: String
Update requires: Replacement
ReadOnly-
If this value is
true, the container has read-only access to the volume. If this value isfalse, then the container can write to the volume. The default value isfalse.Required: No
Type: Boolean
Update requires: Replacement
SourceVolume-
The name of the volume to mount. Must be a volume name referenced in the
nameparameter of task definitionvolume.Required: No
Type: String
Update requires: Replacement