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

Amazon Elastic Container Service TaskDefinition Volumes

Volumes is a property of the AWS::ECS::TaskDefinition resource that specifies a list of data volumes, which your containers can then access.

Syntax

JSON

{ "Name" : String, "Host" : Host }

YAML

Name: String Host: Host

Properties

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

Name

The name of the volume. To specify mount points in your container definitions, use the value of this property.

Required: Yes

Type: String

Host

Determines whether your data volume persists on the host container instance and at the location where it is stored.

Required: No

Type: Amazon Elastic Container Service TaskDefinition Volumes Host

On this page: