Package com.pulumi.aws.ecs.outputs
Class GetTaskDefinitionResult
- java.lang.Object
-
- com.pulumi.aws.ecs.outputs.GetTaskDefinitionResult
-
public final class GetTaskDefinitionResult extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classGetTaskDefinitionResult.Builder
-
Method Summary
-
-
-
Method Detail
-
arn
public java.lang.String arn()
- Returns:
- ARN of the task definition.
-
arnWithoutRevision
public java.lang.String arnWithoutRevision()
- Returns:
- ARN of the Task Definition with the trailing `revision` removed. This may be useful for situations where the latest task definition is always desired. If a revision isn't specified, the latest ACTIVE revision is used. See the [AWS documentation](https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_StartTask.html#ECS-StartTask-request-taskDefinition) for details.
-
containerDefinitions
public java.lang.String containerDefinitions()
- Returns:
- 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](https://docs.aws.amazon.com/AmazonECS/latest/developerguide).
-
cpu
public java.lang.String cpu()
- Returns:
- Number of CPU units used by the task. If the `requiresCompatibilities` is `FARGATE` this field is required.
-
enableFaultInjection
public java.lang.Boolean enableFaultInjection()
- Returns:
- Enables fault injection and allows for fault injection requests to be accepted from the task's containers. Default is `false`.
-
ephemeralStorages
public java.util.List<GetTaskDefinitionEphemeralStorage> ephemeralStorages()
- Returns:
- Amount of ephemeral storage to allocate for the task. This parameter is used to expand the total amount of ephemeral storage available, beyond the default amount, for tasks hosted on AWS Fargate. See `ephemeralStorage` Block.
-
executionRoleArn
public java.lang.String executionRoleArn()
- Returns:
- ARN of the task execution role that the Amazon ECS container agent and the Docker daemon can assume.
-
family
public java.lang.String family()
- Returns:
- Unique name for your task definition. The following arguments are optional:
-
id
public java.lang.String id()
- Returns:
- The provider-assigned unique ID for this managed resource.
-
ipcMode
public java.lang.String ipcMode()
- Returns:
- IPC resource namespace to be used for the containers in the task The valid values are `host`, `task`, and `none`.
-
memory
public java.lang.String memory()
- Returns:
- Amount (in MiB) of memory used by the task. If the `requiresCompatibilities` is `FARGATE` this field is required.
-
networkMode
public java.lang.String networkMode()
- Returns:
- Docker networking mode to use for the containers in the task. Valid values are `none`, `bridge`, `awsvpc`, and `host`.
-
pidMode
public java.lang.String pidMode()
- Returns:
- Process namespace to use for the containers in the task. The valid values are `host` and `task`.
-
placementConstraints
public java.util.List<GetTaskDefinitionPlacementConstraint> placementConstraints()
- Returns:
- Configuration block for rules that are taken into consideration during task placement. Maximum number of `placementConstraints` is `10`. See `placementConstraints` Block.
-
proxyConfigurations
public java.util.List<GetTaskDefinitionProxyConfiguration> proxyConfigurations()
- Returns:
- Configuration block for the App Mesh proxy. See `proxyConfiguration` Block.
-
region
public java.lang.String region()
-
requiresCompatibilities
public java.util.List<java.lang.String> requiresCompatibilities()
- Returns:
- Set of launch types required by the task. The valid values are `EC2` and `FARGATE`.
-
revision
public java.lang.Integer revision()
- Returns:
- Revision of the task in a particular family.
-
runtimePlatforms
public java.util.List<GetTaskDefinitionRuntimePlatform> runtimePlatforms()
- Returns:
- Configuration block for runtimePlatform that containers in your task may use.
-
status
public java.lang.String status()
- Returns:
- Status of the task definition.
-
taskDefinition
public java.lang.String taskDefinition()
-
taskRoleArn
public java.lang.String taskRoleArn()
- Returns:
- ARN of IAM role that allows your Amazon ECS container task to make calls to other AWS services.
-
volumes
public java.util.List<GetTaskDefinitionVolume> volumes()
- Returns:
- Configuration block for volumes that containers in your task may use. See `volume` Block for details.
-
builder
public static GetTaskDefinitionResult.Builder builder()
-
builder
public static GetTaskDefinitionResult.Builder builder(GetTaskDefinitionResult defaults)
-
-