Show / Hide Table of Contents

Class TaskDefinitionState

Inheritance
System.Object
InputArgs
ResourceArgs
TaskDefinitionState
Inherited Members
ResourceArgs.Empty
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.Aws.Ecs
Assembly: Pulumi.Aws.dll
Syntax
public sealed class TaskDefinitionState : ResourceArgs

Constructors

View Source

TaskDefinitionState()

Declaration
public TaskDefinitionState()

Properties

View Source

Arn

Full ARN of the Task Definition (including both family and revision).

Declaration
public Input<string> Arn { get; set; }
Property Value
Type Description
Input<System.String>
View Source

ContainerDefinitions

A list of valid [container definitions] (http://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_ContainerDefinition.html) provided as a single valid JSON document. Please note that you should only provide values that are part of the container definition document. For a detailed description of what parameters are available, see the [Task Definition Parameters] (https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task_definition_parameters.html) section from the official Developer Guide.

Declaration
public Input<string> ContainerDefinitions { get; set; }
Property Value
Type Description
Input<System.String>
View Source

Cpu

The number of cpu units used by the task. If the requires_compatibilities is FARGATE this field is required.

Declaration
public Input<string> Cpu { get; set; }
Property Value
Type Description
Input<System.String>
View Source

ExecutionRoleArn

The Amazon Resource Name (ARN) of the task execution role that the Amazon ECS container agent and the Docker daemon can assume.

Declaration
public Input<string> ExecutionRoleArn { get; set; }
Property Value
Type Description
Input<System.String>
View Source

Family

A unique name for your task definition.

Declaration
public Input<string> Family { get; set; }
Property Value
Type Description
Input<System.String>
View Source

InferenceAccelerators

Configuration block(s) with Inference Accelerators settings. Detailed below.

Declaration
public InputList<TaskDefinitionInferenceAcceleratorGetArgs> InferenceAccelerators { get; set; }
Property Value
Type Description
InputList<TaskDefinitionInferenceAcceleratorGetArgs>
View Source

IpcMode

The IPC resource namespace to be used for the containers in the task The valid values are host, task, and none.

Declaration
public Input<string> IpcMode { get; set; }
Property Value
Type Description
Input<System.String>
View Source

Memory

The amount (in MiB) of memory used by the task. If the requires_compatibilities is FARGATE this field is required.

Declaration
public Input<string> Memory { get; set; }
Property Value
Type Description
Input<System.String>
View Source

NetworkMode

The Docker networking mode to use for the containers in the task. The valid values are none, bridge, awsvpc, and host.

Declaration
public Input<string> NetworkMode { get; set; }
Property Value
Type Description
Input<System.String>
View Source

PidMode

The process namespace to use for the containers in the task. The valid values are host and task.

Declaration
public Input<string> PidMode { get; set; }
Property Value
Type Description
Input<System.String>
View Source

PlacementConstraints

A set of placement constraints rules that are taken into consideration during task placement. Maximum number of placement_constraints is 10.

Declaration
public InputList<TaskDefinitionPlacementConstraintGetArgs> PlacementConstraints { get; set; }
Property Value
Type Description
InputList<TaskDefinitionPlacementConstraintGetArgs>
View Source

ProxyConfiguration

The proxy configuration details for the App Mesh proxy.

Declaration
public Input<TaskDefinitionProxyConfigurationGetArgs> ProxyConfiguration { get; set; }
Property Value
Type Description
Input<TaskDefinitionProxyConfigurationGetArgs>
View Source

RequiresCompatibilities

A set of launch types required by the task. The valid values are EC2 and FARGATE.

Declaration
public InputList<string> RequiresCompatibilities { get; set; }
Property Value
Type Description
InputList<System.String>
View Source

Revision

The revision of the task in a particular family.

Declaration
public Input<int> Revision { get; set; }
Property Value
Type Description
Input<System.Int32>
View Source

Tags

Key-value map of resource tags

Declaration
public InputMap<object> Tags { get; set; }
Property Value
Type Description
InputMap<System.Object>
View Source

TaskRoleArn

The ARN of IAM role that allows your Amazon ECS container task to make calls to other AWS services.

Declaration
public Input<string> TaskRoleArn { get; set; }
Property Value
Type Description
Input<System.String>
View Source

Volumes

A set of volume blocks that containers in your task may use.

Declaration
public InputList<TaskDefinitionVolumeGetArgs> Volumes { get; set; }
Property Value
Type Description
InputList<TaskDefinitionVolumeGetArgs>
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.