Safe Haskell | None |
---|---|
Language | Haskell2010 |
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
- data RegisterTaskDefinition
- registerTaskDefinition :: Text -> RegisterTaskDefinition
- rtdContainerDefinitions :: Lens' RegisterTaskDefinition [ContainerDefinition]
- rtdFamily :: Lens' RegisterTaskDefinition Text
- rtdVolumes :: Lens' RegisterTaskDefinition [Volume]
- data RegisterTaskDefinitionResponse
- registerTaskDefinitionResponse :: RegisterTaskDefinitionResponse
- rtdrTaskDefinition :: Lens' RegisterTaskDefinitionResponse (Maybe TaskDefinition)
Request
data RegisterTaskDefinition Source
Request constructor
RegisterTaskDefinition
constructor.
The fields accessible through corresponding lenses are:
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
registerTaskDefinitionResponse :: RegisterTaskDefinitionResponse Source
RegisterTaskDefinitionResponse
constructor.
The fields accessible through corresponding lenses are: