1. Registry
  2. Packages
  3. AWS
  4. API Docs
  5. ecs
  6. getTaskDefinition
Viewing docs for AWS v7.43.0
published on Thursday, Aug 20, 2026 by Pulumi
aws logo aws logo
Viewing docs for AWS v7.43.0
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 dictionary
    data "aws_ecs_get_task_definition" "name" {
        # arguments
    }

    The following arguments are supported:

    TaskDefinition 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.
    TaskDefinition 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.
    taskDefinition 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.
    taskDefinition 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.
    taskDefinition 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.
    ArnWithoutRevision string
    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 for details.
    ContainerDefinitions 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 requiresCompatibilities is FARGATE this field is required.
    EnableFaultInjection bool
    Enables fault injection and allows for fault injection requests to be accepted from the task's containers. Default is false.
    EphemeralStorages List<GetTaskDefinitionEphemeralStorage>
    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 string
    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.
    IpcMode string
    IPC resource namespace to be used for the containers in the task The valid values are host, task, and none.
    Memory string
    Amount (in MiB) of memory used by the task. If the requiresCompatibilities is FARGATE this field is required.
    NetworkMode string
    Docker networking mode to use for the containers in the task. Valid values are none, bridge, awsvpc, and host.
    PidMode string
    Process namespace to use for the containers in the task. The valid values are host and task.
    PlacementConstraints List<GetTaskDefinitionPlacementConstraint>
    Configuration block for rules that are taken into consideration during task placement. Maximum number of placementConstraints is 10. See placementConstraints Block.
    ProxyConfigurations List<GetTaskDefinitionProxyConfiguration>
    Configuration block for the App Mesh proxy. See proxyConfiguration Block.
    Region string
    RequiresCompatibilities List<string>
    Set of launch types required by the task. The valid values are EC2 and FARGATE.
    Revision int
    Revision of the task in a particular family.
    RuntimePlatforms List<GetTaskDefinitionRuntimePlatform>
    Configuration block for runtimePlatform that containers in your task may use.
    Status string
    Status of the task definition.
    TaskDefinition string
    TaskRoleArn string
    ARN of IAM role that allows your Amazon ECS container task to make calls to other AWS services.
    Volumes List<GetTaskDefinitionVolume>
    Configuration block for volumes that containers in your task may use. See volume Block for details.
    Arn string
    ARN of the task definition.
    ArnWithoutRevision string
    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 for details.
    ContainerDefinitions 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 requiresCompatibilities is FARGATE this field is required.
    EnableFaultInjection bool
    Enables fault injection and allows for fault injection requests to be accepted from the task's containers. Default is false.
    EphemeralStorages []GetTaskDefinitionEphemeralStorage
    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 string
    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.
    IpcMode string
    IPC resource namespace to be used for the containers in the task The valid values are host, task, and none.
    Memory string
    Amount (in MiB) of memory used by the task. If the requiresCompatibilities is FARGATE this field is required.
    NetworkMode string
    Docker networking mode to use for the containers in the task. Valid values are none, bridge, awsvpc, and host.
    PidMode string
    Process namespace to use for the containers in the task. The valid values are host and task.
    PlacementConstraints []GetTaskDefinitionPlacementConstraint
    Configuration block for rules that are taken into consideration during task placement. Maximum number of placementConstraints is 10. See placementConstraints Block.
    ProxyConfigurations []GetTaskDefinitionProxyConfiguration
    Configuration block for the App Mesh proxy. See proxyConfiguration Block.
    Region string
    RequiresCompatibilities []string
    Set of launch types required by the task. The valid values are EC2 and FARGATE.
    Revision int
    Revision of the task in a particular family.
    RuntimePlatforms []GetTaskDefinitionRuntimePlatform
    Configuration block for runtimePlatform that containers in your task may use.
    Status string
    Status of the task definition.
    TaskDefinition string
    TaskRoleArn string
    ARN of IAM role that allows your Amazon ECS container task to make calls to other AWS services.
    Volumes []GetTaskDefinitionVolume
    Configuration block for volumes that containers in your task may use. See volume Block for details.
    arn string
    ARN of the task definition.
    arn_without_revision string
    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 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 requiresCompatibilities is FARGATE this field is required.
    enable_fault_injection bool
    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 ephemeralStorage Block.
    execution_role_arn string
    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, and none.
    memory string
    Amount (in MiB) of memory used by the task. If the requiresCompatibilities is FARGATE this field is required.
    network_mode string
    Docker networking mode to use for the containers in the task. Valid values are none, bridge, awsvpc, and host.
    pid_mode string
    Process namespace to use for the containers in the task. The valid values are host and task.
    placement_constraints list(object)
    Configuration block for rules that are taken into consideration during task placement. Maximum number of placementConstraints is 10. See placementConstraints Block.
    proxy_configurations list(object)
    Configuration block for the App Mesh proxy. See proxyConfiguration Block.
    region string
    requires_compatibilities list(string)
    Set of launch types required by the task. The valid values are EC2 and FARGATE.
    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_arn string
    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 volume Block for details.
    arn String
    ARN of the task definition.
    arnWithoutRevision String
    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 for details.
    containerDefinitions 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 requiresCompatibilities is FARGATE this field is required.
    enableFaultInjection Boolean
    Enables fault injection and allows for fault injection requests to be accepted from the task's containers. Default is false.
    ephemeralStorages List<GetTaskDefinitionEphemeralStorage>
    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 String
    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.
    ipcMode String
    IPC resource namespace to be used for the containers in the task The valid values are host, task, and none.
    memory String
    Amount (in MiB) of memory used by the task. If the requiresCompatibilities is FARGATE this field is required.
    networkMode String
    Docker networking mode to use for the containers in the task. Valid values are none, bridge, awsvpc, and host.
    pidMode String
    Process namespace to use for the containers in the task. The valid values are host and task.
    placementConstraints List<GetTaskDefinitionPlacementConstraint>
    Configuration block for rules that are taken into consideration during task placement. Maximum number of placementConstraints is 10. See placementConstraints Block.
    proxyConfigurations List<GetTaskDefinitionProxyConfiguration>
    Configuration block for the App Mesh proxy. See proxyConfiguration Block.
    region String
    requiresCompatibilities List<String>
    Set of launch types required by the task. The valid values are EC2 and FARGATE.
    revision Integer
    Revision of the task in a particular family.
    runtimePlatforms List<GetTaskDefinitionRuntimePlatform>
    Configuration block for runtimePlatform that containers in your task may use.
    status String
    Status of the task definition.
    taskDefinition String
    taskRoleArn String
    ARN of IAM role that allows your Amazon ECS container task to make calls to other AWS services.
    volumes List<GetTaskDefinitionVolume>
    Configuration block for volumes that containers in your task may use. See volume Block for details.
    arn string
    ARN of the task definition.
    arnWithoutRevision string
    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 for details.
    containerDefinitions 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 requiresCompatibilities is FARGATE this field is required.
    enableFaultInjection boolean
    Enables fault injection and allows for fault injection requests to be accepted from the task's containers. Default is false.
    ephemeralStorages GetTaskDefinitionEphemeralStorage[]
    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 string
    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.
    ipcMode string
    IPC resource namespace to be used for the containers in the task The valid values are host, task, and none.
    memory string
    Amount (in MiB) of memory used by the task. If the requiresCompatibilities is FARGATE this field is required.
    networkMode string
    Docker networking mode to use for the containers in the task. Valid values are none, bridge, awsvpc, and host.
    pidMode string
    Process namespace to use for the containers in the task. The valid values are host and task.
    placementConstraints GetTaskDefinitionPlacementConstraint[]
    Configuration block for rules that are taken into consideration during task placement. Maximum number of placementConstraints is 10. See placementConstraints Block.
    proxyConfigurations GetTaskDefinitionProxyConfiguration[]
    Configuration block for the App Mesh proxy. See proxyConfiguration Block.
    region string
    requiresCompatibilities string[]
    Set of launch types required by the task. The valid values are EC2 and FARGATE.
    revision number
    Revision of the task in a particular family.
    runtimePlatforms GetTaskDefinitionRuntimePlatform[]
    Configuration block for runtimePlatform that containers in your task may use.
    status string
    Status of the task definition.
    taskDefinition string
    taskRoleArn string
    ARN of IAM role that allows your Amazon ECS container task to make calls to other AWS services.
    volumes GetTaskDefinitionVolume[]
    Configuration block for volumes that containers in your task may use. See volume Block for details.
    arn str
    ARN of the task definition.
    arn_without_revision str
    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 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 requiresCompatibilities is FARGATE this field is required.
    enable_fault_injection bool
    Enables fault injection and allows for fault injection requests to be accepted from the task's containers. Default is false.
    ephemeral_storages Sequence[GetTaskDefinitionEphemeralStorage]
    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.
    execution_role_arn str
    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, and none.
    memory str
    Amount (in MiB) of memory used by the task. If the requiresCompatibilities is FARGATE this field is required.
    network_mode str
    Docker networking mode to use for the containers in the task. Valid values are none, bridge, awsvpc, and host.
    pid_mode str
    Process namespace to use for the containers in the task. The valid values are host and task.
    placement_constraints Sequence[GetTaskDefinitionPlacementConstraint]
    Configuration block for rules that are taken into consideration during task placement. Maximum number of placementConstraints is 10. See placementConstraints Block.
    proxy_configurations Sequence[GetTaskDefinitionProxyConfiguration]
    Configuration block for the App Mesh proxy. See proxyConfiguration Block.
    region str
    requires_compatibilities Sequence[str]
    Set of launch types required by the task. The valid values are EC2 and FARGATE.
    revision int
    Revision of the task in a particular family.
    runtime_platforms Sequence[GetTaskDefinitionRuntimePlatform]
    Configuration block for runtimePlatform that containers in your task may use.
    status str
    Status of the task definition.
    task_definition str
    task_role_arn str
    ARN of IAM role that allows your Amazon ECS container task to make calls to other AWS services.
    volumes Sequence[GetTaskDefinitionVolume]
    Configuration block for volumes that containers in your task may use. See volume Block for details.
    arn String
    ARN of the task definition.
    arnWithoutRevision String
    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 for details.
    containerDefinitions 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 requiresCompatibilities is FARGATE this field is required.
    enableFaultInjection Boolean
    Enables fault injection and allows for fault injection requests to be accepted from the task's containers. Default is false.
    ephemeralStorages 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 ephemeralStorage Block.
    executionRoleArn String
    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.
    ipcMode String
    IPC resource namespace to be used for the containers in the task The valid values are host, task, and none.
    memory String
    Amount (in MiB) of memory used by the task. If the requiresCompatibilities is FARGATE this field is required.
    networkMode String
    Docker networking mode to use for the containers in the task. Valid values are none, bridge, awsvpc, and host.
    pidMode String
    Process namespace to use for the containers in the task. The valid values are host and task.
    placementConstraints List<Property Map>
    Configuration block for rules that are taken into consideration during task placement. Maximum number of placementConstraints is 10. See placementConstraints Block.
    proxyConfigurations List<Property Map>
    Configuration block for the App Mesh proxy. See proxyConfiguration Block.
    region String
    requiresCompatibilities List<String>
    Set of launch types required by the task. The valid values are EC2 and FARGATE.
    revision Number
    Revision of the task in a particular family.
    runtimePlatforms List<Property Map>
    Configuration block for runtimePlatform that containers in your task may use.
    status String
    Status of the task definition.
    taskDefinition String
    taskRoleArn String
    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 volume Block for details.

    Supporting Types

    GetTaskDefinitionEphemeralStorage

    SizeInGib int
    Total amount, in GiB, of ephemeral storage to set for the task. The minimum supported value is 21 GiB and the maximum supported value is 200 GiB.
    SizeInGib int
    Total amount, in GiB, of ephemeral storage to set for the task. The minimum supported value is 21 GiB and the maximum supported value is 200 GiB.
    size_in_gib number
    Total amount, in GiB, of ephemeral storage to set for the task. The minimum supported value is 21 GiB and the maximum supported value is 200 GiB.
    sizeInGib Integer
    Total amount, in GiB, of ephemeral storage to set for the task. The minimum supported value is 21 GiB and the maximum supported value is 200 GiB.
    sizeInGib number
    Total amount, in GiB, of ephemeral storage to set for the task. The minimum supported value is 21 GiB and the maximum supported value is 200 GiB.
    size_in_gib int
    Total amount, in GiB, of ephemeral storage to set for the task. The minimum supported value is 21 GiB and the maximum supported value is 200 GiB.
    sizeInGib Number
    Total amount, in GiB, of ephemeral storage to set for the task. The minimum supported value is 21 GiB and the maximum supported value is 200 GiB.

    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 is APPMESH.
    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 is APPMESH.
    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 is APPMESH.
    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 is APPMESH.
    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 is APPMESH.
    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 is APPMESH.
    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 is APPMESH.

    GetTaskDefinitionProxyConfiguration

    ContainerName 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 is APPMESH.
    ContainerName 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 is APPMESH.
    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 is APPMESH.
    containerName 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 is APPMESH.
    containerName 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 is APPMESH.
    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 is APPMESH.
    containerName 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 is APPMESH.

    GetTaskDefinitionRuntimePlatform

    CpuArchitecture string
    Must be set to either X86_64 or ARM64; see cpu architecture
    OperatingSystemFamily string
    If the requiresCompatibilities is FARGATE this field is required; must be set to a valid option from the operating system family in the runtime platform setting
    CpuArchitecture string
    Must be set to either X86_64 or ARM64; see cpu architecture
    OperatingSystemFamily string
    If the requiresCompatibilities is FARGATE this 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_64 or ARM64; see cpu architecture
    operating_system_family string
    If the requiresCompatibilities is FARGATE this field is required; must be set to a valid option from the operating system family in the runtime platform setting
    cpuArchitecture String
    Must be set to either X86_64 or ARM64; see cpu architecture
    operatingSystemFamily String
    If the requiresCompatibilities is FARGATE this field is required; must be set to a valid option from the operating system family in the runtime platform setting
    cpuArchitecture string
    Must be set to either X86_64 or ARM64; see cpu architecture
    operatingSystemFamily string
    If the requiresCompatibilities is FARGATE this 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_64 or ARM64; see cpu architecture
    operating_system_family str
    If the requiresCompatibilities is FARGATE this field is required; must be set to a valid option from the operating system family in the runtime platform setting
    cpuArchitecture String
    Must be set to either X86_64 or ARM64; see cpu architecture
    operatingSystemFamily String
    If the requiresCompatibilities is FARGATE this field is required; must be set to a valid option from the operating system family in the runtime platform setting

    GetTaskDefinitionVolume

    ConfigureAtLaunch bool
    Whether the volume is configured at launch time.
    DockerVolumeConfigurations List<GetTaskDefinitionVolumeDockerVolumeConfiguration>
    Configuration block for a Docker volume. See dockerVolumeConfiguration Block for details.
    EfsVolumeConfigurations List<GetTaskDefinitionVolumeEfsVolumeConfiguration>
    Configuration block for an EFS volume. See efsVolumeConfiguration Block for details.
    FsxWindowsFileServerVolumeConfigurations List<GetTaskDefinitionVolumeFsxWindowsFileServerVolumeConfiguration>
    Configuration block for an FSx for Windows File Server volume. See fsxWindowsFileServerVolumeConfiguration Block for details.
    HostPath string
    Path on the host container instance that is presented to the container.
    Name string
    Name of the volume.
    S3filesVolumeConfigurations List<GetTaskDefinitionVolumeS3filesVolumeConfiguration>
    Configuration block for an S3 Files volume. See s3filesVolumeConfiguration Block for details.
    ConfigureAtLaunch bool
    Whether the volume is configured at launch time.
    DockerVolumeConfigurations []GetTaskDefinitionVolumeDockerVolumeConfiguration
    Configuration block for a Docker volume. See dockerVolumeConfiguration Block for details.
    EfsVolumeConfigurations []GetTaskDefinitionVolumeEfsVolumeConfiguration
    Configuration block for an EFS volume. See efsVolumeConfiguration Block for details.
    FsxWindowsFileServerVolumeConfigurations []GetTaskDefinitionVolumeFsxWindowsFileServerVolumeConfiguration
    Configuration block for an FSx for Windows File Server volume. See fsxWindowsFileServerVolumeConfiguration Block for details.
    HostPath string
    Path on the host container instance that is presented to the container.
    Name string
    Name of the volume.
    S3filesVolumeConfigurations []GetTaskDefinitionVolumeS3filesVolumeConfiguration
    Configuration block for an S3 Files volume. See s3filesVolumeConfiguration Block for details.
    configure_at_launch bool
    Whether the volume is configured at launch time.
    docker_volume_configurations list(object)
    Configuration block for a Docker volume. See dockerVolumeConfiguration Block for details.
    efs_volume_configurations list(object)
    Configuration block for an EFS volume. See efsVolumeConfiguration Block for details.
    fsx_windows_file_server_volume_configurations list(object)
    Configuration block for an FSx for Windows File Server volume. See fsxWindowsFileServerVolumeConfiguration Block 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_configurations list(object)
    Configuration block for an S3 Files volume. See s3filesVolumeConfiguration Block for details.
    configureAtLaunch Boolean
    Whether the volume is configured at launch time.
    dockerVolumeConfigurations List<GetTaskDefinitionVolumeDockerVolumeConfiguration>
    Configuration block for a Docker volume. See dockerVolumeConfiguration Block for details.
    efsVolumeConfigurations List<GetTaskDefinitionVolumeEfsVolumeConfiguration>
    Configuration block for an EFS volume. See efsVolumeConfiguration Block for details.
    fsxWindowsFileServerVolumeConfigurations List<GetTaskDefinitionVolumeFsxWindowsFileServerVolumeConfiguration>
    Configuration block for an FSx for Windows File Server volume. See fsxWindowsFileServerVolumeConfiguration Block for details.
    hostPath String
    Path on the host container instance that is presented to the container.
    name String
    Name of the volume.
    s3filesVolumeConfigurations List<GetTaskDefinitionVolumeS3filesVolumeConfiguration>
    Configuration block for an S3 Files volume. See s3filesVolumeConfiguration Block for details.
    configureAtLaunch boolean
    Whether the volume is configured at launch time.
    dockerVolumeConfigurations GetTaskDefinitionVolumeDockerVolumeConfiguration[]
    Configuration block for a Docker volume. See dockerVolumeConfiguration Block for details.
    efsVolumeConfigurations GetTaskDefinitionVolumeEfsVolumeConfiguration[]
    Configuration block for an EFS volume. See efsVolumeConfiguration Block for details.
    fsxWindowsFileServerVolumeConfigurations GetTaskDefinitionVolumeFsxWindowsFileServerVolumeConfiguration[]
    Configuration block for an FSx for Windows File Server volume. See fsxWindowsFileServerVolumeConfiguration Block for details.
    hostPath string
    Path on the host container instance that is presented to the container.
    name string
    Name of the volume.
    s3filesVolumeConfigurations GetTaskDefinitionVolumeS3filesVolumeConfiguration[]
    Configuration block for an S3 Files volume. See s3filesVolumeConfiguration Block for details.
    configure_at_launch bool
    Whether the volume is configured at launch time.
    docker_volume_configurations Sequence[GetTaskDefinitionVolumeDockerVolumeConfiguration]
    Configuration block for a Docker volume. See dockerVolumeConfiguration Block for details.
    efs_volume_configurations Sequence[GetTaskDefinitionVolumeEfsVolumeConfiguration]
    Configuration block for an EFS volume. See efsVolumeConfiguration Block for details.
    fsx_windows_file_server_volume_configurations Sequence[GetTaskDefinitionVolumeFsxWindowsFileServerVolumeConfiguration]
    Configuration block for an FSx for Windows File Server volume. See fsxWindowsFileServerVolumeConfiguration Block 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_configurations Sequence[GetTaskDefinitionVolumeS3filesVolumeConfiguration]
    Configuration block for an S3 Files volume. See s3filesVolumeConfiguration Block for details.
    configureAtLaunch Boolean
    Whether the volume is configured at launch time.
    dockerVolumeConfigurations List<Property Map>
    Configuration block for a Docker volume. See dockerVolumeConfiguration Block for details.
    efsVolumeConfigurations List<Property Map>
    Configuration block for an EFS volume. See efsVolumeConfiguration Block for details.
    fsxWindowsFileServerVolumeConfigurations List<Property Map>
    Configuration block for an FSx for Windows File Server volume. See fsxWindowsFileServerVolumeConfiguration Block for details.
    hostPath String
    Path on the host container instance that is presented to the container.
    name String
    Name of the volume.
    s3filesVolumeConfigurations List<Property Map>
    Configuration block for an S3 Files volume. See s3filesVolumeConfiguration Block for details.

    GetTaskDefinitionVolumeDockerVolumeConfiguration

    Autoprovision bool
    Whether the Docker volume is created if it does not already exist.
    Driver string
    Docker volume driver used.
    DriverOpts 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 task or shared.
    Autoprovision bool
    Whether the Docker volume is created if it does not already exist.
    Driver string
    Docker volume driver used.
    DriverOpts 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 task or shared.
    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 task or shared.
    autoprovision Boolean
    Whether the Docker volume is created if it does not already exist.
    driver String
    Docker volume driver used.
    driverOpts 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 task or shared.
    autoprovision boolean
    Whether the Docker volume is created if it does not already exist.
    driver string
    Docker volume driver used.
    driverOpts {[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 task or shared.
    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 task or shared.
    autoprovision Boolean
    Whether the Docker volume is created if it does not already exist.
    driver String
    Docker volume driver used.
    driverOpts 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 task or shared.

    GetTaskDefinitionVolumeEfsVolumeConfiguration

    AuthorizationConfigs List<GetTaskDefinitionVolumeEfsVolumeConfigurationAuthorizationConfig>
    Configuration block for authorization for the Amazon FSx for Windows File Server file system. See fsx_windows_file_server_volume_configuration.authorization_config Block for details.
    FileSystemId string
    Amazon FSx for Windows File Server file system ID used.
    RootDirectory string
    Directory within the Amazon S3 Files file system to mount as the root directory.
    TransitEncryption string
    Whether encryption is enabled for Amazon EFS data in transit between the Amazon ECS host and the Amazon EFS server.
    TransitEncryptionPort int
    Port used for sending encrypted data between the ECS host and the S3 Files file system.
    AuthorizationConfigs []GetTaskDefinitionVolumeEfsVolumeConfigurationAuthorizationConfig
    Configuration block for authorization for the Amazon FSx for Windows File Server file system. See fsx_windows_file_server_volume_configuration.authorization_config Block for details.
    FileSystemId string
    Amazon FSx for Windows File Server file system ID used.
    RootDirectory string
    Directory within the Amazon S3 Files file system to mount as the root directory.
    TransitEncryption string
    Whether encryption is enabled for Amazon EFS data in transit between the Amazon ECS host and the Amazon EFS server.
    TransitEncryptionPort int
    Port used for sending encrypted data between the ECS host and the S3 Files file system.
    authorization_configs list(object)
    Configuration block for authorization for the Amazon FSx for Windows File Server file system. See fsx_windows_file_server_volume_configuration.authorization_config Block for details.
    file_system_id string
    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_port number
    Port used for sending encrypted data between the ECS host and the S3 Files file system.
    authorizationConfigs List<GetTaskDefinitionVolumeEfsVolumeConfigurationAuthorizationConfig>
    Configuration block for authorization for the Amazon FSx for Windows File Server file system. See fsx_windows_file_server_volume_configuration.authorization_config Block for details.
    fileSystemId String
    Amazon FSx for Windows File Server file system ID used.
    rootDirectory String
    Directory within the Amazon S3 Files file system to mount as the root directory.
    transitEncryption String
    Whether encryption is enabled for Amazon EFS data in transit between the Amazon ECS host and the Amazon EFS server.
    transitEncryptionPort Integer
    Port used for sending encrypted data between the ECS host and the S3 Files file system.
    authorizationConfigs GetTaskDefinitionVolumeEfsVolumeConfigurationAuthorizationConfig[]
    Configuration block for authorization for the Amazon FSx for Windows File Server file system. See fsx_windows_file_server_volume_configuration.authorization_config Block for details.
    fileSystemId string
    Amazon FSx for Windows File Server file system ID used.
    rootDirectory string
    Directory within the Amazon S3 Files file system to mount as the root directory.
    transitEncryption string
    Whether encryption is enabled for Amazon EFS data in transit between the Amazon ECS host and the Amazon EFS server.
    transitEncryptionPort number
    Port used for sending encrypted data between the ECS host and the S3 Files file system.
    authorization_configs Sequence[GetTaskDefinitionVolumeEfsVolumeConfigurationAuthorizationConfig]
    Configuration block for authorization for the Amazon FSx for Windows File Server file system. See fsx_windows_file_server_volume_configuration.authorization_config Block for details.
    file_system_id str
    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_port int
    Port used for sending encrypted data between the ECS host and the S3 Files file system.
    authorizationConfigs 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_config Block for details.
    fileSystemId String
    Amazon FSx for Windows File Server file system ID used.
    rootDirectory String
    Directory within the Amazon S3 Files file system to mount as the root directory.
    transitEncryption String
    Whether encryption is enabled for Amazon EFS data in transit between the Amazon ECS host and the Amazon EFS server.
    transitEncryptionPort Number
    Port used for sending encrypted data between the ECS host and the S3 Files file system.

    GetTaskDefinitionVolumeEfsVolumeConfigurationAuthorizationConfig

    AccessPointId string
    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.
    AccessPointId string
    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_id string
    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.
    accessPointId String
    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.
    accessPointId string
    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_id str
    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.
    accessPointId String
    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

    AuthorizationConfigs List<GetTaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationAuthorizationConfig>
    Configuration block for authorization for the Amazon FSx for Windows File Server file system. See fsx_windows_file_server_volume_configuration.authorization_config Block for details.
    FileSystemId string
    Amazon FSx for Windows File Server file system ID used.
    RootDirectory string
    Directory within the Amazon S3 Files file system to mount as the root directory.
    AuthorizationConfigs []GetTaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationAuthorizationConfig
    Configuration block for authorization for the Amazon FSx for Windows File Server file system. See fsx_windows_file_server_volume_configuration.authorization_config Block for details.
    FileSystemId string
    Amazon FSx for Windows File Server file system ID used.
    RootDirectory string
    Directory within the Amazon S3 Files file system to mount as the root directory.
    authorization_configs list(object)
    Configuration block for authorization for the Amazon FSx for Windows File Server file system. See fsx_windows_file_server_volume_configuration.authorization_config Block for details.
    file_system_id string
    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.
    authorizationConfigs List<GetTaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationAuthorizationConfig>
    Configuration block for authorization for the Amazon FSx for Windows File Server file system. See fsx_windows_file_server_volume_configuration.authorization_config Block for details.
    fileSystemId String
    Amazon FSx for Windows File Server file system ID used.
    rootDirectory String
    Directory within the Amazon S3 Files file system to mount as the root directory.
    authorizationConfigs GetTaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationAuthorizationConfig[]
    Configuration block for authorization for the Amazon FSx for Windows File Server file system. See fsx_windows_file_server_volume_configuration.authorization_config Block for details.
    fileSystemId string
    Amazon FSx for Windows File Server file system ID used.
    rootDirectory string
    Directory within the Amazon S3 Files file system to mount as the root directory.
    authorization_configs Sequence[GetTaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationAuthorizationConfig]
    Configuration block for authorization for the Amazon FSx for Windows File Server file system. See fsx_windows_file_server_volume_configuration.authorization_config Block for details.
    file_system_id str
    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.
    authorizationConfigs 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_config Block for details.
    fileSystemId String
    Amazon FSx for Windows File Server file system ID used.
    rootDirectory String
    Directory within the Amazon S3 Files file system to mount as the root directory.

    GetTaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationAuthorizationConfig

    CredentialsParameter 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.
    CredentialsParameter 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.
    credentialsParameter 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.
    credentialsParameter 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.
    credentialsParameter 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

    AccessPointArn string
    Full ARN of the S3 Files access point used.
    FileSystemArn string
    Full ARN of the S3 Files file system mounted.
    RootDirectory string
    Directory within the Amazon S3 Files file system to mount as the root directory.
    TransitEncryptionPort int
    Port used for sending encrypted data between the ECS host and the S3 Files file system.
    AccessPointArn string
    Full ARN of the S3 Files access point used.
    FileSystemArn string
    Full ARN of the S3 Files file system mounted.
    RootDirectory string
    Directory within the Amazon S3 Files file system to mount as the root directory.
    TransitEncryptionPort int
    Port used for sending encrypted data between the ECS host and the S3 Files file system.
    access_point_arn string
    Full ARN of the S3 Files access point used.
    file_system_arn string
    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_port number
    Port used for sending encrypted data between the ECS host and the S3 Files file system.
    accessPointArn String
    Full ARN of the S3 Files access point used.
    fileSystemArn String
    Full ARN of the S3 Files file system mounted.
    rootDirectory String
    Directory within the Amazon S3 Files file system to mount as the root directory.
    transitEncryptionPort Integer
    Port used for sending encrypted data between the ECS host and the S3 Files file system.
    accessPointArn string
    Full ARN of the S3 Files access point used.
    fileSystemArn string
    Full ARN of the S3 Files file system mounted.
    rootDirectory string
    Directory within the Amazon S3 Files file system to mount as the root directory.
    transitEncryptionPort number
    Port used for sending encrypted data between the ECS host and the S3 Files file system.
    access_point_arn str
    Full ARN of the S3 Files access point used.
    file_system_arn str
    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_port int
    Port used for sending encrypted data between the ECS host and the S3 Files file system.
    accessPointArn String
    Full ARN of the S3 Files access point used.
    fileSystemArn String
    Full ARN of the S3 Files file system mounted.
    rootDirectory String
    Directory within the Amazon S3 Files file system to mount as the root directory.
    transitEncryptionPort Number
    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 aws Terraform Provider.
    aws logo aws logo
    Viewing docs for AWS v7.43.0
    published on Thursday, Aug 20, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial