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

Amazon Elastic Container Service TaskDefinition VolumeFrom

VolumesFrom is a property of the Amazon Elastic Container Service TaskDefinition ContainerDefinition property that mounts data volumes from other containers.

Syntax

JSON

Copy
{ "SourceContainer" : String, "ReadOnly" : Boolean }

YAML

Copy
SourceContainer: String ReadOnly: Boolean

Properties

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

SourceContainer

The name of the container that has the volumes 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: