amazonka-ecs-0.3.4: Amazon EC2 Container Service SDK.

Safe HaskellNone
LanguageHaskell2010

Network.AWS.ECS.RegisterTaskDefinition

Contents

Description

Registers a new task definition from the supplied family and containerDefinitions. Optionally, you can add data volumes to your containers with the volumes parameter. For more information on task definition parameters and defaults, see Amazon ECS Task Definitions in the Amazon EC2 Container Service DeveloperGuide.

http://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_RegisterTaskDefinition.html

Synopsis

Request

Request constructor

Request lenses

rtdContainerDefinitions :: Lens' RegisterTaskDefinition [ContainerDefinition] Source

A list of container definitions in JSON format that describe the different containers that make up your task.

rtdFamily :: Lens' RegisterTaskDefinition Text Source

You must specify a family for a task definition, which allows you to track multiple versions of the same task definition. You can think of the family as a name for your task definition. Up to 255 letters (uppercase and lowercase), numbers, hyphens, and underscores are allowed.

rtdVolumes :: Lens' RegisterTaskDefinition [Volume] Source

A list of volume definitions in JSON format that containers in your task may use.

Response

Response constructor

Response lenses