Viewing docs for AWS v7.43.0
published on Thursday, Aug 20, 2026 by Pulumi
published on Thursday, Aug 20, 2026 by Pulumi
Viewing docs for AWS v7.43.0
published on Thursday, Aug 20, 2026 by Pulumi
published on Thursday, Aug 20, 2026 by Pulumi
The ECS task definition data source allows access to details of a specific AWS ECS task definition.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const mongoTaskDefinition = new aws.ecs.TaskDefinition("mongo", {
family: "mongodb",
containerDefinitions: `[
{
\\"cpu\\": 128,
\\"environment\\": [{
\\"name\\": \\"SECRET\\",
\\"value\\": \\"KEY\\"
}],
\\"essential\\": true,
\\"image\\": \\"mongo:latest\\",
\\"memory\\": 128,
\\"memoryReservation\\": 64,
\\"name\\": \\"mongodb\\"
}
]
`,
});
// Simply specify the family to find the latest ACTIVE revision in that family.
const mongo = aws.ecs.getTaskDefinitionOutput({
taskDefinition: mongoTaskDefinition.family,
});
const foo = new aws.ecs.Cluster("foo", {name: "foo"});
const mongoService = new aws.ecs.Service("mongo", {
name: "mongo",
cluster: foo.id,
desiredCount: 2,
taskDefinition: mongo.arn,
});
import pulumi
import pulumi_aws as aws
mongo_task_definition = aws.ecs.TaskDefinition("mongo",
family="mongodb",
container_definitions="""[
{
\"cpu\": 128,
\"environment\": [{
\"name\": \"SECRET\",
\"value\": \"KEY\"
}],
\"essential\": true,
\"image\": \"mongo:latest\",
\"memory\": 128,
\"memoryReservation\": 64,
\"name\": \"mongodb\"
}
]
""")
# Simply specify the family to find the latest ACTIVE revision in that family.
mongo = aws.ecs.get_task_definition_output(task_definition=mongo_task_definition.family)
foo = aws.ecs.Cluster("foo", name="foo")
mongo_service = aws.ecs.Service("mongo",
name="mongo",
cluster=foo.id,
desired_count=2,
task_definition=mongo.arn)
package main
import (
"github.com/pulumi/pulumi-aws/sdk/v7/go/aws/ecs"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
mongoTaskDefinition, err := ecs.NewTaskDefinition(ctx, "mongo", &ecs.TaskDefinitionArgs{
Family: pulumi.String("mongodb"),
ContainerDefinitions: pulumi.String(`[
{
\"cpu\": 128,
\"environment\": [{
\"name\": \"SECRET\",
\"value\": \"KEY\"
}],
\"essential\": true,
\"image\": \"mongo:latest\",
\"memory\": 128,
\"memoryReservation\": 64,
\"name\": \"mongodb\"
}
]
`),
})
if err != nil {
return err
}
// Simply specify the family to find the latest ACTIVE revision in that family.
mongo := ecs.LookupTaskDefinitionOutput(ctx, ecs.GetTaskDefinitionOutputArgs{
TaskDefinition: mongoTaskDefinition.Family,
}, nil)
foo, err := ecs.NewCluster(ctx, "foo", &ecs.ClusterArgs{
Name: pulumi.String("foo"),
})
if err != nil {
return err
}
_, err = ecs.NewService(ctx, "mongo", &ecs.ServiceArgs{
Name: pulumi.String("mongo"),
Cluster: foo.ID().ToIDOutput().ToStringOutput(),
DesiredCount: pulumi.Int(2),
TaskDefinition: mongo.Arn(),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;
return await Deployment.RunAsync(() =>
{
var mongoTaskDefinition = new Aws.Ecs.TaskDefinition("mongo", new()
{
Family = "mongodb",
ContainerDefinitions = @"[
{
\""cpu\"": 128,
\""environment\"": [{
\""name\"": \""SECRET\"",
\""value\"": \""KEY\""
}],
\""essential\"": true,
\""image\"": \""mongo:latest\"",
\""memory\"": 128,
\""memoryReservation\"": 64,
\""name\"": \""mongodb\""
}
]
",
});
// Simply specify the family to find the latest ACTIVE revision in that family.
var mongo = Aws.Ecs.GetTaskDefinition.Invoke(new()
{
TaskDefinition = mongoTaskDefinition.Family,
});
var foo = new Aws.Ecs.Cluster("foo", new()
{
Name = "foo",
});
var mongoService = new Aws.Ecs.Service("mongo", new()
{
Name = "mongo",
Cluster = foo.Id,
DesiredCount = 2,
TaskDefinition = mongo.Apply(getTaskDefinitionResult => getTaskDefinitionResult.Arn),
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.ecs.TaskDefinition;
import com.pulumi.aws.ecs.TaskDefinitionArgs;
import com.pulumi.aws.ecs.EcsFunctions;
import com.pulumi.aws.ecs.inputs.GetTaskDefinitionArgs;
import com.pulumi.aws.ecs.Cluster;
import com.pulumi.aws.ecs.ClusterArgs;
import com.pulumi.aws.ecs.Service;
import com.pulumi.aws.ecs.ServiceArgs;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var mongoTaskDefinition = new TaskDefinition("mongoTaskDefinition", TaskDefinitionArgs.builder()
.family("mongodb")
.containerDefinitions("""
[
{
\"cpu\": 128,
\"environment\": [{
\"name\": \"SECRET\",
\"value\": \"KEY\"
}],
\"essential\": true,
\"image\": \"mongo:latest\",
\"memory\": 128,
\"memoryReservation\": 64,
\"name\": \"mongodb\"
}
]
""")
.build());
// Simply specify the family to find the latest ACTIVE revision in that family.
final var mongo = EcsFunctions.getTaskDefinition(GetTaskDefinitionArgs.builder()
.taskDefinition(mongoTaskDefinition.family())
.build());
var foo = new Cluster("foo", ClusterArgs.builder()
.name("foo")
.build());
var mongoService = new Service("mongoService", ServiceArgs.builder()
.name("mongo")
.cluster(foo.id())
.desiredCount(2)
.taskDefinition(mongo.applyValue(_mongo -> _mongo.arn()))
.build());
}
}
resources:
foo:
type: aws:ecs:Cluster
properties:
name: foo
mongoTaskDefinition:
type: aws:ecs:TaskDefinition
name: mongo
properties:
family: mongodb
containerDefinitions: |
[
{
\"cpu\": 128,
\"environment\": [{
\"name\": \"SECRET\",
\"value\": \"KEY\"
}],
\"essential\": true,
\"image\": \"mongo:latest\",
\"memory\": 128,
\"memoryReservation\": 64,
\"name\": \"mongodb\"
}
]
mongoService:
type: aws:ecs:Service
name: mongo
properties:
name: mongo
cluster: ${foo.id}
desiredCount: 2 # Track the latest ACTIVE revision
taskDefinition: ${mongo.arn}
variables:
# Simply specify the family to find the latest ACTIVE revision in that family.
mongo:
fn::invoke:
function: aws:ecs:getTaskDefinition
arguments:
taskDefinition: ${mongoTaskDefinition.family}
pulumi {
required_providers {
aws = {
source = "pulumi/aws"
}
}
}
data "aws_ecs_gettaskdefinition" "mongo" {
task_definition = aws_ecs_taskdefinition.mongo.family
}
resource "aws_ecs_cluster" "foo" {
name = "foo"
}
resource "aws_ecs_taskdefinition" "mongo" {
family = "mongodb"
container_definitions = "[\n {\n \\\"cpu\\\": 128,\n \\\"environment\\\": [{\n \\\"name\\\": \\\"SECRET\\\",\n \\\"value\\\": \\\"KEY\\\"\n }],\n \\\"essential\\\": true,\n \\\"image\\\": \\\"mongo:latest\\\",\n \\\"memory\\\": 128,\n \\\"memoryReservation\\\": 64,\n \\\"name\\\": \\\"mongodb\\\"\n }\n]\n"
}
resource "aws_ecs_service" "mongo" {
name = "mongo"
cluster = aws_ecs_cluster.foo.id
desired_count = 2
# Track the latest ACTIVE revision
task_definition = data.aws_ecs_gettaskdefinition.mongo.arn
}
# Simply specify the family to find the latest ACTIVE revision in that family.
Using getTaskDefinition
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getTaskDefinition(args: GetTaskDefinitionArgs, opts?: InvokeOptions): Promise<GetTaskDefinitionResult>
function getTaskDefinitionOutput(args: GetTaskDefinitionOutputArgs, opts?: InvokeOutputOptions): Output<GetTaskDefinitionResult>def get_task_definition(region: Optional[str] = None,
task_definition: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetTaskDefinitionResult
def get_task_definition_output(region: pulumi.Input[Optional[str]] = None,
task_definition: pulumi.Input[Optional[str]] = None,
opts: Optional[InvokeOutputOptions] = None) -> Output[GetTaskDefinitionResult]func LookupTaskDefinition(ctx *Context, args *LookupTaskDefinitionArgs, opts ...InvokeOption) (*LookupTaskDefinitionResult, error)
func LookupTaskDefinitionOutput(ctx *Context, args *LookupTaskDefinitionOutputArgs, opts ...InvokeOption) LookupTaskDefinitionResultOutput> Note: This function is named LookupTaskDefinition in the Go SDK.
public static class GetTaskDefinition
{
public static Task<GetTaskDefinitionResult> InvokeAsync(GetTaskDefinitionArgs args, InvokeOptions? opts = null)
public static Output<GetTaskDefinitionResult> Invoke(GetTaskDefinitionInvokeArgs args, InvokeOptions? opts = null)
public static Output<GetTaskDefinitionResult> Invoke(GetTaskDefinitionInvokeArgs args, InvokeOutputOptions opts)
}public static CompletableFuture<GetTaskDefinitionResult> getTaskDefinition(GetTaskDefinitionArgs args, InvokeOptions options)
public static Output<GetTaskDefinitionResult> getTaskDefinition(GetTaskDefinitionArgs args, InvokeOptions options)
public static Output<GetTaskDefinitionResult> getTaskDefinition(GetTaskDefinitionArgs args, InvokeOutputOptions options)
fn::invoke:
function: aws:ecs/getTaskDefinition:getTaskDefinition
arguments:
# arguments dictionarydata "aws_ecs_get_task_definition" "name" {
# arguments
}The following arguments are supported:
- Task
Definition string - Family for the latest ACTIVE revision, family and revision (family:revision) for a specific revision in the family, the ARN of the task definition to access to.
- Region string
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- Task
Definition string - Family for the latest ACTIVE revision, family and revision (family:revision) for a specific revision in the family, the ARN of the task definition to access to.
- Region string
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- task_
definition string - Family for the latest ACTIVE revision, family and revision (family:revision) for a specific revision in the family, the ARN of the task definition to access to.
- region string
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- task
Definition String - Family for the latest ACTIVE revision, family and revision (family:revision) for a specific revision in the family, the ARN of the task definition to access to.
- region String
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- task
Definition string - Family for the latest ACTIVE revision, family and revision (family:revision) for a specific revision in the family, the ARN of the task definition to access to.
- region string
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- task_
definition str - Family for the latest ACTIVE revision, family and revision (family:revision) for a specific revision in the family, the ARN of the task definition to access to.
- region str
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- task
Definition String - Family for the latest ACTIVE revision, family and revision (family:revision) for a specific revision in the family, the ARN of the task definition to access to.
- region String
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
getTaskDefinition Result
The following output properties are available:
- Arn string
- ARN of the task definition.
- Arn
Without stringRevision - ARN of the Task Definition with the trailing
revisionremoved. 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 for details. - Container
Definitions string - List of valid container definitions 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 section from the official Developer Guide.
- Cpu string
- Number of cpu units used by the task. If the
requiresCompatibilitiesisFARGATEthis field is required. - Enable
Fault boolInjection - Enables fault injection and allows for fault injection requests to be accepted from the task's containers. Default is
false. - Ephemeral
Storages List<GetTask Definition Ephemeral Storage> - 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
ephemeralStorageBlock. - Execution
Role stringArn - ARN of the task execution role that the Amazon ECS container agent and the Docker daemon can assume.
- Family string
- Unique name for your task definition. The following arguments are optional:
- Id string
- The provider-assigned unique ID for this managed resource.
- Ipc
Mode string - IPC resource namespace to be used for the containers in the task The valid values are
host,task, andnone. - Memory string
- Amount (in MiB) of memory used by the task. If the
requiresCompatibilitiesisFARGATEthis field is required. - Network
Mode string - Docker networking mode to use for the containers in the task. Valid values are
none,bridge,awsvpc, andhost. - Pid
Mode string - Process namespace to use for the containers in the task. The valid values are
hostandtask. - Placement
Constraints List<GetTask Definition Placement Constraint> - Configuration block for rules that are taken into consideration during task placement. Maximum number of
placementConstraintsis10. SeeplacementConstraintsBlock. - Proxy
Configurations List<GetTask Definition Proxy Configuration> - Configuration block for the App Mesh proxy. See
proxyConfigurationBlock. - Region string
- Requires
Compatibilities List<string> - Set of launch types required by the task. The valid values are
EC2andFARGATE. - Revision int
- Revision of the task in a particular family.
- Runtime
Platforms List<GetTask Definition Runtime Platform> - Configuration block for runtimePlatform that containers in your task may use.
- Status string
- Status of the task definition.
- Task
Definition string - Task
Role stringArn - ARN of IAM role that allows your Amazon ECS container task to make calls to other AWS services.
- Volumes
List<Get
Task Definition Volume> - Configuration block for volumes that containers in your task may use. See
volumeBlock for details.
- Arn string
- ARN of the task definition.
- Arn
Without stringRevision - ARN of the Task Definition with the trailing
revisionremoved. 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 for details. - Container
Definitions string - List of valid container definitions 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 section from the official Developer Guide.
- Cpu string
- Number of cpu units used by the task. If the
requiresCompatibilitiesisFARGATEthis field is required. - Enable
Fault boolInjection - Enables fault injection and allows for fault injection requests to be accepted from the task's containers. Default is
false. - Ephemeral
Storages []GetTask Definition Ephemeral Storage - 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
ephemeralStorageBlock. - Execution
Role stringArn - ARN of the task execution role that the Amazon ECS container agent and the Docker daemon can assume.
- Family string
- Unique name for your task definition. The following arguments are optional:
- Id string
- The provider-assigned unique ID for this managed resource.
- Ipc
Mode string - IPC resource namespace to be used for the containers in the task The valid values are
host,task, andnone. - Memory string
- Amount (in MiB) of memory used by the task. If the
requiresCompatibilitiesisFARGATEthis field is required. - Network
Mode string - Docker networking mode to use for the containers in the task. Valid values are
none,bridge,awsvpc, andhost. - Pid
Mode string - Process namespace to use for the containers in the task. The valid values are
hostandtask. - Placement
Constraints []GetTask Definition Placement Constraint - Configuration block for rules that are taken into consideration during task placement. Maximum number of
placementConstraintsis10. SeeplacementConstraintsBlock. - Proxy
Configurations []GetTask Definition Proxy Configuration - Configuration block for the App Mesh proxy. See
proxyConfigurationBlock. - Region string
- Requires
Compatibilities []string - Set of launch types required by the task. The valid values are
EC2andFARGATE. - Revision int
- Revision of the task in a particular family.
- Runtime
Platforms []GetTask Definition Runtime Platform - Configuration block for runtimePlatform that containers in your task may use.
- Status string
- Status of the task definition.
- Task
Definition string - Task
Role stringArn - ARN of IAM role that allows your Amazon ECS container task to make calls to other AWS services.
- Volumes
[]Get
Task Definition Volume - Configuration block for volumes that containers in your task may use. See
volumeBlock for details.
- arn string
- ARN of the task definition.
- arn_
without_ stringrevision - ARN of the Task Definition with the trailing
revisionremoved. 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 for details. - container_
definitions string - List of valid container definitions 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 section from the official Developer Guide.
- cpu string
- Number of cpu units used by the task. If the
requiresCompatibilitiesisFARGATEthis field is required. - enable_
fault_ boolinjection - Enables fault injection and allows for fault injection requests to be accepted from the task's containers. Default is
false. - ephemeral_
storages list(object) - 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
ephemeralStorageBlock. - execution_
role_ stringarn - ARN of the task execution role that the Amazon ECS container agent and the Docker daemon can assume.
- family string
- Unique name for your task definition. The following arguments are optional:
- id string
- The provider-assigned unique ID for this managed resource.
- ipc_
mode string - IPC resource namespace to be used for the containers in the task The valid values are
host,task, andnone. - memory string
- Amount (in MiB) of memory used by the task. If the
requiresCompatibilitiesisFARGATEthis field is required. - network_
mode string - Docker networking mode to use for the containers in the task. Valid values are
none,bridge,awsvpc, andhost. - pid_
mode string - Process namespace to use for the containers in the task. The valid values are
hostandtask. - placement_
constraints list(object) - Configuration block for rules that are taken into consideration during task placement. Maximum number of
placementConstraintsis10. SeeplacementConstraintsBlock. - proxy_
configurations list(object) - Configuration block for the App Mesh proxy. See
proxyConfigurationBlock. - region string
- requires_
compatibilities list(string) - Set of launch types required by the task. The valid values are
EC2andFARGATE. - revision number
- Revision of the task in a particular family.
- runtime_
platforms list(object) - Configuration block for runtimePlatform that containers in your task may use.
- status string
- Status of the task definition.
- task_
definition string - task_
role_ stringarn - ARN of IAM role that allows your Amazon ECS container task to make calls to other AWS services.
- volumes list(object)
- Configuration block for volumes that containers in your task may use. See
volumeBlock for details.
- arn String
- ARN of the task definition.
- arn
Without StringRevision - ARN of the Task Definition with the trailing
revisionremoved. 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 for details. - container
Definitions String - List of valid container definitions 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 section from the official Developer Guide.
- cpu String
- Number of cpu units used by the task. If the
requiresCompatibilitiesisFARGATEthis field is required. - enable
Fault BooleanInjection - Enables fault injection and allows for fault injection requests to be accepted from the task's containers. Default is
false. - ephemeral
Storages List<GetTask Definition Ephemeral Storage> - 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
ephemeralStorageBlock. - execution
Role StringArn - ARN of the task execution role that the Amazon ECS container agent and the Docker daemon can assume.
- family String
- Unique name for your task definition. The following arguments are optional:
- id String
- The provider-assigned unique ID for this managed resource.
- ipc
Mode String - IPC resource namespace to be used for the containers in the task The valid values are
host,task, andnone. - memory String
- Amount (in MiB) of memory used by the task. If the
requiresCompatibilitiesisFARGATEthis field is required. - network
Mode String - Docker networking mode to use for the containers in the task. Valid values are
none,bridge,awsvpc, andhost. - pid
Mode String - Process namespace to use for the containers in the task. The valid values are
hostandtask. - placement
Constraints List<GetTask Definition Placement Constraint> - Configuration block for rules that are taken into consideration during task placement. Maximum number of
placementConstraintsis10. SeeplacementConstraintsBlock. - proxy
Configurations List<GetTask Definition Proxy Configuration> - Configuration block for the App Mesh proxy. See
proxyConfigurationBlock. - region String
- requires
Compatibilities List<String> - Set of launch types required by the task. The valid values are
EC2andFARGATE. - revision Integer
- Revision of the task in a particular family.
- runtime
Platforms List<GetTask Definition Runtime Platform> - Configuration block for runtimePlatform that containers in your task may use.
- status String
- Status of the task definition.
- task
Definition String - task
Role StringArn - ARN of IAM role that allows your Amazon ECS container task to make calls to other AWS services.
- volumes
List<Get
Task Definition Volume> - Configuration block for volumes that containers in your task may use. See
volumeBlock for details.
- arn string
- ARN of the task definition.
- arn
Without stringRevision - ARN of the Task Definition with the trailing
revisionremoved. 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 for details. - container
Definitions string - List of valid container definitions 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 section from the official Developer Guide.
- cpu string
- Number of cpu units used by the task. If the
requiresCompatibilitiesisFARGATEthis field is required. - enable
Fault booleanInjection - Enables fault injection and allows for fault injection requests to be accepted from the task's containers. Default is
false. - ephemeral
Storages GetTask Definition Ephemeral Storage[] - 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
ephemeralStorageBlock. - execution
Role stringArn - ARN of the task execution role that the Amazon ECS container agent and the Docker daemon can assume.
- family string
- Unique name for your task definition. The following arguments are optional:
- id string
- The provider-assigned unique ID for this managed resource.
- ipc
Mode string - IPC resource namespace to be used for the containers in the task The valid values are
host,task, andnone. - memory string
- Amount (in MiB) of memory used by the task. If the
requiresCompatibilitiesisFARGATEthis field is required. - network
Mode string - Docker networking mode to use for the containers in the task. Valid values are
none,bridge,awsvpc, andhost. - pid
Mode string - Process namespace to use for the containers in the task. The valid values are
hostandtask. - placement
Constraints GetTask Definition Placement Constraint[] - Configuration block for rules that are taken into consideration during task placement. Maximum number of
placementConstraintsis10. SeeplacementConstraintsBlock. - proxy
Configurations GetTask Definition Proxy Configuration[] - Configuration block for the App Mesh proxy. See
proxyConfigurationBlock. - region string
- requires
Compatibilities string[] - Set of launch types required by the task. The valid values are
EC2andFARGATE. - revision number
- Revision of the task in a particular family.
- runtime
Platforms GetTask Definition Runtime Platform[] - Configuration block for runtimePlatform that containers in your task may use.
- status string
- Status of the task definition.
- task
Definition string - task
Role stringArn - ARN of IAM role that allows your Amazon ECS container task to make calls to other AWS services.
- volumes
Get
Task Definition Volume[] - Configuration block for volumes that containers in your task may use. See
volumeBlock for details.
- arn str
- ARN of the task definition.
- arn_
without_ strrevision - ARN of the Task Definition with the trailing
revisionremoved. 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 for details. - container_
definitions str - List of valid container definitions 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 section from the official Developer Guide.
- cpu str
- Number of cpu units used by the task. If the
requiresCompatibilitiesisFARGATEthis field is required. - enable_
fault_ boolinjection - Enables fault injection and allows for fault injection requests to be accepted from the task's containers. Default is
false. - ephemeral_
storages Sequence[GetTask Definition Ephemeral Storage] - 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
ephemeralStorageBlock. - execution_
role_ strarn - ARN of the task execution role that the Amazon ECS container agent and the Docker daemon can assume.
- family str
- Unique name for your task definition. The following arguments are optional:
- id str
- The provider-assigned unique ID for this managed resource.
- ipc_
mode str - IPC resource namespace to be used for the containers in the task The valid values are
host,task, andnone. - memory str
- Amount (in MiB) of memory used by the task. If the
requiresCompatibilitiesisFARGATEthis field is required. - network_
mode str - Docker networking mode to use for the containers in the task. Valid values are
none,bridge,awsvpc, andhost. - pid_
mode str - Process namespace to use for the containers in the task. The valid values are
hostandtask. - placement_
constraints Sequence[GetTask Definition Placement Constraint] - Configuration block for rules that are taken into consideration during task placement. Maximum number of
placementConstraintsis10. SeeplacementConstraintsBlock. - proxy_
configurations Sequence[GetTask Definition Proxy Configuration] - Configuration block for the App Mesh proxy. See
proxyConfigurationBlock. - region str
- requires_
compatibilities Sequence[str] - Set of launch types required by the task. The valid values are
EC2andFARGATE. - revision int
- Revision of the task in a particular family.
- runtime_
platforms Sequence[GetTask Definition Runtime Platform] - Configuration block for runtimePlatform that containers in your task may use.
- status str
- Status of the task definition.
- task_
definition str - task_
role_ strarn - ARN of IAM role that allows your Amazon ECS container task to make calls to other AWS services.
- volumes
Sequence[Get
Task Definition Volume] - Configuration block for volumes that containers in your task may use. See
volumeBlock for details.
- arn String
- ARN of the task definition.
- arn
Without StringRevision - ARN of the Task Definition with the trailing
revisionremoved. 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 for details. - container
Definitions String - List of valid container definitions 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 section from the official Developer Guide.
- cpu String
- Number of cpu units used by the task. If the
requiresCompatibilitiesisFARGATEthis field is required. - enable
Fault BooleanInjection - Enables fault injection and allows for fault injection requests to be accepted from the task's containers. Default is
false. - ephemeral
Storages List<Property Map> - 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
ephemeralStorageBlock. - execution
Role StringArn - ARN of the task execution role that the Amazon ECS container agent and the Docker daemon can assume.
- family String
- Unique name for your task definition. The following arguments are optional:
- id String
- The provider-assigned unique ID for this managed resource.
- ipc
Mode String - IPC resource namespace to be used for the containers in the task The valid values are
host,task, andnone. - memory String
- Amount (in MiB) of memory used by the task. If the
requiresCompatibilitiesisFARGATEthis field is required. - network
Mode String - Docker networking mode to use for the containers in the task. Valid values are
none,bridge,awsvpc, andhost. - pid
Mode String - Process namespace to use for the containers in the task. The valid values are
hostandtask. - placement
Constraints List<Property Map> - Configuration block for rules that are taken into consideration during task placement. Maximum number of
placementConstraintsis10. SeeplacementConstraintsBlock. - proxy
Configurations List<Property Map> - Configuration block for the App Mesh proxy. See
proxyConfigurationBlock. - region String
- requires
Compatibilities List<String> - Set of launch types required by the task. The valid values are
EC2andFARGATE. - revision Number
- Revision of the task in a particular family.
- runtime
Platforms List<Property Map> - Configuration block for runtimePlatform that containers in your task may use.
- status String
- Status of the task definition.
- task
Definition String - task
Role StringArn - ARN of IAM role that allows your Amazon ECS container task to make calls to other AWS services.
- volumes List<Property Map>
- Configuration block for volumes that containers in your task may use. See
volumeBlock for details.
Supporting Types
GetTaskDefinitionEphemeralStorage
- Size
In intGib - Total amount, in GiB, of ephemeral storage to set for the task. The minimum supported value is
21GiB and the maximum supported value is200GiB.
- Size
In intGib - Total amount, in GiB, of ephemeral storage to set for the task. The minimum supported value is
21GiB and the maximum supported value is200GiB.
- size_
in_ numbergib - Total amount, in GiB, of ephemeral storage to set for the task. The minimum supported value is
21GiB and the maximum supported value is200GiB.
- size
In IntegerGib - Total amount, in GiB, of ephemeral storage to set for the task. The minimum supported value is
21GiB and the maximum supported value is200GiB.
- size
In numberGib - Total amount, in GiB, of ephemeral storage to set for the task. The minimum supported value is
21GiB and the maximum supported value is200GiB.
- size_
in_ intgib - Total amount, in GiB, of ephemeral storage to set for the task. The minimum supported value is
21GiB and the maximum supported value is200GiB.
- size
In NumberGib - Total amount, in GiB, of ephemeral storage to set for the task. The minimum supported value is
21GiB and the maximum supported value is200GiB.
GetTaskDefinitionPlacementConstraint
- Expression string
- Cluster Query Language expression to apply to the constraint. For more information, see Cluster Query Language in the Amazon EC2 Container Service Developer Guide.
- Type string
- Proxy type. The default value is
APPMESH. The only supported value isAPPMESH.
- Expression string
- Cluster Query Language expression to apply to the constraint. For more information, see Cluster Query Language in the Amazon EC2 Container Service Developer Guide.
- Type string
- Proxy type. The default value is
APPMESH. The only supported value isAPPMESH.
- expression string
- Cluster Query Language expression to apply to the constraint. For more information, see Cluster Query Language in the Amazon EC2 Container Service Developer Guide.
- type string
- Proxy type. The default value is
APPMESH. The only supported value isAPPMESH.
- expression String
- Cluster Query Language expression to apply to the constraint. For more information, see Cluster Query Language in the Amazon EC2 Container Service Developer Guide.
- type String
- Proxy type. The default value is
APPMESH. The only supported value isAPPMESH.
- expression string
- Cluster Query Language expression to apply to the constraint. For more information, see Cluster Query Language in the Amazon EC2 Container Service Developer Guide.
- type string
- Proxy type. The default value is
APPMESH. The only supported value isAPPMESH.
- expression str
- Cluster Query Language expression to apply to the constraint. For more information, see Cluster Query Language in the Amazon EC2 Container Service Developer Guide.
- type str
- Proxy type. The default value is
APPMESH. The only supported value isAPPMESH.
- expression String
- Cluster Query Language expression to apply to the constraint. For more information, see Cluster Query Language in the Amazon EC2 Container Service Developer Guide.
- type String
- Proxy type. The default value is
APPMESH. The only supported value isAPPMESH.
GetTaskDefinitionProxyConfiguration
- Container
Name string - Name of the container that will serve as the App Mesh proxy.
- Properties Dictionary<string, string>
- Set of network configuration parameters to provide the Container Network Interface (CNI) plugin, specified a key-value mapping.
- Type string
- Proxy type. The default value is
APPMESH. The only supported value isAPPMESH.
- Container
Name string - Name of the container that will serve as the App Mesh proxy.
- Properties map[string]string
- Set of network configuration parameters to provide the Container Network Interface (CNI) plugin, specified a key-value mapping.
- Type string
- Proxy type. The default value is
APPMESH. The only supported value isAPPMESH.
- container_
name string - Name of the container that will serve as the App Mesh proxy.
- properties map(string)
- Set of network configuration parameters to provide the Container Network Interface (CNI) plugin, specified a key-value mapping.
- type string
- Proxy type. The default value is
APPMESH. The only supported value isAPPMESH.
- container
Name String - Name of the container that will serve as the App Mesh proxy.
- properties Map<String,String>
- Set of network configuration parameters to provide the Container Network Interface (CNI) plugin, specified a key-value mapping.
- type String
- Proxy type. The default value is
APPMESH. The only supported value isAPPMESH.
- container
Name string - Name of the container that will serve as the App Mesh proxy.
- properties {[key: string]: string}
- Set of network configuration parameters to provide the Container Network Interface (CNI) plugin, specified a key-value mapping.
- type string
- Proxy type. The default value is
APPMESH. The only supported value isAPPMESH.
- container_
name str - Name of the container that will serve as the App Mesh proxy.
- properties Mapping[str, str]
- Set of network configuration parameters to provide the Container Network Interface (CNI) plugin, specified a key-value mapping.
- type str
- Proxy type. The default value is
APPMESH. The only supported value isAPPMESH.
- container
Name String - Name of the container that will serve as the App Mesh proxy.
- properties Map<String>
- Set of network configuration parameters to provide the Container Network Interface (CNI) plugin, specified a key-value mapping.
- type String
- Proxy type. The default value is
APPMESH. The only supported value isAPPMESH.
GetTaskDefinitionRuntimePlatform
- Cpu
Architecture string - Must be set to either
X86_64orARM64; see cpu architecture - Operating
System stringFamily - If the
requiresCompatibilitiesisFARGATEthis field is required; must be set to a valid option from the operating system family in the runtime platform setting
- Cpu
Architecture string - Must be set to either
X86_64orARM64; see cpu architecture - Operating
System stringFamily - If the
requiresCompatibilitiesisFARGATEthis field is required; must be set to a valid option from the operating system family in the runtime platform setting
- cpu_
architecture string - Must be set to either
X86_64orARM64; see cpu architecture - operating_
system_ stringfamily - If the
requiresCompatibilitiesisFARGATEthis field is required; must be set to a valid option from the operating system family in the runtime platform setting
- cpu
Architecture String - Must be set to either
X86_64orARM64; see cpu architecture - operating
System StringFamily - If the
requiresCompatibilitiesisFARGATEthis field is required; must be set to a valid option from the operating system family in the runtime platform setting
- cpu
Architecture string - Must be set to either
X86_64orARM64; see cpu architecture - operating
System stringFamily - If the
requiresCompatibilitiesisFARGATEthis field is required; must be set to a valid option from the operating system family in the runtime platform setting
- cpu_
architecture str - Must be set to either
X86_64orARM64; see cpu architecture - operating_
system_ strfamily - If the
requiresCompatibilitiesisFARGATEthis field is required; must be set to a valid option from the operating system family in the runtime platform setting
- cpu
Architecture String - Must be set to either
X86_64orARM64; see cpu architecture - operating
System StringFamily - If the
requiresCompatibilitiesisFARGATEthis field is required; must be set to a valid option from the operating system family in the runtime platform setting
GetTaskDefinitionVolume
- Configure
At boolLaunch - Whether the volume is configured at launch time.
- Docker
Volume List<GetConfigurations Task Definition Volume Docker Volume Configuration> - Configuration block for a Docker volume. See
dockerVolumeConfigurationBlock for details. - Efs
Volume List<GetConfigurations Task Definition Volume Efs Volume Configuration> - Configuration block for an EFS volume. See
efsVolumeConfigurationBlock for details. - Fsx
Windows List<GetFile Server Volume Configurations Task Definition Volume Fsx Windows File Server Volume Configuration> - Configuration block for an FSx for Windows File Server volume. See
fsxWindowsFileServerVolumeConfigurationBlock for details. - Host
Path string - Path on the host container instance that is presented to the container.
- Name string
- Name of the volume.
- S3files
Volume List<GetConfigurations Task Definition Volume S3files Volume Configuration> - Configuration block for an S3 Files volume. See
s3filesVolumeConfigurationBlock for details.
- Configure
At boolLaunch - Whether the volume is configured at launch time.
- Docker
Volume []GetConfigurations Task Definition Volume Docker Volume Configuration - Configuration block for a Docker volume. See
dockerVolumeConfigurationBlock for details. - Efs
Volume []GetConfigurations Task Definition Volume Efs Volume Configuration - Configuration block for an EFS volume. See
efsVolumeConfigurationBlock for details. - Fsx
Windows []GetFile Server Volume Configurations Task Definition Volume Fsx Windows File Server Volume Configuration - Configuration block for an FSx for Windows File Server volume. See
fsxWindowsFileServerVolumeConfigurationBlock for details. - Host
Path string - Path on the host container instance that is presented to the container.
- Name string
- Name of the volume.
- S3files
Volume []GetConfigurations Task Definition Volume S3files Volume Configuration - Configuration block for an S3 Files volume. See
s3filesVolumeConfigurationBlock for details.
- configure_
at_ boollaunch - Whether the volume is configured at launch time.
- docker_
volume_ list(object)configurations - Configuration block for a Docker volume. See
dockerVolumeConfigurationBlock for details. - efs_
volume_ list(object)configurations - Configuration block for an EFS volume. See
efsVolumeConfigurationBlock for details. - fsx_
windows_ list(object)file_ server_ volume_ configurations - Configuration block for an FSx for Windows File Server volume. See
fsxWindowsFileServerVolumeConfigurationBlock for details. - host_
path string - Path on the host container instance that is presented to the container.
- name string
- Name of the volume.
- s3files_
volume_ list(object)configurations - Configuration block for an S3 Files volume. See
s3filesVolumeConfigurationBlock for details.
- configure
At BooleanLaunch - Whether the volume is configured at launch time.
- docker
Volume List<GetConfigurations Task Definition Volume Docker Volume Configuration> - Configuration block for a Docker volume. See
dockerVolumeConfigurationBlock for details. - efs
Volume List<GetConfigurations Task Definition Volume Efs Volume Configuration> - Configuration block for an EFS volume. See
efsVolumeConfigurationBlock for details. - fsx
Windows List<GetFile Server Volume Configurations Task Definition Volume Fsx Windows File Server Volume Configuration> - Configuration block for an FSx for Windows File Server volume. See
fsxWindowsFileServerVolumeConfigurationBlock for details. - host
Path String - Path on the host container instance that is presented to the container.
- name String
- Name of the volume.
- s3files
Volume List<GetConfigurations Task Definition Volume S3files Volume Configuration> - Configuration block for an S3 Files volume. See
s3filesVolumeConfigurationBlock for details.
- configure
At booleanLaunch - Whether the volume is configured at launch time.
- docker
Volume GetConfigurations Task Definition Volume Docker Volume Configuration[] - Configuration block for a Docker volume. See
dockerVolumeConfigurationBlock for details. - efs
Volume GetConfigurations Task Definition Volume Efs Volume Configuration[] - Configuration block for an EFS volume. See
efsVolumeConfigurationBlock for details. - fsx
Windows GetFile Server Volume Configurations Task Definition Volume Fsx Windows File Server Volume Configuration[] - Configuration block for an FSx for Windows File Server volume. See
fsxWindowsFileServerVolumeConfigurationBlock for details. - host
Path string - Path on the host container instance that is presented to the container.
- name string
- Name of the volume.
- s3files
Volume GetConfigurations Task Definition Volume S3files Volume Configuration[] - Configuration block for an S3 Files volume. See
s3filesVolumeConfigurationBlock for details.
- configure_
at_ boollaunch - Whether the volume is configured at launch time.
- docker_
volume_ Sequence[Getconfigurations Task Definition Volume Docker Volume Configuration] - Configuration block for a Docker volume. See
dockerVolumeConfigurationBlock for details. - efs_
volume_ Sequence[Getconfigurations Task Definition Volume Efs Volume Configuration] - Configuration block for an EFS volume. See
efsVolumeConfigurationBlock for details. - fsx_
windows_ Sequence[Getfile_ server_ volume_ configurations Task Definition Volume Fsx Windows File Server Volume Configuration] - Configuration block for an FSx for Windows File Server volume. See
fsxWindowsFileServerVolumeConfigurationBlock for details. - host_
path str - Path on the host container instance that is presented to the container.
- name str
- Name of the volume.
- s3files_
volume_ Sequence[Getconfigurations Task Definition Volume S3files Volume Configuration] - Configuration block for an S3 Files volume. See
s3filesVolumeConfigurationBlock for details.
- configure
At BooleanLaunch - Whether the volume is configured at launch time.
- docker
Volume List<Property Map>Configurations - Configuration block for a Docker volume. See
dockerVolumeConfigurationBlock for details. - efs
Volume List<Property Map>Configurations - Configuration block for an EFS volume. See
efsVolumeConfigurationBlock for details. - fsx
Windows List<Property Map>File Server Volume Configurations - Configuration block for an FSx for Windows File Server volume. See
fsxWindowsFileServerVolumeConfigurationBlock for details. - host
Path String - Path on the host container instance that is presented to the container.
- name String
- Name of the volume.
- s3files
Volume List<Property Map>Configurations - Configuration block for an S3 Files volume. See
s3filesVolumeConfigurationBlock for details.
GetTaskDefinitionVolumeDockerVolumeConfiguration
- Autoprovision bool
- Whether the Docker volume is created if it does not already exist.
- Driver string
- Docker volume driver used.
- Driver
Opts Dictionary<string, string> - Map of Docker driver-specific options.
- Labels Dictionary<string, string>
- Map of custom metadata added to the Docker volume.
- Scope string
- Scope for the Docker volume, either
taskorshared.
- Autoprovision bool
- Whether the Docker volume is created if it does not already exist.
- Driver string
- Docker volume driver used.
- Driver
Opts map[string]string - Map of Docker driver-specific options.
- Labels map[string]string
- Map of custom metadata added to the Docker volume.
- Scope string
- Scope for the Docker volume, either
taskorshared.
- autoprovision bool
- Whether the Docker volume is created if it does not already exist.
- driver string
- Docker volume driver used.
- driver_
opts map(string) - Map of Docker driver-specific options.
- labels map(string)
- Map of custom metadata added to the Docker volume.
- scope string
- Scope for the Docker volume, either
taskorshared.
- autoprovision Boolean
- Whether the Docker volume is created if it does not already exist.
- driver String
- Docker volume driver used.
- driver
Opts Map<String,String> - Map of Docker driver-specific options.
- labels Map<String,String>
- Map of custom metadata added to the Docker volume.
- scope String
- Scope for the Docker volume, either
taskorshared.
- autoprovision boolean
- Whether the Docker volume is created if it does not already exist.
- driver string
- Docker volume driver used.
- driver
Opts {[key: string]: string} - Map of Docker driver-specific options.
- labels {[key: string]: string}
- Map of custom metadata added to the Docker volume.
- scope string
- Scope for the Docker volume, either
taskorshared.
- autoprovision bool
- Whether the Docker volume is created if it does not already exist.
- driver str
- Docker volume driver used.
- driver_
opts Mapping[str, str] - Map of Docker driver-specific options.
- labels Mapping[str, str]
- Map of custom metadata added to the Docker volume.
- scope str
- Scope for the Docker volume, either
taskorshared.
- autoprovision Boolean
- Whether the Docker volume is created if it does not already exist.
- driver String
- Docker volume driver used.
- driver
Opts Map<String> - Map of Docker driver-specific options.
- labels Map<String>
- Map of custom metadata added to the Docker volume.
- scope String
- Scope for the Docker volume, either
taskorshared.
GetTaskDefinitionVolumeEfsVolumeConfiguration
-
List<Get
Task Definition Volume Efs Volume Configuration Authorization Config> - Configuration block for authorization for the Amazon FSx for Windows File Server file system. See
fsx_windows_file_server_volume_configuration.authorization_configBlock for details. - File
System stringId - Amazon FSx for Windows File Server file system ID used.
- Root
Directory string - Directory within the Amazon S3 Files file system to mount as the root directory.
- Transit
Encryption string - Whether encryption is enabled for Amazon EFS data in transit between the Amazon ECS host and the Amazon EFS server.
- Transit
Encryption intPort - Port used for sending encrypted data between the ECS host and the S3 Files file system.
-
[]Get
Task Definition Volume Efs Volume Configuration Authorization Config - Configuration block for authorization for the Amazon FSx for Windows File Server file system. See
fsx_windows_file_server_volume_configuration.authorization_configBlock for details. - File
System stringId - Amazon FSx for Windows File Server file system ID used.
- Root
Directory string - Directory within the Amazon S3 Files file system to mount as the root directory.
- Transit
Encryption string - Whether encryption is enabled for Amazon EFS data in transit between the Amazon ECS host and the Amazon EFS server.
- Transit
Encryption intPort - Port used for sending encrypted data between the ECS host and the S3 Files file system.
- list(object)
- Configuration block for authorization for the Amazon FSx for Windows File Server file system. See
fsx_windows_file_server_volume_configuration.authorization_configBlock for details. - file_
system_ stringid - Amazon FSx for Windows File Server file system ID used.
- root_
directory string - Directory within the Amazon S3 Files file system to mount as the root directory.
- transit_
encryption string - Whether encryption is enabled for Amazon EFS data in transit between the Amazon ECS host and the Amazon EFS server.
- transit_
encryption_ numberport - Port used for sending encrypted data between the ECS host and the S3 Files file system.
-
List<Get
Task Definition Volume Efs Volume Configuration Authorization Config> - Configuration block for authorization for the Amazon FSx for Windows File Server file system. See
fsx_windows_file_server_volume_configuration.authorization_configBlock for details. - file
System StringId - Amazon FSx for Windows File Server file system ID used.
- root
Directory String - Directory within the Amazon S3 Files file system to mount as the root directory.
- transit
Encryption String - Whether encryption is enabled for Amazon EFS data in transit between the Amazon ECS host and the Amazon EFS server.
- transit
Encryption IntegerPort - Port used for sending encrypted data between the ECS host and the S3 Files file system.
-
Get
Task Definition Volume Efs Volume Configuration Authorization Config[] - Configuration block for authorization for the Amazon FSx for Windows File Server file system. See
fsx_windows_file_server_volume_configuration.authorization_configBlock for details. - file
System stringId - Amazon FSx for Windows File Server file system ID used.
- root
Directory string - Directory within the Amazon S3 Files file system to mount as the root directory.
- transit
Encryption string - Whether encryption is enabled for Amazon EFS data in transit between the Amazon ECS host and the Amazon EFS server.
- transit
Encryption numberPort - Port used for sending encrypted data between the ECS host and the S3 Files file system.
-
Sequence[Get
Task Definition Volume Efs Volume Configuration Authorization Config] - Configuration block for authorization for the Amazon FSx for Windows File Server file system. See
fsx_windows_file_server_volume_configuration.authorization_configBlock for details. - file_
system_ strid - Amazon FSx for Windows File Server file system ID used.
- root_
directory str - Directory within the Amazon S3 Files file system to mount as the root directory.
- transit_
encryption str - Whether encryption is enabled for Amazon EFS data in transit between the Amazon ECS host and the Amazon EFS server.
- transit_
encryption_ intport - Port used for sending encrypted data between the ECS host and the S3 Files file system.
- List<Property Map>
- Configuration block for authorization for the Amazon FSx for Windows File Server file system. See
fsx_windows_file_server_volume_configuration.authorization_configBlock for details. - file
System StringId - Amazon FSx for Windows File Server file system ID used.
- root
Directory String - Directory within the Amazon S3 Files file system to mount as the root directory.
- transit
Encryption String - Whether encryption is enabled for Amazon EFS data in transit between the Amazon ECS host and the Amazon EFS server.
- transit
Encryption NumberPort - Port used for sending encrypted data between the ECS host and the S3 Files file system.
GetTaskDefinitionVolumeEfsVolumeConfigurationAuthorizationConfig
- Access
Point stringId - Access point ID used.
- Iam string
- Whether the Amazon ECS task IAM role defined in a task definition is used when mounting the Amazon EFS file system.
- Access
Point stringId - Access point ID used.
- Iam string
- Whether the Amazon ECS task IAM role defined in a task definition is used when mounting the Amazon EFS file system.
- access_
point_ stringid - Access point ID used.
- iam string
- Whether the Amazon ECS task IAM role defined in a task definition is used when mounting the Amazon EFS file system.
- access
Point StringId - Access point ID used.
- iam String
- Whether the Amazon ECS task IAM role defined in a task definition is used when mounting the Amazon EFS file system.
- access
Point stringId - Access point ID used.
- iam string
- Whether the Amazon ECS task IAM role defined in a task definition is used when mounting the Amazon EFS file system.
- access_
point_ strid - Access point ID used.
- iam str
- Whether the Amazon ECS task IAM role defined in a task definition is used when mounting the Amazon EFS file system.
- access
Point StringId - Access point ID used.
- iam String
- Whether the Amazon ECS task IAM role defined in a task definition is used when mounting the Amazon EFS file system.
GetTaskDefinitionVolumeFsxWindowsFileServerVolumeConfiguration
-
List<Get
Task Definition Volume Fsx Windows File Server Volume Configuration Authorization Config> - Configuration block for authorization for the Amazon FSx for Windows File Server file system. See
fsx_windows_file_server_volume_configuration.authorization_configBlock for details. - File
System stringId - Amazon FSx for Windows File Server file system ID used.
- Root
Directory string - Directory within the Amazon S3 Files file system to mount as the root directory.
-
[]Get
Task Definition Volume Fsx Windows File Server Volume Configuration Authorization Config - Configuration block for authorization for the Amazon FSx for Windows File Server file system. See
fsx_windows_file_server_volume_configuration.authorization_configBlock for details. - File
System stringId - Amazon FSx for Windows File Server file system ID used.
- Root
Directory string - Directory within the Amazon S3 Files file system to mount as the root directory.
- list(object)
- Configuration block for authorization for the Amazon FSx for Windows File Server file system. See
fsx_windows_file_server_volume_configuration.authorization_configBlock for details. - file_
system_ stringid - Amazon FSx for Windows File Server file system ID used.
- root_
directory string - Directory within the Amazon S3 Files file system to mount as the root directory.
-
List<Get
Task Definition Volume Fsx Windows File Server Volume Configuration Authorization Config> - Configuration block for authorization for the Amazon FSx for Windows File Server file system. See
fsx_windows_file_server_volume_configuration.authorization_configBlock for details. - file
System StringId - Amazon FSx for Windows File Server file system ID used.
- root
Directory String - Directory within the Amazon S3 Files file system to mount as the root directory.
-
Get
Task Definition Volume Fsx Windows File Server Volume Configuration Authorization Config[] - Configuration block for authorization for the Amazon FSx for Windows File Server file system. See
fsx_windows_file_server_volume_configuration.authorization_configBlock for details. - file
System stringId - Amazon FSx for Windows File Server file system ID used.
- root
Directory string - Directory within the Amazon S3 Files file system to mount as the root directory.
-
Sequence[Get
Task Definition Volume Fsx Windows File Server Volume Configuration Authorization Config] - Configuration block for authorization for the Amazon FSx for Windows File Server file system. See
fsx_windows_file_server_volume_configuration.authorization_configBlock for details. - file_
system_ strid - Amazon FSx for Windows File Server file system ID used.
- root_
directory str - Directory within the Amazon S3 Files file system to mount as the root directory.
- List<Property Map>
- Configuration block for authorization for the Amazon FSx for Windows File Server file system. See
fsx_windows_file_server_volume_configuration.authorization_configBlock for details. - file
System StringId - Amazon FSx for Windows File Server file system ID used.
- root
Directory String - Directory within the Amazon S3 Files file system to mount as the root directory.
GetTaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationAuthorizationConfig
- Credentials
Parameter string - Authorization credential option used.
- Domain string
- Fully qualified domain name hosted by an AWS Directory Service Managed Microsoft AD (Active Directory) or self-hosted AD on Amazon EC2.
- Credentials
Parameter string - Authorization credential option used.
- Domain string
- Fully qualified domain name hosted by an AWS Directory Service Managed Microsoft AD (Active Directory) or self-hosted AD on Amazon EC2.
- credentials_
parameter string - Authorization credential option used.
- domain string
- Fully qualified domain name hosted by an AWS Directory Service Managed Microsoft AD (Active Directory) or self-hosted AD on Amazon EC2.
- credentials
Parameter String - Authorization credential option used.
- domain String
- Fully qualified domain name hosted by an AWS Directory Service Managed Microsoft AD (Active Directory) or self-hosted AD on Amazon EC2.
- credentials
Parameter string - Authorization credential option used.
- domain string
- Fully qualified domain name hosted by an AWS Directory Service Managed Microsoft AD (Active Directory) or self-hosted AD on Amazon EC2.
- credentials_
parameter str - Authorization credential option used.
- domain str
- Fully qualified domain name hosted by an AWS Directory Service Managed Microsoft AD (Active Directory) or self-hosted AD on Amazon EC2.
- credentials
Parameter String - Authorization credential option used.
- domain String
- Fully qualified domain name hosted by an AWS Directory Service Managed Microsoft AD (Active Directory) or self-hosted AD on Amazon EC2.
GetTaskDefinitionVolumeS3filesVolumeConfiguration
- Access
Point stringArn - Full ARN of the S3 Files access point used.
- File
System stringArn - Full ARN of the S3 Files file system mounted.
- Root
Directory string - Directory within the Amazon S3 Files file system to mount as the root directory.
- Transit
Encryption intPort - Port used for sending encrypted data between the ECS host and the S3 Files file system.
- Access
Point stringArn - Full ARN of the S3 Files access point used.
- File
System stringArn - Full ARN of the S3 Files file system mounted.
- Root
Directory string - Directory within the Amazon S3 Files file system to mount as the root directory.
- Transit
Encryption intPort - Port used for sending encrypted data between the ECS host and the S3 Files file system.
- access_
point_ stringarn - Full ARN of the S3 Files access point used.
- file_
system_ stringarn - Full ARN of the S3 Files file system mounted.
- root_
directory string - Directory within the Amazon S3 Files file system to mount as the root directory.
- transit_
encryption_ numberport - Port used for sending encrypted data between the ECS host and the S3 Files file system.
- access
Point StringArn - Full ARN of the S3 Files access point used.
- file
System StringArn - Full ARN of the S3 Files file system mounted.
- root
Directory String - Directory within the Amazon S3 Files file system to mount as the root directory.
- transit
Encryption IntegerPort - Port used for sending encrypted data between the ECS host and the S3 Files file system.
- access
Point stringArn - Full ARN of the S3 Files access point used.
- file
System stringArn - Full ARN of the S3 Files file system mounted.
- root
Directory string - Directory within the Amazon S3 Files file system to mount as the root directory.
- transit
Encryption numberPort - Port used for sending encrypted data between the ECS host and the S3 Files file system.
- access_
point_ strarn - Full ARN of the S3 Files access point used.
- file_
system_ strarn - Full ARN of the S3 Files file system mounted.
- root_
directory str - Directory within the Amazon S3 Files file system to mount as the root directory.
- transit_
encryption_ intport - Port used for sending encrypted data between the ECS host and the S3 Files file system.
- access
Point StringArn - Full ARN of the S3 Files access point used.
- file
System StringArn - Full ARN of the S3 Files file system mounted.
- root
Directory String - Directory within the Amazon S3 Files file system to mount as the root directory.
- transit
Encryption NumberPort - Port used for sending encrypted data between the ECS host and the S3 Files file system.
Package Details
- Repository
- AWS Classic pulumi/pulumi-aws
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
awsTerraform Provider.
Viewing docs for AWS v7.43.0
published on Thursday, Aug 20, 2026 by Pulumi
published on Thursday, Aug 20, 2026 by Pulumi