AWS SDK Version 2 for .NET
API Reference

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.

.NET Framework 3.5
 
Container for the parameters to the RegisterTaskDefinition operation. 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 about task definition parameters and defaults, see Amazon ECS Task Definitions in the Amazon EC2 Container Service Developer Guide.

Inheritance Hierarchy

System.Object
  Amazon.Runtime.AmazonWebServiceRequest
    Amazon.ECS.AmazonECSRequest
      Amazon.ECS.Model.RegisterTaskDefinitionRequest

Namespace: Amazon.ECS.Model
Assembly: AWSSDK.dll
Version: (assembly version)

Syntax

C#
public class RegisterTaskDefinitionRequest : AmazonECSRequest
         IRequestEvents

The RegisterTaskDefinitionRequest type exposes the following members

Constructors

Properties

NameTypeDescription
Public Property 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.

Public Property Family System.String Gets and sets the property Family.

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

Public Property 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.

Version Information

.NET Framework:
Supported in: 4.5, 4.0, 3.5

.NET for Windows Store apps:
Supported in: Windows 8