AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
family
and containerDefinitions
.
Optionally, you can add data volumes to your containers with the volumes
parameter. For more information about task definition parameters and defaults, see
Amazon
ECS Task Definitions in the Amazon EC2 Container Service Developer Guide.
Namespace: Amazon.ECS.Model
Assembly: AWSSDK.dll
Version: (assembly version)
public class RegisterTaskDefinitionRequest : AmazonECSRequest IRequestEvents
The RegisterTaskDefinitionRequest type exposes the following members
Name | Description | |
---|---|---|
RegisterTaskDefinitionRequest() |
Name | Type | Description | |
---|---|---|---|
ContainerDefinitions | System.Collections.Generic.List<Amazon.ECS.Model.ContainerDefinition> |
Gets and sets the property ContainerDefinitions.
A list of container definitions in JSON format that describe the different containers that make up your task. |
|
Family | System.String |
Gets and sets the property Family.
You must specify a |
|
Volumes | System.Collections.Generic.List<Amazon.ECS.Model.Volume> |
Gets and sets the property Volumes.
A list of volume definitions in JSON format that containers in your task may use. |
.NET Framework:
Supported in: 4.5, 4.0, 3.5
.NET for Windows Store apps:
Supported in: Windows 8