1. Packages
  2. Packages
  3. AWS
  4. API Docs
  5. ecs
  6. DaemonTaskDefinition
Viewing docs for AWS v7.33.0
published on Monday, Jun 15, 2026 by Pulumi
aws logo
Viewing docs for AWS v7.33.0
published on Monday, Jun 15, 2026 by Pulumi

    Manages a revision of an ECS daemon task definition for use with daemon scheduling strategy.

    Example Usage

    Basic Example

    import * as pulumi from "@pulumi/pulumi";
    import * as aws from "@pulumi/aws";
    
    const example = new aws.ecs.DaemonTaskDefinition("example", {
        family: "my-daemon-service",
        cpu: "512",
        memory: "1024",
        containerDefinitions: [{
            name: "app",
            image: "nginx:latest",
            cpu: 256,
            memory: 512,
            essential: true,
        }],
    });
    
    import pulumi
    import pulumi_aws as aws
    
    example = aws.ecs.DaemonTaskDefinition("example",
        family="my-daemon-service",
        cpu="512",
        memory="1024",
        container_definitions=[{
            "name": "app",
            "image": "nginx:latest",
            "cpu": 256,
            "memory": 512,
            "essential": True,
        }])
    
    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 {
    		_, err := ecs.NewDaemonTaskDefinition(ctx, "example", &ecs.DaemonTaskDefinitionArgs{
    			Family: pulumi.String("my-daemon-service"),
    			Cpu:    pulumi.String("512"),
    			Memory: pulumi.String("1024"),
    			ContainerDefinitions: ecs.DaemonTaskDefinitionContainerDefinitionArray{
    				&ecs.DaemonTaskDefinitionContainerDefinitionArgs{
    					Name:      pulumi.String("app"),
    					Image:     pulumi.String("nginx:latest"),
    					Cpu:       pulumi.Int(256),
    					Memory:    pulumi.Int(512),
    					Essential: pulumi.Bool(true),
    				},
    			},
    		})
    		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 example = new Aws.Ecs.DaemonTaskDefinition("example", new()
        {
            Family = "my-daemon-service",
            Cpu = "512",
            Memory = "1024",
            ContainerDefinitions = new[]
            {
                new Aws.Ecs.Inputs.DaemonTaskDefinitionContainerDefinitionArgs
                {
                    Name = "app",
                    Image = "nginx:latest",
                    Cpu = 256,
                    Memory = 512,
                    Essential = true,
                },
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.aws.ecs.DaemonTaskDefinition;
    import com.pulumi.aws.ecs.DaemonTaskDefinitionArgs;
    import com.pulumi.aws.ecs.inputs.DaemonTaskDefinitionContainerDefinitionArgs;
    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 example = new DaemonTaskDefinition("example", DaemonTaskDefinitionArgs.builder()
                .family("my-daemon-service")
                .cpu("512")
                .memory("1024")
                .containerDefinitions(DaemonTaskDefinitionContainerDefinitionArgs.builder()
                    .name("app")
                    .image("nginx:latest")
                    .cpu(256)
                    .memory(512)
                    .essential(true)
                    .build())
                .build());
    
        }
    }
    
    resources:
      example:
        type: aws:ecs:DaemonTaskDefinition
        properties:
          family: my-daemon-service
          cpu: '512'
          memory: '1024'
          containerDefinitions:
            - name: app
              image: nginx:latest
              cpu: 256
              memory: 512
              essential: true
    
    pulumi {
      required_providers {
        aws = {
          source = "pulumi/aws"
        }
      }
    }
    
    resource "aws_ecs_daemontaskdefinition" "example" {
      family = "my-daemon-service"
      cpu    = "512"
      memory = "1024"
      container_definitions {
        name      = "app"
        image     = "nginx:latest"
        cpu       = 256
        memory    = 512
        essential = true
      }
    }
    

    With IAM Roles

    import * as pulumi from "@pulumi/pulumi";
    import * as aws from "@pulumi/aws";
    
    const taskExecution = new aws.iam.Role("task_execution", {
        name: "daemon-task-execution-role",
        assumeRolePolicy: JSON.stringify({
            Version: "2012-10-17",
            Statement: [{
                Action: "sts:AssumeRole",
                Effect: "Allow",
                Principal: {
                    Service: "ecs-tasks.amazonaws.com",
                },
            }],
        }),
    });
    const task = new aws.iam.Role("task", {
        name: "daemon-task-role",
        assumeRolePolicy: JSON.stringify({
            Version: "2012-10-17",
            Statement: [{
                Action: "sts:AssumeRole",
                Effect: "Allow",
                Principal: {
                    Service: "ecs-tasks.amazonaws.com",
                },
            }],
        }),
    });
    const example = new aws.ecs.DaemonTaskDefinition("example", {
        family: "my-daemon-service",
        executionRoleArn: taskExecution.arn,
        taskRoleArn: task.arn,
        cpu: "512",
        memory: "1024",
        containerDefinitions: [{
            name: "app",
            image: "nginx:latest",
            cpu: 256,
            memory: 512,
            essential: true,
        }],
    });
    
    import pulumi
    import json
    import pulumi_aws as aws
    
    task_execution = aws.iam.Role("task_execution",
        name="daemon-task-execution-role",
        assume_role_policy=json.dumps({
            "Version": "2012-10-17",
            "Statement": [{
                "Action": "sts:AssumeRole",
                "Effect": "Allow",
                "Principal": {
                    "Service": "ecs-tasks.amazonaws.com",
                },
            }],
        }))
    task = aws.iam.Role("task",
        name="daemon-task-role",
        assume_role_policy=json.dumps({
            "Version": "2012-10-17",
            "Statement": [{
                "Action": "sts:AssumeRole",
                "Effect": "Allow",
                "Principal": {
                    "Service": "ecs-tasks.amazonaws.com",
                },
            }],
        }))
    example = aws.ecs.DaemonTaskDefinition("example",
        family="my-daemon-service",
        execution_role_arn=task_execution.arn,
        task_role_arn=task.arn,
        cpu="512",
        memory="1024",
        container_definitions=[{
            "name": "app",
            "image": "nginx:latest",
            "cpu": 256,
            "memory": 512,
            "essential": True,
        }])
    
    package main
    
    import (
    	"encoding/json"
    
    	"github.com/pulumi/pulumi-aws/sdk/v7/go/aws/ecs"
    	"github.com/pulumi/pulumi-aws/sdk/v7/go/aws/iam"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		tmpJSON0, err := json.Marshal(map[string]interface{}{
    			"Version": "2012-10-17",
    			"Statement": []map[string]interface{}{
    				map[string]interface{}{
    					"Action": "sts:AssumeRole",
    					"Effect": "Allow",
    					"Principal": map[string]interface{}{
    						"Service": "ecs-tasks.amazonaws.com",
    					},
    				},
    			},
    		})
    		if err != nil {
    			return err
    		}
    		json0 := string(tmpJSON0)
    		taskExecution, err := iam.NewRole(ctx, "task_execution", &iam.RoleArgs{
    			Name:             pulumi.String("daemon-task-execution-role"),
    			AssumeRolePolicy: pulumi.String(pulumi.String(json0)),
    		})
    		if err != nil {
    			return err
    		}
    		tmpJSON1, err := json.Marshal(map[string]interface{}{
    			"Version": "2012-10-17",
    			"Statement": []map[string]interface{}{
    				map[string]interface{}{
    					"Action": "sts:AssumeRole",
    					"Effect": "Allow",
    					"Principal": map[string]interface{}{
    						"Service": "ecs-tasks.amazonaws.com",
    					},
    				},
    			},
    		})
    		if err != nil {
    			return err
    		}
    		json1 := string(tmpJSON1)
    		task, err := iam.NewRole(ctx, "task", &iam.RoleArgs{
    			Name:             pulumi.String("daemon-task-role"),
    			AssumeRolePolicy: pulumi.String(pulumi.String(json1)),
    		})
    		if err != nil {
    			return err
    		}
    		_, err = ecs.NewDaemonTaskDefinition(ctx, "example", &ecs.DaemonTaskDefinitionArgs{
    			Family:           pulumi.String("my-daemon-service"),
    			ExecutionRoleArn: taskExecution.Arn,
    			TaskRoleArn:      task.Arn,
    			Cpu:              pulumi.String("512"),
    			Memory:           pulumi.String("1024"),
    			ContainerDefinitions: ecs.DaemonTaskDefinitionContainerDefinitionArray{
    				&ecs.DaemonTaskDefinitionContainerDefinitionArgs{
    					Name:      pulumi.String("app"),
    					Image:     pulumi.String("nginx:latest"),
    					Cpu:       pulumi.Int(256),
    					Memory:    pulumi.Int(512),
    					Essential: pulumi.Bool(true),
    				},
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using System.Text.Json;
    using Pulumi;
    using Aws = Pulumi.Aws;
    
    return await Deployment.RunAsync(() => 
    {
        var taskExecution = new Aws.Iam.Role("task_execution", new()
        {
            Name = "daemon-task-execution-role",
            AssumeRolePolicy = JsonSerializer.Serialize(new Dictionary<string, object?>
            {
                ["Version"] = "2012-10-17",
                ["Statement"] = new[]
                {
                    new Dictionary<string, object?>
                    {
                        ["Action"] = "sts:AssumeRole",
                        ["Effect"] = "Allow",
                        ["Principal"] = new Dictionary<string, object?>
                        {
                            ["Service"] = "ecs-tasks.amazonaws.com",
                        },
                    },
                },
            }),
        });
    
        var task = new Aws.Iam.Role("task", new()
        {
            Name = "daemon-task-role",
            AssumeRolePolicy = JsonSerializer.Serialize(new Dictionary<string, object?>
            {
                ["Version"] = "2012-10-17",
                ["Statement"] = new[]
                {
                    new Dictionary<string, object?>
                    {
                        ["Action"] = "sts:AssumeRole",
                        ["Effect"] = "Allow",
                        ["Principal"] = new Dictionary<string, object?>
                        {
                            ["Service"] = "ecs-tasks.amazonaws.com",
                        },
                    },
                },
            }),
        });
    
        var example = new Aws.Ecs.DaemonTaskDefinition("example", new()
        {
            Family = "my-daemon-service",
            ExecutionRoleArn = taskExecution.Arn,
            TaskRoleArn = task.Arn,
            Cpu = "512",
            Memory = "1024",
            ContainerDefinitions = new[]
            {
                new Aws.Ecs.Inputs.DaemonTaskDefinitionContainerDefinitionArgs
                {
                    Name = "app",
                    Image = "nginx:latest",
                    Cpu = 256,
                    Memory = 512,
                    Essential = true,
                },
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.aws.iam.Role;
    import com.pulumi.aws.iam.RoleArgs;
    import com.pulumi.aws.ecs.DaemonTaskDefinition;
    import com.pulumi.aws.ecs.DaemonTaskDefinitionArgs;
    import com.pulumi.aws.ecs.inputs.DaemonTaskDefinitionContainerDefinitionArgs;
    import static com.pulumi.codegen.internal.Serialization.*;
    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 taskExecution = new Role("taskExecution", RoleArgs.builder()
                .name("daemon-task-execution-role")
                .assumeRolePolicy(serializeJson(
                    jsonObject(
                        jsonProperty("Version", "2012-10-17"),
                        jsonProperty("Statement", jsonArray(jsonObject(
                            jsonProperty("Action", "sts:AssumeRole"),
                            jsonProperty("Effect", "Allow"),
                            jsonProperty("Principal", jsonObject(
                                jsonProperty("Service", "ecs-tasks.amazonaws.com")
                            ))
                        )))
                    )))
                .build());
    
            var task = new Role("task", RoleArgs.builder()
                .name("daemon-task-role")
                .assumeRolePolicy(serializeJson(
                    jsonObject(
                        jsonProperty("Version", "2012-10-17"),
                        jsonProperty("Statement", jsonArray(jsonObject(
                            jsonProperty("Action", "sts:AssumeRole"),
                            jsonProperty("Effect", "Allow"),
                            jsonProperty("Principal", jsonObject(
                                jsonProperty("Service", "ecs-tasks.amazonaws.com")
                            ))
                        )))
                    )))
                .build());
    
            var example = new DaemonTaskDefinition("example", DaemonTaskDefinitionArgs.builder()
                .family("my-daemon-service")
                .executionRoleArn(taskExecution.arn())
                .taskRoleArn(task.arn())
                .cpu("512")
                .memory("1024")
                .containerDefinitions(DaemonTaskDefinitionContainerDefinitionArgs.builder()
                    .name("app")
                    .image("nginx:latest")
                    .cpu(256)
                    .memory(512)
                    .essential(true)
                    .build())
                .build());
    
        }
    }
    
    resources:
      taskExecution:
        type: aws:iam:Role
        name: task_execution
        properties:
          name: daemon-task-execution-role
          assumeRolePolicy:
            fn::toJSON:
              Version: 2012-10-17
              Statement:
                - Action: sts:AssumeRole
                  Effect: Allow
                  Principal:
                    Service: ecs-tasks.amazonaws.com
      task:
        type: aws:iam:Role
        properties:
          name: daemon-task-role
          assumeRolePolicy:
            fn::toJSON:
              Version: 2012-10-17
              Statement:
                - Action: sts:AssumeRole
                  Effect: Allow
                  Principal:
                    Service: ecs-tasks.amazonaws.com
      example:
        type: aws:ecs:DaemonTaskDefinition
        properties:
          family: my-daemon-service
          executionRoleArn: ${taskExecution.arn}
          taskRoleArn: ${task.arn}
          cpu: '512'
          memory: '1024'
          containerDefinitions:
            - name: app
              image: nginx:latest
              cpu: 256
              memory: 512
              essential: true
    
    pulumi {
      required_providers {
        aws = {
          source = "pulumi/aws"
        }
      }
    }
    
    resource "aws_iam_role" "task_execution" {
      name = "daemon-task-execution-role"
      assume_role_policy = jsonencode({
        "Version" = "2012-10-17"
        "Statement" = [{
          "Action" = "sts:AssumeRole"
          "Effect" = "Allow"
          "Principal" = {
            "Service" = "ecs-tasks.amazonaws.com"
          }
        }]
      })
    }
    resource "aws_iam_role" "task" {
      name = "daemon-task-role"
      assume_role_policy = jsonencode({
        "Version" = "2012-10-17"
        "Statement" = [{
          "Action" = "sts:AssumeRole"
          "Effect" = "Allow"
          "Principal" = {
            "Service" = "ecs-tasks.amazonaws.com"
          }
        }]
      })
    }
    resource "aws_ecs_daemontaskdefinition" "example" {
      family             = "my-daemon-service"
      execution_role_arn = aws_iam_role.task_execution.arn
      task_role_arn      = aws_iam_role.task.arn
      cpu                = "512"
      memory             = "1024"
      container_definitions {
        name      = "app"
        image     = "nginx:latest"
        cpu       = 256
        memory    = 512
        essential = true
      }
    }
    

    With Volumes

    import * as pulumi from "@pulumi/pulumi";
    import * as aws from "@pulumi/aws";
    
    const example = new aws.ecs.DaemonTaskDefinition("example", {
        family: "my-daemon-service",
        cpu: "512",
        memory: "1024",
        containerDefinitions: [{
            name: "app",
            image: "nginx:latest",
            cpu: 256,
            memory: 512,
            essential: true,
        }],
        volumes: [
            {
                name: "data-volume",
                hosts: [{
                    sourcePath: "/data",
                }],
            },
            {
                name: "logs-volume",
                hosts: [{
                    sourcePath: "/var/log",
                }],
            },
        ],
    });
    
    import pulumi
    import pulumi_aws as aws
    
    example = aws.ecs.DaemonTaskDefinition("example",
        family="my-daemon-service",
        cpu="512",
        memory="1024",
        container_definitions=[{
            "name": "app",
            "image": "nginx:latest",
            "cpu": 256,
            "memory": 512,
            "essential": True,
        }],
        volumes=[
            {
                "name": "data-volume",
                "hosts": [{
                    "source_path": "/data",
                }],
            },
            {
                "name": "logs-volume",
                "hosts": [{
                    "source_path": "/var/log",
                }],
            },
        ])
    
    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 {
    		_, err := ecs.NewDaemonTaskDefinition(ctx, "example", &ecs.DaemonTaskDefinitionArgs{
    			Family: pulumi.String("my-daemon-service"),
    			Cpu:    pulumi.String("512"),
    			Memory: pulumi.String("1024"),
    			ContainerDefinitions: ecs.DaemonTaskDefinitionContainerDefinitionArray{
    				&ecs.DaemonTaskDefinitionContainerDefinitionArgs{
    					Name:      pulumi.String("app"),
    					Image:     pulumi.String("nginx:latest"),
    					Cpu:       pulumi.Int(256),
    					Memory:    pulumi.Int(512),
    					Essential: pulumi.Bool(true),
    				},
    			},
    			Volumes: ecs.DaemonTaskDefinitionVolumeArray{
    				&ecs.DaemonTaskDefinitionVolumeArgs{
    					Name: pulumi.String("data-volume"),
    					Hosts: ecs.DaemonTaskDefinitionVolumeHostArray{
    						&ecs.DaemonTaskDefinitionVolumeHostArgs{
    							SourcePath: pulumi.String("/data"),
    						},
    					},
    				},
    				&ecs.DaemonTaskDefinitionVolumeArgs{
    					Name: pulumi.String("logs-volume"),
    					Hosts: ecs.DaemonTaskDefinitionVolumeHostArray{
    						&ecs.DaemonTaskDefinitionVolumeHostArgs{
    							SourcePath: pulumi.String("/var/log"),
    						},
    					},
    				},
    			},
    		})
    		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 example = new Aws.Ecs.DaemonTaskDefinition("example", new()
        {
            Family = "my-daemon-service",
            Cpu = "512",
            Memory = "1024",
            ContainerDefinitions = new[]
            {
                new Aws.Ecs.Inputs.DaemonTaskDefinitionContainerDefinitionArgs
                {
                    Name = "app",
                    Image = "nginx:latest",
                    Cpu = 256,
                    Memory = 512,
                    Essential = true,
                },
            },
            Volumes = new[]
            {
                new Aws.Ecs.Inputs.DaemonTaskDefinitionVolumeArgs
                {
                    Name = "data-volume",
                    Hosts = new[]
                    {
                        new Aws.Ecs.Inputs.DaemonTaskDefinitionVolumeHostArgs
                        {
                            SourcePath = "/data",
                        },
                    },
                },
                new Aws.Ecs.Inputs.DaemonTaskDefinitionVolumeArgs
                {
                    Name = "logs-volume",
                    Hosts = new[]
                    {
                        new Aws.Ecs.Inputs.DaemonTaskDefinitionVolumeHostArgs
                        {
                            SourcePath = "/var/log",
                        },
                    },
                },
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.aws.ecs.DaemonTaskDefinition;
    import com.pulumi.aws.ecs.DaemonTaskDefinitionArgs;
    import com.pulumi.aws.ecs.inputs.DaemonTaskDefinitionContainerDefinitionArgs;
    import com.pulumi.aws.ecs.inputs.DaemonTaskDefinitionVolumeArgs;
    import com.pulumi.aws.ecs.inputs.DaemonTaskDefinitionVolumeHostArgs;
    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 example = new DaemonTaskDefinition("example", DaemonTaskDefinitionArgs.builder()
                .family("my-daemon-service")
                .cpu("512")
                .memory("1024")
                .containerDefinitions(DaemonTaskDefinitionContainerDefinitionArgs.builder()
                    .name("app")
                    .image("nginx:latest")
                    .cpu(256)
                    .memory(512)
                    .essential(true)
                    .build())
                .volumes(            
                    DaemonTaskDefinitionVolumeArgs.builder()
                        .name("data-volume")
                        .hosts(DaemonTaskDefinitionVolumeHostArgs.builder()
                            .sourcePath("/data")
                            .build())
                        .build(),
                    DaemonTaskDefinitionVolumeArgs.builder()
                        .name("logs-volume")
                        .hosts(DaemonTaskDefinitionVolumeHostArgs.builder()
                            .sourcePath("/var/log")
                            .build())
                        .build())
                .build());
    
        }
    }
    
    resources:
      example:
        type: aws:ecs:DaemonTaskDefinition
        properties:
          family: my-daemon-service
          cpu: '512'
          memory: '1024'
          containerDefinitions:
            - name: app
              image: nginx:latest
              cpu: 256
              memory: 512
              essential: true
          volumes:
            - name: data-volume
              hosts:
                - sourcePath: /data
            - name: logs-volume
              hosts:
                - sourcePath: /var/log
    
    pulumi {
      required_providers {
        aws = {
          source = "pulumi/aws"
        }
      }
    }
    
    resource "aws_ecs_daemontaskdefinition" "example" {
      family = "my-daemon-service"
      cpu    = "512"
      memory = "1024"
      container_definitions {
        name      = "app"
        image     = "nginx:latest"
        cpu       = 256
        memory    = 512
        essential = true
      }
      volumes {
        name = "data-volume"
        hosts {
          source_path = "/data"
        }
      }
      volumes {
        name = "logs-volume"
        hosts {
          source_path = "/var/log"
        }
      }
    }
    

    With Multiple Containers

    import * as pulumi from "@pulumi/pulumi";
    import * as aws from "@pulumi/aws";
    
    const example = new aws.ecs.DaemonTaskDefinition("example", {
        family: "my-daemon-service",
        cpu: "512",
        memory: "1024",
        containerDefinitions: [
            {
                name: "app",
                image: "my-app:latest",
                cpu: 256,
                memory: 512,
                essential: true,
            },
            {
                name: "sidecar",
                image: "datadog/agent:latest",
                cpu: 128,
                memory: 256,
                essential: false,
            },
        ],
    });
    
    import pulumi
    import pulumi_aws as aws
    
    example = aws.ecs.DaemonTaskDefinition("example",
        family="my-daemon-service",
        cpu="512",
        memory="1024",
        container_definitions=[
            {
                "name": "app",
                "image": "my-app:latest",
                "cpu": 256,
                "memory": 512,
                "essential": True,
            },
            {
                "name": "sidecar",
                "image": "datadog/agent:latest",
                "cpu": 128,
                "memory": 256,
                "essential": False,
            },
        ])
    
    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 {
    		_, err := ecs.NewDaemonTaskDefinition(ctx, "example", &ecs.DaemonTaskDefinitionArgs{
    			Family: pulumi.String("my-daemon-service"),
    			Cpu:    pulumi.String("512"),
    			Memory: pulumi.String("1024"),
    			ContainerDefinitions: ecs.DaemonTaskDefinitionContainerDefinitionArray{
    				&ecs.DaemonTaskDefinitionContainerDefinitionArgs{
    					Name:      pulumi.String("app"),
    					Image:     pulumi.String("my-app:latest"),
    					Cpu:       pulumi.Int(256),
    					Memory:    pulumi.Int(512),
    					Essential: pulumi.Bool(true),
    				},
    				&ecs.DaemonTaskDefinitionContainerDefinitionArgs{
    					Name:      pulumi.String("sidecar"),
    					Image:     pulumi.String("datadog/agent:latest"),
    					Cpu:       pulumi.Int(128),
    					Memory:    pulumi.Int(256),
    					Essential: pulumi.Bool(false),
    				},
    			},
    		})
    		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 example = new Aws.Ecs.DaemonTaskDefinition("example", new()
        {
            Family = "my-daemon-service",
            Cpu = "512",
            Memory = "1024",
            ContainerDefinitions = new[]
            {
                new Aws.Ecs.Inputs.DaemonTaskDefinitionContainerDefinitionArgs
                {
                    Name = "app",
                    Image = "my-app:latest",
                    Cpu = 256,
                    Memory = 512,
                    Essential = true,
                },
                new Aws.Ecs.Inputs.DaemonTaskDefinitionContainerDefinitionArgs
                {
                    Name = "sidecar",
                    Image = "datadog/agent:latest",
                    Cpu = 128,
                    Memory = 256,
                    Essential = false,
                },
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.aws.ecs.DaemonTaskDefinition;
    import com.pulumi.aws.ecs.DaemonTaskDefinitionArgs;
    import com.pulumi.aws.ecs.inputs.DaemonTaskDefinitionContainerDefinitionArgs;
    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 example = new DaemonTaskDefinition("example", DaemonTaskDefinitionArgs.builder()
                .family("my-daemon-service")
                .cpu("512")
                .memory("1024")
                .containerDefinitions(            
                    DaemonTaskDefinitionContainerDefinitionArgs.builder()
                        .name("app")
                        .image("my-app:latest")
                        .cpu(256)
                        .memory(512)
                        .essential(true)
                        .build(),
                    DaemonTaskDefinitionContainerDefinitionArgs.builder()
                        .name("sidecar")
                        .image("datadog/agent:latest")
                        .cpu(128)
                        .memory(256)
                        .essential(false)
                        .build())
                .build());
    
        }
    }
    
    resources:
      example:
        type: aws:ecs:DaemonTaskDefinition
        properties:
          family: my-daemon-service
          cpu: '512'
          memory: '1024'
          containerDefinitions:
            - name: app
              image: my-app:latest
              cpu: 256
              memory: 512
              essential: true
            - name: sidecar
              image: datadog/agent:latest
              cpu: 128
              memory: 256
              essential: false
    
    pulumi {
      required_providers {
        aws = {
          source = "pulumi/aws"
        }
      }
    }
    
    resource "aws_ecs_daemontaskdefinition" "example" {
      family = "my-daemon-service"
      cpu    = "512"
      memory = "1024"
      container_definitions {
        name      = "app"
        image     = "my-app:latest"
        cpu       = 256
        memory    = 512
        essential = true
      }
      container_definitions {
        name      = "sidecar"
        image     = "datadog/agent:latest"
        cpu       = 128
        memory    = 256
        essential = false
      }
    }
    

    Create DaemonTaskDefinition Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new DaemonTaskDefinition(name: string, args: DaemonTaskDefinitionArgs, opts?: CustomResourceOptions);
    @overload
    def DaemonTaskDefinition(resource_name: str,
                             args: DaemonTaskDefinitionArgs,
                             opts: Optional[ResourceOptions] = None)
    
    @overload
    def DaemonTaskDefinition(resource_name: str,
                             opts: Optional[ResourceOptions] = None,
                             container_definitions: Optional[Sequence[DaemonTaskDefinitionContainerDefinitionArgs]] = None,
                             family: Optional[str] = None,
                             cpu: Optional[str] = None,
                             execution_role_arn: Optional[str] = None,
                             memory: Optional[str] = None,
                             region: Optional[str] = None,
                             tags: Optional[Mapping[str, str]] = None,
                             task_role_arn: Optional[str] = None,
                             volumes: Optional[Sequence[DaemonTaskDefinitionVolumeArgs]] = None)
    func NewDaemonTaskDefinition(ctx *Context, name string, args DaemonTaskDefinitionArgs, opts ...ResourceOption) (*DaemonTaskDefinition, error)
    public DaemonTaskDefinition(string name, DaemonTaskDefinitionArgs args, CustomResourceOptions? opts = null)
    public DaemonTaskDefinition(String name, DaemonTaskDefinitionArgs args)
    public DaemonTaskDefinition(String name, DaemonTaskDefinitionArgs args, CustomResourceOptions options)
    
    type: aws:ecs:DaemonTaskDefinition
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "aws_ecs_daemontaskdefinition" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args DaemonTaskDefinitionArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args DaemonTaskDefinitionArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args DaemonTaskDefinitionArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args DaemonTaskDefinitionArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args DaemonTaskDefinitionArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var daemonTaskDefinitionResource = new Aws.Ecs.DaemonTaskDefinition("daemonTaskDefinitionResource", new()
    {
        ContainerDefinitions = new[]
        {
            new Aws.Ecs.Inputs.DaemonTaskDefinitionContainerDefinitionArgs
            {
                Image = "string",
                MemoryReservation = 0,
                StopTimeout = 0,
                EntryPoints = new[]
                {
                    "string",
                },
                EnvironmentFiles = new[]
                {
                    new Aws.Ecs.Inputs.DaemonTaskDefinitionContainerDefinitionEnvironmentFileArgs
                    {
                        Type = "string",
                        Value = "string",
                    },
                },
                MountPoints = new[]
                {
                    new Aws.Ecs.Inputs.DaemonTaskDefinitionContainerDefinitionMountPointArgs
                    {
                        ContainerPath = "string",
                        ReadOnly = false,
                        SourceVolume = "string",
                    },
                },
                Essential = false,
                FirelensConfiguration = new Aws.Ecs.Inputs.DaemonTaskDefinitionContainerDefinitionFirelensConfigurationArgs
                {
                    Type = "string",
                    Options = 
                    {
                        { "string", "string" },
                    },
                },
                HealthCheck = new Aws.Ecs.Inputs.DaemonTaskDefinitionContainerDefinitionHealthCheckArgs
                {
                    Commands = new[]
                    {
                        "string",
                    },
                    Interval = 0,
                    Retries = 0,
                    StartPeriod = 0,
                    Timeout = 0,
                },
                Cpu = 0,
                Interactive = false,
                LinuxParameters = new Aws.Ecs.Inputs.DaemonTaskDefinitionContainerDefinitionLinuxParametersArgs
                {
                    Capabilities = new Aws.Ecs.Inputs.DaemonTaskDefinitionContainerDefinitionLinuxParametersCapabilitiesArgs
                    {
                        Adds = new[]
                        {
                            "string",
                        },
                        Drops = new[]
                        {
                            "string",
                        },
                    },
                    Devices = new[]
                    {
                        new Aws.Ecs.Inputs.DaemonTaskDefinitionContainerDefinitionLinuxParametersDeviceArgs
                        {
                            HostPath = "string",
                            ContainerPath = "string",
                            Permissions = new[]
                            {
                                "string",
                            },
                        },
                    },
                    InitProcessEnabled = false,
                    Tmpfs = new[]
                    {
                        new Aws.Ecs.Inputs.DaemonTaskDefinitionContainerDefinitionLinuxParametersTmpfArgs
                        {
                            ContainerPath = "string",
                            Size = 0,
                            MountOptions = new[]
                            {
                                "string",
                            },
                        },
                    },
                },
                LogConfiguration = new Aws.Ecs.Inputs.DaemonTaskDefinitionContainerDefinitionLogConfigurationArgs
                {
                    LogDriver = "string",
                    Options = 
                    {
                        { "string", "string" },
                    },
                    SecretOptions = new[]
                    {
                        new Aws.Ecs.Inputs.DaemonTaskDefinitionContainerDefinitionLogConfigurationSecretOptionArgs
                        {
                            Name = "string",
                            ValueFrom = "string",
                        },
                    },
                },
                DependsOns = new[]
                {
                    new Aws.Ecs.Inputs.DaemonTaskDefinitionContainerDefinitionDependsOnArgs
                    {
                        Condition = "string",
                        ContainerName = "string",
                    },
                },
                Memory = 0,
                Environments = new[]
                {
                    new Aws.Ecs.Inputs.DaemonTaskDefinitionContainerDefinitionEnvironmentArgs
                    {
                        Name = "string",
                        Value = "string",
                    },
                },
                Name = "string",
                Privileged = false,
                PseudoTerminal = false,
                ReadonlyRootFilesystem = false,
                RepositoryCredentials = new Aws.Ecs.Inputs.DaemonTaskDefinitionContainerDefinitionRepositoryCredentialsArgs
                {
                    CredentialsParameter = "string",
                },
                RestartPolicy = new Aws.Ecs.Inputs.DaemonTaskDefinitionContainerDefinitionRestartPolicyArgs
                {
                    Enabled = false,
                    IgnoredExitCodes = new[]
                    {
                        0,
                    },
                    RestartAttemptPeriod = 0,
                },
                Secrets = new[]
                {
                    new Aws.Ecs.Inputs.DaemonTaskDefinitionContainerDefinitionSecretArgs
                    {
                        Name = "string",
                        ValueFrom = "string",
                    },
                },
                StartTimeout = 0,
                Commands = new[]
                {
                    "string",
                },
                SystemControls = new[]
                {
                    new Aws.Ecs.Inputs.DaemonTaskDefinitionContainerDefinitionSystemControlArgs
                    {
                        Namespace = "string",
                        Value = "string",
                    },
                },
                Ulimits = new[]
                {
                    new Aws.Ecs.Inputs.DaemonTaskDefinitionContainerDefinitionUlimitArgs
                    {
                        HardLimit = 0,
                        Name = "string",
                        SoftLimit = 0,
                    },
                },
                User = "string",
                WorkingDirectory = "string",
            },
        },
        Family = "string",
        Cpu = "string",
        ExecutionRoleArn = "string",
        Memory = "string",
        Region = "string",
        Tags = 
        {
            { "string", "string" },
        },
        TaskRoleArn = "string",
        Volumes = new[]
        {
            new Aws.Ecs.Inputs.DaemonTaskDefinitionVolumeArgs
            {
                Name = "string",
                Hosts = new[]
                {
                    new Aws.Ecs.Inputs.DaemonTaskDefinitionVolumeHostArgs
                    {
                        SourcePath = "string",
                    },
                },
            },
        },
    });
    
    example, err := ecs.NewDaemonTaskDefinition(ctx, "daemonTaskDefinitionResource", &ecs.DaemonTaskDefinitionArgs{
    	ContainerDefinitions: ecs.DaemonTaskDefinitionContainerDefinitionArray{
    		&ecs.DaemonTaskDefinitionContainerDefinitionArgs{
    			Image:             pulumi.String("string"),
    			MemoryReservation: pulumi.Int(0),
    			StopTimeout:       pulumi.Int(0),
    			EntryPoints: pulumi.StringArray{
    				pulumi.String("string"),
    			},
    			EnvironmentFiles: ecs.DaemonTaskDefinitionContainerDefinitionEnvironmentFileArray{
    				&ecs.DaemonTaskDefinitionContainerDefinitionEnvironmentFileArgs{
    					Type:  pulumi.String("string"),
    					Value: pulumi.String("string"),
    				},
    			},
    			MountPoints: ecs.DaemonTaskDefinitionContainerDefinitionMountPointArray{
    				&ecs.DaemonTaskDefinitionContainerDefinitionMountPointArgs{
    					ContainerPath: pulumi.String("string"),
    					ReadOnly:      pulumi.Bool(false),
    					SourceVolume:  pulumi.String("string"),
    				},
    			},
    			Essential: pulumi.Bool(false),
    			FirelensConfiguration: &ecs.DaemonTaskDefinitionContainerDefinitionFirelensConfigurationArgs{
    				Type: pulumi.String("string"),
    				Options: pulumi.StringMap{
    					"string": pulumi.String("string"),
    				},
    			},
    			HealthCheck: &ecs.DaemonTaskDefinitionContainerDefinitionHealthCheckArgs{
    				Commands: pulumi.StringArray{
    					pulumi.String("string"),
    				},
    				Interval:    pulumi.Int(0),
    				Retries:     pulumi.Int(0),
    				StartPeriod: pulumi.Int(0),
    				Timeout:     pulumi.Int(0),
    			},
    			Cpu:         pulumi.Int(0),
    			Interactive: pulumi.Bool(false),
    			LinuxParameters: &ecs.DaemonTaskDefinitionContainerDefinitionLinuxParametersArgs{
    				Capabilities: &ecs.DaemonTaskDefinitionContainerDefinitionLinuxParametersCapabilitiesArgs{
    					Adds: pulumi.StringArray{
    						pulumi.String("string"),
    					},
    					Drops: pulumi.StringArray{
    						pulumi.String("string"),
    					},
    				},
    				Devices: ecs.DaemonTaskDefinitionContainerDefinitionLinuxParametersDeviceArray{
    					&ecs.DaemonTaskDefinitionContainerDefinitionLinuxParametersDeviceArgs{
    						HostPath:      pulumi.String("string"),
    						ContainerPath: pulumi.String("string"),
    						Permissions: pulumi.StringArray{
    							pulumi.String("string"),
    						},
    					},
    				},
    				InitProcessEnabled: pulumi.Bool(false),
    				Tmpfs: ecs.DaemonTaskDefinitionContainerDefinitionLinuxParametersTmpfArray{
    					&ecs.DaemonTaskDefinitionContainerDefinitionLinuxParametersTmpfArgs{
    						ContainerPath: pulumi.String("string"),
    						Size:          pulumi.Int(0),
    						MountOptions: pulumi.StringArray{
    							pulumi.String("string"),
    						},
    					},
    				},
    			},
    			LogConfiguration: &ecs.DaemonTaskDefinitionContainerDefinitionLogConfigurationArgs{
    				LogDriver: pulumi.String("string"),
    				Options: pulumi.StringMap{
    					"string": pulumi.String("string"),
    				},
    				SecretOptions: ecs.DaemonTaskDefinitionContainerDefinitionLogConfigurationSecretOptionArray{
    					&ecs.DaemonTaskDefinitionContainerDefinitionLogConfigurationSecretOptionArgs{
    						Name:      pulumi.String("string"),
    						ValueFrom: pulumi.String("string"),
    					},
    				},
    			},
    			DependsOns: ecs.DaemonTaskDefinitionContainerDefinitionDependsOnArray{
    				&ecs.DaemonTaskDefinitionContainerDefinitionDependsOnArgs{
    					Condition:     pulumi.String("string"),
    					ContainerName: pulumi.String("string"),
    				},
    			},
    			Memory: pulumi.Int(0),
    			Environments: ecs.DaemonTaskDefinitionContainerDefinitionEnvironmentArray{
    				&ecs.DaemonTaskDefinitionContainerDefinitionEnvironmentArgs{
    					Name:  pulumi.String("string"),
    					Value: pulumi.String("string"),
    				},
    			},
    			Name:                   pulumi.String("string"),
    			Privileged:             pulumi.Bool(false),
    			PseudoTerminal:         pulumi.Bool(false),
    			ReadonlyRootFilesystem: pulumi.Bool(false),
    			RepositoryCredentials: &ecs.DaemonTaskDefinitionContainerDefinitionRepositoryCredentialsArgs{
    				CredentialsParameter: pulumi.String("string"),
    			},
    			RestartPolicy: &ecs.DaemonTaskDefinitionContainerDefinitionRestartPolicyArgs{
    				Enabled: pulumi.Bool(false),
    				IgnoredExitCodes: pulumi.IntArray{
    					pulumi.Int(0),
    				},
    				RestartAttemptPeriod: pulumi.Int(0),
    			},
    			Secrets: ecs.DaemonTaskDefinitionContainerDefinitionSecretArray{
    				&ecs.DaemonTaskDefinitionContainerDefinitionSecretArgs{
    					Name:      pulumi.String("string"),
    					ValueFrom: pulumi.String("string"),
    				},
    			},
    			StartTimeout: pulumi.Int(0),
    			Commands: pulumi.StringArray{
    				pulumi.String("string"),
    			},
    			SystemControls: ecs.DaemonTaskDefinitionContainerDefinitionSystemControlArray{
    				&ecs.DaemonTaskDefinitionContainerDefinitionSystemControlArgs{
    					Namespace: pulumi.String("string"),
    					Value:     pulumi.String("string"),
    				},
    			},
    			Ulimits: ecs.DaemonTaskDefinitionContainerDefinitionUlimitArray{
    				&ecs.DaemonTaskDefinitionContainerDefinitionUlimitArgs{
    					HardLimit: pulumi.Int(0),
    					Name:      pulumi.String("string"),
    					SoftLimit: pulumi.Int(0),
    				},
    			},
    			User:             pulumi.String("string"),
    			WorkingDirectory: pulumi.String("string"),
    		},
    	},
    	Family:           pulumi.String("string"),
    	Cpu:              pulumi.String("string"),
    	ExecutionRoleArn: pulumi.String("string"),
    	Memory:           pulumi.String("string"),
    	Region:           pulumi.String("string"),
    	Tags: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	TaskRoleArn: pulumi.String("string"),
    	Volumes: ecs.DaemonTaskDefinitionVolumeArray{
    		&ecs.DaemonTaskDefinitionVolumeArgs{
    			Name: pulumi.String("string"),
    			Hosts: ecs.DaemonTaskDefinitionVolumeHostArray{
    				&ecs.DaemonTaskDefinitionVolumeHostArgs{
    					SourcePath: pulumi.String("string"),
    				},
    			},
    		},
    	},
    })
    
    resource "aws_ecs_daemontaskdefinition" "daemonTaskDefinitionResource" {
      container_definitions {
        image              = "string"
        memory_reservation = 0
        stop_timeout       = 0
        entry_points       = ["string"]
        environment_files {
          type  = "string"
          value = "string"
        }
        mount_points {
          container_path = "string"
          read_only      = false
          source_volume  = "string"
        }
        essential = false
        firelens_configuration = {
          type = "string"
          options = {
            "string" = "string"
          }
        }
        health_check = {
          commands     = ["string"]
          interval     = 0
          retries      = 0
          start_period = 0
          timeout      = 0
        }
        cpu         = 0
        interactive = false
        linux_parameters = {
          capabilities = {
            adds  = ["string"]
            drops = ["string"]
          }
          devices = [{
            "hostPath"      = "string"
            "containerPath" = "string"
            "permissions"   = ["string"]
          }]
          init_process_enabled = false
          tmpfs = [{
            "containerPath" = "string"
            "size"          = 0
            "mountOptions"  = ["string"]
          }]
        }
        log_configuration = {
          log_driver = "string"
          options = {
            "string" = "string"
          }
          secret_options = [{
            "name"      = "string"
            "valueFrom" = "string"
          }]
        }
        depends_ons {
          condition      = "string"
          container_name = "string"
        }
        memory = 0
        environments {
          name  = "string"
          value = "string"
        }
        name                     = "string"
        privileged               = false
        pseudo_terminal          = false
        readonly_root_filesystem = false
        repository_credentials = {
          credentials_parameter = "string"
        }
        restart_policy = {
          enabled                = false
          ignored_exit_codes     = [0]
          restart_attempt_period = 0
        }
        secrets {
          name       = "string"
          value_from = "string"
        }
        start_timeout = 0
        commands      = ["string"]
        system_controls {
          namespace = "string"
          value     = "string"
        }
        ulimits {
          hard_limit = 0
          name       = "string"
          soft_limit = 0
        }
        user              = "string"
        working_directory = "string"
      }
      family             = "string"
      cpu                = "string"
      execution_role_arn = "string"
      memory             = "string"
      region             = "string"
      tags = {
        "string" = "string"
      }
      task_role_arn = "string"
      volumes {
        name = "string"
        hosts {
          source_path = "string"
        }
      }
    }
    
    var daemonTaskDefinitionResource = new DaemonTaskDefinition("daemonTaskDefinitionResource", DaemonTaskDefinitionArgs.builder()
        .containerDefinitions(DaemonTaskDefinitionContainerDefinitionArgs.builder()
            .image("string")
            .memoryReservation(0)
            .stopTimeout(0)
            .entryPoints("string")
            .environmentFiles(DaemonTaskDefinitionContainerDefinitionEnvironmentFileArgs.builder()
                .type("string")
                .value("string")
                .build())
            .mountPoints(DaemonTaskDefinitionContainerDefinitionMountPointArgs.builder()
                .containerPath("string")
                .readOnly(false)
                .sourceVolume("string")
                .build())
            .essential(false)
            .firelensConfiguration(DaemonTaskDefinitionContainerDefinitionFirelensConfigurationArgs.builder()
                .type("string")
                .options(Map.of("string", "string"))
                .build())
            .healthCheck(DaemonTaskDefinitionContainerDefinitionHealthCheckArgs.builder()
                .commands("string")
                .interval(0)
                .retries(0)
                .startPeriod(0)
                .timeout(0)
                .build())
            .cpu(0)
            .interactive(false)
            .linuxParameters(DaemonTaskDefinitionContainerDefinitionLinuxParametersArgs.builder()
                .capabilities(DaemonTaskDefinitionContainerDefinitionLinuxParametersCapabilitiesArgs.builder()
                    .adds("string")
                    .drops("string")
                    .build())
                .devices(DaemonTaskDefinitionContainerDefinitionLinuxParametersDeviceArgs.builder()
                    .hostPath("string")
                    .containerPath("string")
                    .permissions("string")
                    .build())
                .initProcessEnabled(false)
                .tmpfs(DaemonTaskDefinitionContainerDefinitionLinuxParametersTmpfArgs.builder()
                    .containerPath("string")
                    .size(0)
                    .mountOptions("string")
                    .build())
                .build())
            .logConfiguration(DaemonTaskDefinitionContainerDefinitionLogConfigurationArgs.builder()
                .logDriver("string")
                .options(Map.of("string", "string"))
                .secretOptions(DaemonTaskDefinitionContainerDefinitionLogConfigurationSecretOptionArgs.builder()
                    .name("string")
                    .valueFrom("string")
                    .build())
                .build())
            .dependsOns(DaemonTaskDefinitionContainerDefinitionDependsOnArgs.builder()
                .condition("string")
                .containerName("string")
                .build())
            .memory(0)
            .environments(DaemonTaskDefinitionContainerDefinitionEnvironmentArgs.builder()
                .name("string")
                .value("string")
                .build())
            .name("string")
            .privileged(false)
            .pseudoTerminal(false)
            .readonlyRootFilesystem(false)
            .repositoryCredentials(DaemonTaskDefinitionContainerDefinitionRepositoryCredentialsArgs.builder()
                .credentialsParameter("string")
                .build())
            .restartPolicy(DaemonTaskDefinitionContainerDefinitionRestartPolicyArgs.builder()
                .enabled(false)
                .ignoredExitCodes(0)
                .restartAttemptPeriod(0)
                .build())
            .secrets(DaemonTaskDefinitionContainerDefinitionSecretArgs.builder()
                .name("string")
                .valueFrom("string")
                .build())
            .startTimeout(0)
            .commands("string")
            .systemControls(DaemonTaskDefinitionContainerDefinitionSystemControlArgs.builder()
                .namespace("string")
                .value("string")
                .build())
            .ulimits(DaemonTaskDefinitionContainerDefinitionUlimitArgs.builder()
                .hardLimit(0)
                .name("string")
                .softLimit(0)
                .build())
            .user("string")
            .workingDirectory("string")
            .build())
        .family("string")
        .cpu("string")
        .executionRoleArn("string")
        .memory("string")
        .region("string")
        .tags(Map.of("string", "string"))
        .taskRoleArn("string")
        .volumes(DaemonTaskDefinitionVolumeArgs.builder()
            .name("string")
            .hosts(DaemonTaskDefinitionVolumeHostArgs.builder()
                .sourcePath("string")
                .build())
            .build())
        .build());
    
    daemon_task_definition_resource = aws.ecs.DaemonTaskDefinition("daemonTaskDefinitionResource",
        container_definitions=[{
            "image": "string",
            "memory_reservation": 0,
            "stop_timeout": 0,
            "entry_points": ["string"],
            "environment_files": [{
                "type": "string",
                "value": "string",
            }],
            "mount_points": [{
                "container_path": "string",
                "read_only": False,
                "source_volume": "string",
            }],
            "essential": False,
            "firelens_configuration": {
                "type": "string",
                "options": {
                    "string": "string",
                },
            },
            "health_check": {
                "commands": ["string"],
                "interval": 0,
                "retries": 0,
                "start_period": 0,
                "timeout": 0,
            },
            "cpu": 0,
            "interactive": False,
            "linux_parameters": {
                "capabilities": {
                    "adds": ["string"],
                    "drops": ["string"],
                },
                "devices": [{
                    "host_path": "string",
                    "container_path": "string",
                    "permissions": ["string"],
                }],
                "init_process_enabled": False,
                "tmpfs": [{
                    "container_path": "string",
                    "size": 0,
                    "mount_options": ["string"],
                }],
            },
            "log_configuration": {
                "log_driver": "string",
                "options": {
                    "string": "string",
                },
                "secret_options": [{
                    "name": "string",
                    "value_from": "string",
                }],
            },
            "depends_ons": [{
                "condition": "string",
                "container_name": "string",
            }],
            "memory": 0,
            "environments": [{
                "name": "string",
                "value": "string",
            }],
            "name": "string",
            "privileged": False,
            "pseudo_terminal": False,
            "readonly_root_filesystem": False,
            "repository_credentials": {
                "credentials_parameter": "string",
            },
            "restart_policy": {
                "enabled": False,
                "ignored_exit_codes": [0],
                "restart_attempt_period": 0,
            },
            "secrets": [{
                "name": "string",
                "value_from": "string",
            }],
            "start_timeout": 0,
            "commands": ["string"],
            "system_controls": [{
                "namespace": "string",
                "value": "string",
            }],
            "ulimits": [{
                "hard_limit": 0,
                "name": "string",
                "soft_limit": 0,
            }],
            "user": "string",
            "working_directory": "string",
        }],
        family="string",
        cpu="string",
        execution_role_arn="string",
        memory="string",
        region="string",
        tags={
            "string": "string",
        },
        task_role_arn="string",
        volumes=[{
            "name": "string",
            "hosts": [{
                "source_path": "string",
            }],
        }])
    
    const daemonTaskDefinitionResource = new aws.ecs.DaemonTaskDefinition("daemonTaskDefinitionResource", {
        containerDefinitions: [{
            image: "string",
            memoryReservation: 0,
            stopTimeout: 0,
            entryPoints: ["string"],
            environmentFiles: [{
                type: "string",
                value: "string",
            }],
            mountPoints: [{
                containerPath: "string",
                readOnly: false,
                sourceVolume: "string",
            }],
            essential: false,
            firelensConfiguration: {
                type: "string",
                options: {
                    string: "string",
                },
            },
            healthCheck: {
                commands: ["string"],
                interval: 0,
                retries: 0,
                startPeriod: 0,
                timeout: 0,
            },
            cpu: 0,
            interactive: false,
            linuxParameters: {
                capabilities: {
                    adds: ["string"],
                    drops: ["string"],
                },
                devices: [{
                    hostPath: "string",
                    containerPath: "string",
                    permissions: ["string"],
                }],
                initProcessEnabled: false,
                tmpfs: [{
                    containerPath: "string",
                    size: 0,
                    mountOptions: ["string"],
                }],
            },
            logConfiguration: {
                logDriver: "string",
                options: {
                    string: "string",
                },
                secretOptions: [{
                    name: "string",
                    valueFrom: "string",
                }],
            },
            dependsOns: [{
                condition: "string",
                containerName: "string",
            }],
            memory: 0,
            environments: [{
                name: "string",
                value: "string",
            }],
            name: "string",
            privileged: false,
            pseudoTerminal: false,
            readonlyRootFilesystem: false,
            repositoryCredentials: {
                credentialsParameter: "string",
            },
            restartPolicy: {
                enabled: false,
                ignoredExitCodes: [0],
                restartAttemptPeriod: 0,
            },
            secrets: [{
                name: "string",
                valueFrom: "string",
            }],
            startTimeout: 0,
            commands: ["string"],
            systemControls: [{
                namespace: "string",
                value: "string",
            }],
            ulimits: [{
                hardLimit: 0,
                name: "string",
                softLimit: 0,
            }],
            user: "string",
            workingDirectory: "string",
        }],
        family: "string",
        cpu: "string",
        executionRoleArn: "string",
        memory: "string",
        region: "string",
        tags: {
            string: "string",
        },
        taskRoleArn: "string",
        volumes: [{
            name: "string",
            hosts: [{
                sourcePath: "string",
            }],
        }],
    });
    
    type: aws:ecs:DaemonTaskDefinition
    properties:
        containerDefinitions:
            - commands:
                - string
              cpu: 0
              dependsOns:
                - condition: string
                  containerName: string
              entryPoints:
                - string
              environmentFiles:
                - type: string
                  value: string
              environments:
                - name: string
                  value: string
              essential: false
              firelensConfiguration:
                options:
                    string: string
                type: string
              healthCheck:
                commands:
                    - string
                interval: 0
                retries: 0
                startPeriod: 0
                timeout: 0
              image: string
              interactive: false
              linuxParameters:
                capabilities:
                    adds:
                        - string
                    drops:
                        - string
                devices:
                    - containerPath: string
                      hostPath: string
                      permissions:
                        - string
                initProcessEnabled: false
                tmpfs:
                    - containerPath: string
                      mountOptions:
                        - string
                      size: 0
              logConfiguration:
                logDriver: string
                options:
                    string: string
                secretOptions:
                    - name: string
                      valueFrom: string
              memory: 0
              memoryReservation: 0
              mountPoints:
                - containerPath: string
                  readOnly: false
                  sourceVolume: string
              name: string
              privileged: false
              pseudoTerminal: false
              readonlyRootFilesystem: false
              repositoryCredentials:
                credentialsParameter: string
              restartPolicy:
                enabled: false
                ignoredExitCodes:
                    - 0
                restartAttemptPeriod: 0
              secrets:
                - name: string
                  valueFrom: string
              startTimeout: 0
              stopTimeout: 0
              systemControls:
                - namespace: string
                  value: string
              ulimits:
                - hardLimit: 0
                  name: string
                  softLimit: 0
              user: string
              workingDirectory: string
        cpu: string
        executionRoleArn: string
        family: string
        memory: string
        region: string
        tags:
            string: string
        taskRoleArn: string
        volumes:
            - hosts:
                - sourcePath: string
              name: string
    

    DaemonTaskDefinition Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The DaemonTaskDefinition resource accepts the following input properties:

    ContainerDefinitions List<DaemonTaskDefinitionContainerDefinition>
    One or more container definition blocks. Detailed below.
    Family string

    Unique name for your daemon task definition.

    The following arguments are optional:

    Cpu string
    Number of CPU units used by the task.
    ExecutionRoleArn string
    ARN of the task execution role that the Amazon ECS container agent and the Docker daemon can assume.
    Memory string
    Amount (in MiB) of memory used by the task.
    Region string
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    Tags Dictionary<string, string>
    Key-value map of resource tags. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    TaskRoleArn string
    ARN of IAM role that allows your Amazon ECS container task to make calls to other AWS services.
    Volumes List<DaemonTaskDefinitionVolume>
    Repeatable configuration block for volumes that containers in your task may use. Detailed below.
    ContainerDefinitions []DaemonTaskDefinitionContainerDefinitionArgs
    One or more container definition blocks. Detailed below.
    Family string

    Unique name for your daemon task definition.

    The following arguments are optional:

    Cpu string
    Number of CPU units used by the task.
    ExecutionRoleArn string
    ARN of the task execution role that the Amazon ECS container agent and the Docker daemon can assume.
    Memory string
    Amount (in MiB) of memory used by the task.
    Region string
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    Tags map[string]string
    Key-value map of resource tags. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    TaskRoleArn string
    ARN of IAM role that allows your Amazon ECS container task to make calls to other AWS services.
    Volumes []DaemonTaskDefinitionVolumeArgs
    Repeatable configuration block for volumes that containers in your task may use. Detailed below.
    container_definitions list(object)
    One or more container definition blocks. Detailed below.
    family string

    Unique name for your daemon task definition.

    The following arguments are optional:

    cpu string
    Number of CPU units used by the task.
    execution_role_arn string
    ARN of the task execution role that the Amazon ECS container agent and the Docker daemon can assume.
    memory string
    Amount (in MiB) of memory used by the task.
    region string
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    tags map(string)
    Key-value map of resource tags. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    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)
    Repeatable configuration block for volumes that containers in your task may use. Detailed below.
    containerDefinitions List<DaemonTaskDefinitionContainerDefinition>
    One or more container definition blocks. Detailed below.
    family String

    Unique name for your daemon task definition.

    The following arguments are optional:

    cpu String
    Number of CPU units used by the task.
    executionRoleArn String
    ARN of the task execution role that the Amazon ECS container agent and the Docker daemon can assume.
    memory String
    Amount (in MiB) of memory used by the task.
    region String
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    tags Map<String,String>
    Key-value map of resource tags. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    taskRoleArn String
    ARN of IAM role that allows your Amazon ECS container task to make calls to other AWS services.
    volumes List<DaemonTaskDefinitionVolume>
    Repeatable configuration block for volumes that containers in your task may use. Detailed below.
    containerDefinitions DaemonTaskDefinitionContainerDefinition[]
    One or more container definition blocks. Detailed below.
    family string

    Unique name for your daemon task definition.

    The following arguments are optional:

    cpu string
    Number of CPU units used by the task.
    executionRoleArn string
    ARN of the task execution role that the Amazon ECS container agent and the Docker daemon can assume.
    memory string
    Amount (in MiB) of memory used by the task.
    region string
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    tags {[key: string]: string}
    Key-value map of resource tags. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    taskRoleArn string
    ARN of IAM role that allows your Amazon ECS container task to make calls to other AWS services.
    volumes DaemonTaskDefinitionVolume[]
    Repeatable configuration block for volumes that containers in your task may use. Detailed below.
    container_definitions Sequence[DaemonTaskDefinitionContainerDefinitionArgs]
    One or more container definition blocks. Detailed below.
    family str

    Unique name for your daemon task definition.

    The following arguments are optional:

    cpu str
    Number of CPU units used by the task.
    execution_role_arn str
    ARN of the task execution role that the Amazon ECS container agent and the Docker daemon can assume.
    memory str
    Amount (in MiB) of memory used by the task.
    region str
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    tags Mapping[str, str]
    Key-value map of resource tags. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    task_role_arn str
    ARN of IAM role that allows your Amazon ECS container task to make calls to other AWS services.
    volumes Sequence[DaemonTaskDefinitionVolumeArgs]
    Repeatable configuration block for volumes that containers in your task may use. Detailed below.
    containerDefinitions List<Property Map>
    One or more container definition blocks. Detailed below.
    family String

    Unique name for your daemon task definition.

    The following arguments are optional:

    cpu String
    Number of CPU units used by the task.
    executionRoleArn String
    ARN of the task execution role that the Amazon ECS container agent and the Docker daemon can assume.
    memory String
    Amount (in MiB) of memory used by the task.
    region String
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    tags Map<String>
    Key-value map of resource tags. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    taskRoleArn String
    ARN of IAM role that allows your Amazon ECS container task to make calls to other AWS services.
    volumes List<Property Map>
    Repeatable configuration block for volumes that containers in your task may use. Detailed below.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the DaemonTaskDefinition resource produces the following output properties:

    Arn string
    Full ARN of the Daemon Task Definition (including both family and revision).
    Id string
    The provider-assigned unique ID for this managed resource.
    Revision int
    Revision of the task in a particular family.
    Status string
    Status of the daemon task definition.
    TagsAll Dictionary<string, string>
    Map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block.
    Arn string
    Full ARN of the Daemon Task Definition (including both family and revision).
    Id string
    The provider-assigned unique ID for this managed resource.
    Revision int
    Revision of the task in a particular family.
    Status string
    Status of the daemon task definition.
    TagsAll map[string]string
    Map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block.
    arn string
    Full ARN of the Daemon Task Definition (including both family and revision).
    id string
    The provider-assigned unique ID for this managed resource.
    revision number
    Revision of the task in a particular family.
    status string
    Status of the daemon task definition.
    tags_all map(string)
    Map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block.
    arn String
    Full ARN of the Daemon Task Definition (including both family and revision).
    id String
    The provider-assigned unique ID for this managed resource.
    revision Integer
    Revision of the task in a particular family.
    status String
    Status of the daemon task definition.
    tagsAll Map<String,String>
    Map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block.
    arn string
    Full ARN of the Daemon Task Definition (including both family and revision).
    id string
    The provider-assigned unique ID for this managed resource.
    revision number
    Revision of the task in a particular family.
    status string
    Status of the daemon task definition.
    tagsAll {[key: string]: string}
    Map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block.
    arn str
    Full ARN of the Daemon Task Definition (including both family and revision).
    id str
    The provider-assigned unique ID for this managed resource.
    revision int
    Revision of the task in a particular family.
    status str
    Status of the daemon task definition.
    tags_all Mapping[str, str]
    Map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block.
    arn String
    Full ARN of the Daemon Task Definition (including both family and revision).
    id String
    The provider-assigned unique ID for this managed resource.
    revision Number
    Revision of the task in a particular family.
    status String
    Status of the daemon task definition.
    tagsAll Map<String>
    Map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block.

    Look up Existing DaemonTaskDefinition Resource

    Get an existing DaemonTaskDefinition resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: DaemonTaskDefinitionState, opts?: CustomResourceOptions): DaemonTaskDefinition
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            arn: Optional[str] = None,
            container_definitions: Optional[Sequence[DaemonTaskDefinitionContainerDefinitionArgs]] = None,
            cpu: Optional[str] = None,
            execution_role_arn: Optional[str] = None,
            family: Optional[str] = None,
            memory: Optional[str] = None,
            region: Optional[str] = None,
            revision: Optional[int] = None,
            status: Optional[str] = None,
            tags: Optional[Mapping[str, str]] = None,
            tags_all: Optional[Mapping[str, str]] = None,
            task_role_arn: Optional[str] = None,
            volumes: Optional[Sequence[DaemonTaskDefinitionVolumeArgs]] = None) -> DaemonTaskDefinition
    func GetDaemonTaskDefinition(ctx *Context, name string, id IDInput, state *DaemonTaskDefinitionState, opts ...ResourceOption) (*DaemonTaskDefinition, error)
    public static DaemonTaskDefinition Get(string name, Input<string> id, DaemonTaskDefinitionState? state, CustomResourceOptions? opts = null)
    public static DaemonTaskDefinition get(String name, Output<String> id, DaemonTaskDefinitionState state, CustomResourceOptions options)
    resources:  _:    type: aws:ecs:DaemonTaskDefinition    get:      id: ${id}
    import {
      to = aws_ecs_daemontaskdefinition.example
      id = "${id}"
    }
    
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    Arn string
    Full ARN of the Daemon Task Definition (including both family and revision).
    ContainerDefinitions List<DaemonTaskDefinitionContainerDefinition>
    One or more container definition blocks. Detailed below.
    Cpu string
    Number of CPU units used by the task.
    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 daemon task definition.

    The following arguments are optional:

    Memory string
    Amount (in MiB) of memory used by the task.
    Region string
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    Revision int
    Revision of the task in a particular family.
    Status string
    Status of the daemon task definition.
    Tags Dictionary<string, string>
    Key-value map of resource tags. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    TagsAll Dictionary<string, string>
    Map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block.
    TaskRoleArn string
    ARN of IAM role that allows your Amazon ECS container task to make calls to other AWS services.
    Volumes List<DaemonTaskDefinitionVolume>
    Repeatable configuration block for volumes that containers in your task may use. Detailed below.
    Arn string
    Full ARN of the Daemon Task Definition (including both family and revision).
    ContainerDefinitions []DaemonTaskDefinitionContainerDefinitionArgs
    One or more container definition blocks. Detailed below.
    Cpu string
    Number of CPU units used by the task.
    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 daemon task definition.

    The following arguments are optional:

    Memory string
    Amount (in MiB) of memory used by the task.
    Region string
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    Revision int
    Revision of the task in a particular family.
    Status string
    Status of the daemon task definition.
    Tags map[string]string
    Key-value map of resource tags. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    TagsAll map[string]string
    Map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block.
    TaskRoleArn string
    ARN of IAM role that allows your Amazon ECS container task to make calls to other AWS services.
    Volumes []DaemonTaskDefinitionVolumeArgs
    Repeatable configuration block for volumes that containers in your task may use. Detailed below.
    arn string
    Full ARN of the Daemon Task Definition (including both family and revision).
    container_definitions list(object)
    One or more container definition blocks. Detailed below.
    cpu string
    Number of CPU units used by the task.
    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 daemon task definition.

    The following arguments are optional:

    memory string
    Amount (in MiB) of memory used by the task.
    region string
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    revision number
    Revision of the task in a particular family.
    status string
    Status of the daemon task definition.
    tags map(string)
    Key-value map of resource tags. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    tags_all map(string)
    Map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block.
    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)
    Repeatable configuration block for volumes that containers in your task may use. Detailed below.
    arn String
    Full ARN of the Daemon Task Definition (including both family and revision).
    containerDefinitions List<DaemonTaskDefinitionContainerDefinition>
    One or more container definition blocks. Detailed below.
    cpu String
    Number of CPU units used by the task.
    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 daemon task definition.

    The following arguments are optional:

    memory String
    Amount (in MiB) of memory used by the task.
    region String
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    revision Integer
    Revision of the task in a particular family.
    status String
    Status of the daemon task definition.
    tags Map<String,String>
    Key-value map of resource tags. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    tagsAll Map<String,String>
    Map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block.
    taskRoleArn String
    ARN of IAM role that allows your Amazon ECS container task to make calls to other AWS services.
    volumes List<DaemonTaskDefinitionVolume>
    Repeatable configuration block for volumes that containers in your task may use. Detailed below.
    arn string
    Full ARN of the Daemon Task Definition (including both family and revision).
    containerDefinitions DaemonTaskDefinitionContainerDefinition[]
    One or more container definition blocks. Detailed below.
    cpu string
    Number of CPU units used by the task.
    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 daemon task definition.

    The following arguments are optional:

    memory string
    Amount (in MiB) of memory used by the task.
    region string
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    revision number
    Revision of the task in a particular family.
    status string
    Status of the daemon task definition.
    tags {[key: string]: string}
    Key-value map of resource tags. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    tagsAll {[key: string]: string}
    Map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block.
    taskRoleArn string
    ARN of IAM role that allows your Amazon ECS container task to make calls to other AWS services.
    volumes DaemonTaskDefinitionVolume[]
    Repeatable configuration block for volumes that containers in your task may use. Detailed below.
    arn str
    Full ARN of the Daemon Task Definition (including both family and revision).
    container_definitions Sequence[DaemonTaskDefinitionContainerDefinitionArgs]
    One or more container definition blocks. Detailed below.
    cpu str
    Number of CPU units used by the task.
    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 daemon task definition.

    The following arguments are optional:

    memory str
    Amount (in MiB) of memory used by the task.
    region str
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    revision int
    Revision of the task in a particular family.
    status str
    Status of the daemon task definition.
    tags Mapping[str, str]
    Key-value map of resource tags. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    tags_all Mapping[str, str]
    Map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block.
    task_role_arn str
    ARN of IAM role that allows your Amazon ECS container task to make calls to other AWS services.
    volumes Sequence[DaemonTaskDefinitionVolumeArgs]
    Repeatable configuration block for volumes that containers in your task may use. Detailed below.
    arn String
    Full ARN of the Daemon Task Definition (including both family and revision).
    containerDefinitions List<Property Map>
    One or more container definition blocks. Detailed below.
    cpu String
    Number of CPU units used by the task.
    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 daemon task definition.

    The following arguments are optional:

    memory String
    Amount (in MiB) of memory used by the task.
    region String
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    revision Number
    Revision of the task in a particular family.
    status String
    Status of the daemon task definition.
    tags Map<String>
    Key-value map of resource tags. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    tagsAll Map<String>
    Map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block.
    taskRoleArn String
    ARN of IAM role that allows your Amazon ECS container task to make calls to other AWS services.
    volumes List<Property Map>
    Repeatable configuration block for volumes that containers in your task may use. Detailed below.

    Supporting Types

    DaemonTaskDefinitionContainerDefinition, DaemonTaskDefinitionContainerDefinitionArgs

    Image string
    Image used to start a container.
    Commands List<string>
    Command that is passed to the container.
    Cpu int
    Number of CPU units reserved for the container.
    DependsOns List<DaemonTaskDefinitionContainerDefinitionDependsOn>
    Dependencies defined for container startup and shutdown. Detailed below.
    EntryPoints List<string>
    Entry point that is passed to the container.
    EnvironmentFiles List<DaemonTaskDefinitionContainerDefinitionEnvironmentFile>
    List of files containing the environment variables to pass to a container. Detailed below.
    Environments List<DaemonTaskDefinitionContainerDefinitionEnvironment>
    Environment variables to pass to a container. Detailed below.
    Essential bool
    If the essential parameter of a container is marked as true, and that container fails or stops for any reason, all other containers that are part of the task are stopped.
    FirelensConfiguration DaemonTaskDefinitionContainerDefinitionFirelensConfiguration
    FireLens configuration for the container. Detailed below.
    HealthCheck DaemonTaskDefinitionContainerDefinitionHealthCheck
    Container health check command and associated configuration parameters for the container. Detailed below.
    Interactive bool
    When this parameter is true, you can deploy containerized applications that require stdin or a tty to be allocated.
    LinuxParameters DaemonTaskDefinitionContainerDefinitionLinuxParameters
    Linux-specific modifications that are applied to the container. Detailed below.
    LogConfiguration DaemonTaskDefinitionContainerDefinitionLogConfiguration
    Log configuration specification for the container. Detailed below.
    Memory int
    Amount (in MiB) of memory to present to the container.
    MemoryReservation int
    Soft limit (in MiB) of memory to reserve for the container.
    MountPoints List<DaemonTaskDefinitionContainerDefinitionMountPoint>
    Mount points for data volumes in your container. Detailed below.
    Name string
    Name of a container.
    Privileged bool
    When this parameter is true, the container is given elevated privileges on the host container instance.
    PseudoTerminal bool
    When this parameter is true, a TTY is allocated.
    ReadonlyRootFilesystem bool
    When this parameter is true, the container is given read-only access to its root file system.
    RepositoryCredentials DaemonTaskDefinitionContainerDefinitionRepositoryCredentials
    Private repository authentication credentials to use. Detailed below.
    RestartPolicy DaemonTaskDefinitionContainerDefinitionRestartPolicy
    Restart policy for a container. Detailed below.
    Secrets List<DaemonTaskDefinitionContainerDefinitionSecret>
    Secrets to pass to the container. Detailed below.
    StartTimeout int
    Time duration (in seconds) to wait before giving up on resolving dependencies for a container.
    StopTimeout int
    Time duration (in seconds) to wait before the container is forcefully killed if it doesn't exit normally on its own.
    SystemControls List<DaemonTaskDefinitionContainerDefinitionSystemControl>
    List of namespaced kernel parameters to set in the container. Detailed below.
    Ulimits List<DaemonTaskDefinitionContainerDefinitionUlimit>
    List of ulimits to set in the container. Detailed below.
    User string
    User to use inside the container.
    WorkingDirectory string
    Working directory to run commands inside the container.
    Image string
    Image used to start a container.
    Commands []string
    Command that is passed to the container.
    Cpu int
    Number of CPU units reserved for the container.
    DependsOns []DaemonTaskDefinitionContainerDefinitionDependsOn
    Dependencies defined for container startup and shutdown. Detailed below.
    EntryPoints []string
    Entry point that is passed to the container.
    EnvironmentFiles []DaemonTaskDefinitionContainerDefinitionEnvironmentFile
    List of files containing the environment variables to pass to a container. Detailed below.
    Environments []DaemonTaskDefinitionContainerDefinitionEnvironment
    Environment variables to pass to a container. Detailed below.
    Essential bool
    If the essential parameter of a container is marked as true, and that container fails or stops for any reason, all other containers that are part of the task are stopped.
    FirelensConfiguration DaemonTaskDefinitionContainerDefinitionFirelensConfiguration
    FireLens configuration for the container. Detailed below.
    HealthCheck DaemonTaskDefinitionContainerDefinitionHealthCheck
    Container health check command and associated configuration parameters for the container. Detailed below.
    Interactive bool
    When this parameter is true, you can deploy containerized applications that require stdin or a tty to be allocated.
    LinuxParameters DaemonTaskDefinitionContainerDefinitionLinuxParameters
    Linux-specific modifications that are applied to the container. Detailed below.
    LogConfiguration DaemonTaskDefinitionContainerDefinitionLogConfiguration
    Log configuration specification for the container. Detailed below.
    Memory int
    Amount (in MiB) of memory to present to the container.
    MemoryReservation int
    Soft limit (in MiB) of memory to reserve for the container.
    MountPoints []DaemonTaskDefinitionContainerDefinitionMountPoint
    Mount points for data volumes in your container. Detailed below.
    Name string
    Name of a container.
    Privileged bool
    When this parameter is true, the container is given elevated privileges on the host container instance.
    PseudoTerminal bool
    When this parameter is true, a TTY is allocated.
    ReadonlyRootFilesystem bool
    When this parameter is true, the container is given read-only access to its root file system.
    RepositoryCredentials DaemonTaskDefinitionContainerDefinitionRepositoryCredentials
    Private repository authentication credentials to use. Detailed below.
    RestartPolicy DaemonTaskDefinitionContainerDefinitionRestartPolicy
    Restart policy for a container. Detailed below.
    Secrets []DaemonTaskDefinitionContainerDefinitionSecret
    Secrets to pass to the container. Detailed below.
    StartTimeout int
    Time duration (in seconds) to wait before giving up on resolving dependencies for a container.
    StopTimeout int
    Time duration (in seconds) to wait before the container is forcefully killed if it doesn't exit normally on its own.
    SystemControls []DaemonTaskDefinitionContainerDefinitionSystemControl
    List of namespaced kernel parameters to set in the container. Detailed below.
    Ulimits []DaemonTaskDefinitionContainerDefinitionUlimit
    List of ulimits to set in the container. Detailed below.
    User string
    User to use inside the container.
    WorkingDirectory string
    Working directory to run commands inside the container.
    image string
    Image used to start a container.
    commands list(string)
    Command that is passed to the container.
    cpu number
    Number of CPU units reserved for the container.
    depends_ons list(object)
    Dependencies defined for container startup and shutdown. Detailed below.
    entry_points list(string)
    Entry point that is passed to the container.
    environment_files list(object)
    List of files containing the environment variables to pass to a container. Detailed below.
    environments list(object)
    Environment variables to pass to a container. Detailed below.
    essential bool
    If the essential parameter of a container is marked as true, and that container fails or stops for any reason, all other containers that are part of the task are stopped.
    firelens_configuration object
    FireLens configuration for the container. Detailed below.
    health_check object
    Container health check command and associated configuration parameters for the container. Detailed below.
    interactive bool
    When this parameter is true, you can deploy containerized applications that require stdin or a tty to be allocated.
    linux_parameters object
    Linux-specific modifications that are applied to the container. Detailed below.
    log_configuration object
    Log configuration specification for the container. Detailed below.
    memory number
    Amount (in MiB) of memory to present to the container.
    memory_reservation number
    Soft limit (in MiB) of memory to reserve for the container.
    mount_points list(object)
    Mount points for data volumes in your container. Detailed below.
    name string
    Name of a container.
    privileged bool
    When this parameter is true, the container is given elevated privileges on the host container instance.
    pseudo_terminal bool
    When this parameter is true, a TTY is allocated.
    readonly_root_filesystem bool
    When this parameter is true, the container is given read-only access to its root file system.
    repository_credentials object
    Private repository authentication credentials to use. Detailed below.
    restart_policy object
    Restart policy for a container. Detailed below.
    secrets list(object)
    Secrets to pass to the container. Detailed below.
    start_timeout number
    Time duration (in seconds) to wait before giving up on resolving dependencies for a container.
    stop_timeout number
    Time duration (in seconds) to wait before the container is forcefully killed if it doesn't exit normally on its own.
    system_controls list(object)
    List of namespaced kernel parameters to set in the container. Detailed below.
    ulimits list(object)
    List of ulimits to set in the container. Detailed below.
    user string
    User to use inside the container.
    working_directory string
    Working directory to run commands inside the container.
    image String
    Image used to start a container.
    commands List<String>
    Command that is passed to the container.
    cpu Integer
    Number of CPU units reserved for the container.
    dependsOns List<DaemonTaskDefinitionContainerDefinitionDependsOn>
    Dependencies defined for container startup and shutdown. Detailed below.
    entryPoints List<String>
    Entry point that is passed to the container.
    environmentFiles List<DaemonTaskDefinitionContainerDefinitionEnvironmentFile>
    List of files containing the environment variables to pass to a container. Detailed below.
    environments List<DaemonTaskDefinitionContainerDefinitionEnvironment>
    Environment variables to pass to a container. Detailed below.
    essential Boolean
    If the essential parameter of a container is marked as true, and that container fails or stops for any reason, all other containers that are part of the task are stopped.
    firelensConfiguration DaemonTaskDefinitionContainerDefinitionFirelensConfiguration
    FireLens configuration for the container. Detailed below.
    healthCheck DaemonTaskDefinitionContainerDefinitionHealthCheck
    Container health check command and associated configuration parameters for the container. Detailed below.
    interactive Boolean
    When this parameter is true, you can deploy containerized applications that require stdin or a tty to be allocated.
    linuxParameters DaemonTaskDefinitionContainerDefinitionLinuxParameters
    Linux-specific modifications that are applied to the container. Detailed below.
    logConfiguration DaemonTaskDefinitionContainerDefinitionLogConfiguration
    Log configuration specification for the container. Detailed below.
    memory Integer
    Amount (in MiB) of memory to present to the container.
    memoryReservation Integer
    Soft limit (in MiB) of memory to reserve for the container.
    mountPoints List<DaemonTaskDefinitionContainerDefinitionMountPoint>
    Mount points for data volumes in your container. Detailed below.
    name String
    Name of a container.
    privileged Boolean
    When this parameter is true, the container is given elevated privileges on the host container instance.
    pseudoTerminal Boolean
    When this parameter is true, a TTY is allocated.
    readonlyRootFilesystem Boolean
    When this parameter is true, the container is given read-only access to its root file system.
    repositoryCredentials DaemonTaskDefinitionContainerDefinitionRepositoryCredentials
    Private repository authentication credentials to use. Detailed below.
    restartPolicy DaemonTaskDefinitionContainerDefinitionRestartPolicy
    Restart policy for a container. Detailed below.
    secrets List<DaemonTaskDefinitionContainerDefinitionSecret>
    Secrets to pass to the container. Detailed below.
    startTimeout Integer
    Time duration (in seconds) to wait before giving up on resolving dependencies for a container.
    stopTimeout Integer
    Time duration (in seconds) to wait before the container is forcefully killed if it doesn't exit normally on its own.
    systemControls List<DaemonTaskDefinitionContainerDefinitionSystemControl>
    List of namespaced kernel parameters to set in the container. Detailed below.
    ulimits List<DaemonTaskDefinitionContainerDefinitionUlimit>
    List of ulimits to set in the container. Detailed below.
    user String
    User to use inside the container.
    workingDirectory String
    Working directory to run commands inside the container.
    image string
    Image used to start a container.
    commands string[]
    Command that is passed to the container.
    cpu number
    Number of CPU units reserved for the container.
    dependsOns DaemonTaskDefinitionContainerDefinitionDependsOn[]
    Dependencies defined for container startup and shutdown. Detailed below.
    entryPoints string[]
    Entry point that is passed to the container.
    environmentFiles DaemonTaskDefinitionContainerDefinitionEnvironmentFile[]
    List of files containing the environment variables to pass to a container. Detailed below.
    environments DaemonTaskDefinitionContainerDefinitionEnvironment[]
    Environment variables to pass to a container. Detailed below.
    essential boolean
    If the essential parameter of a container is marked as true, and that container fails or stops for any reason, all other containers that are part of the task are stopped.
    firelensConfiguration DaemonTaskDefinitionContainerDefinitionFirelensConfiguration
    FireLens configuration for the container. Detailed below.
    healthCheck DaemonTaskDefinitionContainerDefinitionHealthCheck
    Container health check command and associated configuration parameters for the container. Detailed below.
    interactive boolean
    When this parameter is true, you can deploy containerized applications that require stdin or a tty to be allocated.
    linuxParameters DaemonTaskDefinitionContainerDefinitionLinuxParameters
    Linux-specific modifications that are applied to the container. Detailed below.
    logConfiguration DaemonTaskDefinitionContainerDefinitionLogConfiguration
    Log configuration specification for the container. Detailed below.
    memory number
    Amount (in MiB) of memory to present to the container.
    memoryReservation number
    Soft limit (in MiB) of memory to reserve for the container.
    mountPoints DaemonTaskDefinitionContainerDefinitionMountPoint[]
    Mount points for data volumes in your container. Detailed below.
    name string
    Name of a container.
    privileged boolean
    When this parameter is true, the container is given elevated privileges on the host container instance.
    pseudoTerminal boolean
    When this parameter is true, a TTY is allocated.
    readonlyRootFilesystem boolean
    When this parameter is true, the container is given read-only access to its root file system.
    repositoryCredentials DaemonTaskDefinitionContainerDefinitionRepositoryCredentials
    Private repository authentication credentials to use. Detailed below.
    restartPolicy DaemonTaskDefinitionContainerDefinitionRestartPolicy
    Restart policy for a container. Detailed below.
    secrets DaemonTaskDefinitionContainerDefinitionSecret[]
    Secrets to pass to the container. Detailed below.
    startTimeout number
    Time duration (in seconds) to wait before giving up on resolving dependencies for a container.
    stopTimeout number
    Time duration (in seconds) to wait before the container is forcefully killed if it doesn't exit normally on its own.
    systemControls DaemonTaskDefinitionContainerDefinitionSystemControl[]
    List of namespaced kernel parameters to set in the container. Detailed below.
    ulimits DaemonTaskDefinitionContainerDefinitionUlimit[]
    List of ulimits to set in the container. Detailed below.
    user string
    User to use inside the container.
    workingDirectory string
    Working directory to run commands inside the container.
    image str
    Image used to start a container.
    commands Sequence[str]
    Command that is passed to the container.
    cpu int
    Number of CPU units reserved for the container.
    depends_ons Sequence[DaemonTaskDefinitionContainerDefinitionDependsOn]
    Dependencies defined for container startup and shutdown. Detailed below.
    entry_points Sequence[str]
    Entry point that is passed to the container.
    environment_files Sequence[DaemonTaskDefinitionContainerDefinitionEnvironmentFile]
    List of files containing the environment variables to pass to a container. Detailed below.
    environments Sequence[DaemonTaskDefinitionContainerDefinitionEnvironment]
    Environment variables to pass to a container. Detailed below.
    essential bool
    If the essential parameter of a container is marked as true, and that container fails or stops for any reason, all other containers that are part of the task are stopped.
    firelens_configuration DaemonTaskDefinitionContainerDefinitionFirelensConfiguration
    FireLens configuration for the container. Detailed below.
    health_check DaemonTaskDefinitionContainerDefinitionHealthCheck
    Container health check command and associated configuration parameters for the container. Detailed below.
    interactive bool
    When this parameter is true, you can deploy containerized applications that require stdin or a tty to be allocated.
    linux_parameters DaemonTaskDefinitionContainerDefinitionLinuxParameters
    Linux-specific modifications that are applied to the container. Detailed below.
    log_configuration DaemonTaskDefinitionContainerDefinitionLogConfiguration
    Log configuration specification for the container. Detailed below.
    memory int
    Amount (in MiB) of memory to present to the container.
    memory_reservation int
    Soft limit (in MiB) of memory to reserve for the container.
    mount_points Sequence[DaemonTaskDefinitionContainerDefinitionMountPoint]
    Mount points for data volumes in your container. Detailed below.
    name str
    Name of a container.
    privileged bool
    When this parameter is true, the container is given elevated privileges on the host container instance.
    pseudo_terminal bool
    When this parameter is true, a TTY is allocated.
    readonly_root_filesystem bool
    When this parameter is true, the container is given read-only access to its root file system.
    repository_credentials DaemonTaskDefinitionContainerDefinitionRepositoryCredentials
    Private repository authentication credentials to use. Detailed below.
    restart_policy DaemonTaskDefinitionContainerDefinitionRestartPolicy
    Restart policy for a container. Detailed below.
    secrets Sequence[DaemonTaskDefinitionContainerDefinitionSecret]
    Secrets to pass to the container. Detailed below.
    start_timeout int
    Time duration (in seconds) to wait before giving up on resolving dependencies for a container.
    stop_timeout int
    Time duration (in seconds) to wait before the container is forcefully killed if it doesn't exit normally on its own.
    system_controls Sequence[DaemonTaskDefinitionContainerDefinitionSystemControl]
    List of namespaced kernel parameters to set in the container. Detailed below.
    ulimits Sequence[DaemonTaskDefinitionContainerDefinitionUlimit]
    List of ulimits to set in the container. Detailed below.
    user str
    User to use inside the container.
    working_directory str
    Working directory to run commands inside the container.
    image String
    Image used to start a container.
    commands List<String>
    Command that is passed to the container.
    cpu Number
    Number of CPU units reserved for the container.
    dependsOns List<Property Map>
    Dependencies defined for container startup and shutdown. Detailed below.
    entryPoints List<String>
    Entry point that is passed to the container.
    environmentFiles List<Property Map>
    List of files containing the environment variables to pass to a container. Detailed below.
    environments List<Property Map>
    Environment variables to pass to a container. Detailed below.
    essential Boolean
    If the essential parameter of a container is marked as true, and that container fails or stops for any reason, all other containers that are part of the task are stopped.
    firelensConfiguration Property Map
    FireLens configuration for the container. Detailed below.
    healthCheck Property Map
    Container health check command and associated configuration parameters for the container. Detailed below.
    interactive Boolean
    When this parameter is true, you can deploy containerized applications that require stdin or a tty to be allocated.
    linuxParameters Property Map
    Linux-specific modifications that are applied to the container. Detailed below.
    logConfiguration Property Map
    Log configuration specification for the container. Detailed below.
    memory Number
    Amount (in MiB) of memory to present to the container.
    memoryReservation Number
    Soft limit (in MiB) of memory to reserve for the container.
    mountPoints List<Property Map>
    Mount points for data volumes in your container. Detailed below.
    name String
    Name of a container.
    privileged Boolean
    When this parameter is true, the container is given elevated privileges on the host container instance.
    pseudoTerminal Boolean
    When this parameter is true, a TTY is allocated.
    readonlyRootFilesystem Boolean
    When this parameter is true, the container is given read-only access to its root file system.
    repositoryCredentials Property Map
    Private repository authentication credentials to use. Detailed below.
    restartPolicy Property Map
    Restart policy for a container. Detailed below.
    secrets List<Property Map>
    Secrets to pass to the container. Detailed below.
    startTimeout Number
    Time duration (in seconds) to wait before giving up on resolving dependencies for a container.
    stopTimeout Number
    Time duration (in seconds) to wait before the container is forcefully killed if it doesn't exit normally on its own.
    systemControls List<Property Map>
    List of namespaced kernel parameters to set in the container. Detailed below.
    ulimits List<Property Map>
    List of ulimits to set in the container. Detailed below.
    user String
    User to use inside the container.
    workingDirectory String
    Working directory to run commands inside the container.

    DaemonTaskDefinitionContainerDefinitionDependsOn, DaemonTaskDefinitionContainerDefinitionDependsOnArgs

    Condition string
    Dependency condition of the container. Valid values: START, COMPLETE, SUCCESS, HEALTHY.
    ContainerName string
    Name of a container.
    Condition string
    Dependency condition of the container. Valid values: START, COMPLETE, SUCCESS, HEALTHY.
    ContainerName string
    Name of a container.
    condition string
    Dependency condition of the container. Valid values: START, COMPLETE, SUCCESS, HEALTHY.
    container_name string
    Name of a container.
    condition String
    Dependency condition of the container. Valid values: START, COMPLETE, SUCCESS, HEALTHY.
    containerName String
    Name of a container.
    condition string
    Dependency condition of the container. Valid values: START, COMPLETE, SUCCESS, HEALTHY.
    containerName string
    Name of a container.
    condition str
    Dependency condition of the container. Valid values: START, COMPLETE, SUCCESS, HEALTHY.
    container_name str
    Name of a container.
    condition String
    Dependency condition of the container. Valid values: START, COMPLETE, SUCCESS, HEALTHY.
    containerName String
    Name of a container.

    DaemonTaskDefinitionContainerDefinitionEnvironment, DaemonTaskDefinitionContainerDefinitionEnvironmentArgs

    Name string
    Name of the environment variable.
    Value string
    Value of the environment variable.
    Name string
    Name of the environment variable.
    Value string
    Value of the environment variable.
    name string
    Name of the environment variable.
    value string
    Value of the environment variable.
    name String
    Name of the environment variable.
    value String
    Value of the environment variable.
    name string
    Name of the environment variable.
    value string
    Value of the environment variable.
    name str
    Name of the environment variable.
    value str
    Value of the environment variable.
    name String
    Name of the environment variable.
    value String
    Value of the environment variable.

    DaemonTaskDefinitionContainerDefinitionEnvironmentFile, DaemonTaskDefinitionContainerDefinitionEnvironmentFileArgs

    Type string
    File type to use. The only supported value is s3.
    Value string
    ARN of the Amazon S3 object containing the environment variable file.
    Type string
    File type to use. The only supported value is s3.
    Value string
    ARN of the Amazon S3 object containing the environment variable file.
    type string
    File type to use. The only supported value is s3.
    value string
    ARN of the Amazon S3 object containing the environment variable file.
    type String
    File type to use. The only supported value is s3.
    value String
    ARN of the Amazon S3 object containing the environment variable file.
    type string
    File type to use. The only supported value is s3.
    value string
    ARN of the Amazon S3 object containing the environment variable file.
    type str
    File type to use. The only supported value is s3.
    value str
    ARN of the Amazon S3 object containing the environment variable file.
    type String
    File type to use. The only supported value is s3.
    value String
    ARN of the Amazon S3 object containing the environment variable file.

    DaemonTaskDefinitionContainerDefinitionFirelensConfiguration, DaemonTaskDefinitionContainerDefinitionFirelensConfigurationArgs

    Type string
    Log router to use. Valid values: fluentd, fluentbit.
    Options Dictionary<string, string>
    Options to use when configuring the log router.
    Type string
    Log router to use. Valid values: fluentd, fluentbit.
    Options map[string]string
    Options to use when configuring the log router.
    type string
    Log router to use. Valid values: fluentd, fluentbit.
    options map(string)
    Options to use when configuring the log router.
    type String
    Log router to use. Valid values: fluentd, fluentbit.
    options Map<String,String>
    Options to use when configuring the log router.
    type string
    Log router to use. Valid values: fluentd, fluentbit.
    options {[key: string]: string}
    Options to use when configuring the log router.
    type str
    Log router to use. Valid values: fluentd, fluentbit.
    options Mapping[str, str]
    Options to use when configuring the log router.
    type String
    Log router to use. Valid values: fluentd, fluentbit.
    options Map<String>
    Options to use when configuring the log router.

    DaemonTaskDefinitionContainerDefinitionHealthCheck, DaemonTaskDefinitionContainerDefinitionHealthCheckArgs

    Commands List<string>
    String array representing the command that the container runs to determine if it is healthy.
    Interval int
    Time period in seconds between each health check execution. Valid range: 5–300.
    Retries int
    Number of times to retry a failed health check. Valid range: 1–10.
    StartPeriod int
    Grace period in seconds to provide containers time to bootstrap. Valid range: 0–300.
    Timeout int
    Time period in seconds to wait for a health check to succeed. Valid range: 2–60.
    Commands []string
    String array representing the command that the container runs to determine if it is healthy.
    Interval int
    Time period in seconds between each health check execution. Valid range: 5–300.
    Retries int
    Number of times to retry a failed health check. Valid range: 1–10.
    StartPeriod int
    Grace period in seconds to provide containers time to bootstrap. Valid range: 0–300.
    Timeout int
    Time period in seconds to wait for a health check to succeed. Valid range: 2–60.
    commands list(string)
    String array representing the command that the container runs to determine if it is healthy.
    interval number
    Time period in seconds between each health check execution. Valid range: 5–300.
    retries number
    Number of times to retry a failed health check. Valid range: 1–10.
    start_period number
    Grace period in seconds to provide containers time to bootstrap. Valid range: 0–300.
    timeout number
    Time period in seconds to wait for a health check to succeed. Valid range: 2–60.
    commands List<String>
    String array representing the command that the container runs to determine if it is healthy.
    interval Integer
    Time period in seconds between each health check execution. Valid range: 5–300.
    retries Integer
    Number of times to retry a failed health check. Valid range: 1–10.
    startPeriod Integer
    Grace period in seconds to provide containers time to bootstrap. Valid range: 0–300.
    timeout Integer
    Time period in seconds to wait for a health check to succeed. Valid range: 2–60.
    commands string[]
    String array representing the command that the container runs to determine if it is healthy.
    interval number
    Time period in seconds between each health check execution. Valid range: 5–300.
    retries number
    Number of times to retry a failed health check. Valid range: 1–10.
    startPeriod number
    Grace period in seconds to provide containers time to bootstrap. Valid range: 0–300.
    timeout number
    Time period in seconds to wait for a health check to succeed. Valid range: 2–60.
    commands Sequence[str]
    String array representing the command that the container runs to determine if it is healthy.
    interval int
    Time period in seconds between each health check execution. Valid range: 5–300.
    retries int
    Number of times to retry a failed health check. Valid range: 1–10.
    start_period int
    Grace period in seconds to provide containers time to bootstrap. Valid range: 0–300.
    timeout int
    Time period in seconds to wait for a health check to succeed. Valid range: 2–60.
    commands List<String>
    String array representing the command that the container runs to determine if it is healthy.
    interval Number
    Time period in seconds between each health check execution. Valid range: 5–300.
    retries Number
    Number of times to retry a failed health check. Valid range: 1–10.
    startPeriod Number
    Grace period in seconds to provide containers time to bootstrap. Valid range: 0–300.
    timeout Number
    Time period in seconds to wait for a health check to succeed. Valid range: 2–60.

    DaemonTaskDefinitionContainerDefinitionLinuxParameters, DaemonTaskDefinitionContainerDefinitionLinuxParametersArgs

    Capabilities DaemonTaskDefinitionContainerDefinitionLinuxParametersCapabilities
    Linux capabilities for the container. Detailed below.
    Devices List<DaemonTaskDefinitionContainerDefinitionLinuxParametersDevice>
    Any host devices to expose to the container. Detailed below.
    InitProcessEnabled bool
    Run an init process inside the container that forwards signals and reaps processes.
    Tmpfs List<DaemonTaskDefinitionContainerDefinitionLinuxParametersTmpf>
    Container path, mount options, and size of the tmpfs mount. Detailed below.
    Capabilities DaemonTaskDefinitionContainerDefinitionLinuxParametersCapabilities
    Linux capabilities for the container. Detailed below.
    Devices []DaemonTaskDefinitionContainerDefinitionLinuxParametersDevice
    Any host devices to expose to the container. Detailed below.
    InitProcessEnabled bool
    Run an init process inside the container that forwards signals and reaps processes.
    Tmpfs []DaemonTaskDefinitionContainerDefinitionLinuxParametersTmpf
    Container path, mount options, and size of the tmpfs mount. Detailed below.
    capabilities object
    Linux capabilities for the container. Detailed below.
    devices list(object)
    Any host devices to expose to the container. Detailed below.
    init_process_enabled bool
    Run an init process inside the container that forwards signals and reaps processes.
    tmpfs list(object)
    Container path, mount options, and size of the tmpfs mount. Detailed below.
    capabilities DaemonTaskDefinitionContainerDefinitionLinuxParametersCapabilities
    Linux capabilities for the container. Detailed below.
    devices List<DaemonTaskDefinitionContainerDefinitionLinuxParametersDevice>
    Any host devices to expose to the container. Detailed below.
    initProcessEnabled Boolean
    Run an init process inside the container that forwards signals and reaps processes.
    tmpfs List<DaemonTaskDefinitionContainerDefinitionLinuxParametersTmpf>
    Container path, mount options, and size of the tmpfs mount. Detailed below.
    capabilities DaemonTaskDefinitionContainerDefinitionLinuxParametersCapabilities
    Linux capabilities for the container. Detailed below.
    devices DaemonTaskDefinitionContainerDefinitionLinuxParametersDevice[]
    Any host devices to expose to the container. Detailed below.
    initProcessEnabled boolean
    Run an init process inside the container that forwards signals and reaps processes.
    tmpfs DaemonTaskDefinitionContainerDefinitionLinuxParametersTmpf[]
    Container path, mount options, and size of the tmpfs mount. Detailed below.
    capabilities DaemonTaskDefinitionContainerDefinitionLinuxParametersCapabilities
    Linux capabilities for the container. Detailed below.
    devices Sequence[DaemonTaskDefinitionContainerDefinitionLinuxParametersDevice]
    Any host devices to expose to the container. Detailed below.
    init_process_enabled bool
    Run an init process inside the container that forwards signals and reaps processes.
    tmpfs Sequence[DaemonTaskDefinitionContainerDefinitionLinuxParametersTmpf]
    Container path, mount options, and size of the tmpfs mount. Detailed below.
    capabilities Property Map
    Linux capabilities for the container. Detailed below.
    devices List<Property Map>
    Any host devices to expose to the container. Detailed below.
    initProcessEnabled Boolean
    Run an init process inside the container that forwards signals and reaps processes.
    tmpfs List<Property Map>
    Container path, mount options, and size of the tmpfs mount. Detailed below.

    DaemonTaskDefinitionContainerDefinitionLinuxParametersCapabilities, DaemonTaskDefinitionContainerDefinitionLinuxParametersCapabilitiesArgs

    Adds List<string>
    Linux capabilities for the container that have been added to the default configuration provided by Docker.
    Drops List<string>
    Linux capabilities for the container that have been removed from the default configuration provided by Docker.
    Adds []string
    Linux capabilities for the container that have been added to the default configuration provided by Docker.
    Drops []string
    Linux capabilities for the container that have been removed from the default configuration provided by Docker.
    adds list(string)
    Linux capabilities for the container that have been added to the default configuration provided by Docker.
    drops list(string)
    Linux capabilities for the container that have been removed from the default configuration provided by Docker.
    adds List<String>
    Linux capabilities for the container that have been added to the default configuration provided by Docker.
    drops List<String>
    Linux capabilities for the container that have been removed from the default configuration provided by Docker.
    adds string[]
    Linux capabilities for the container that have been added to the default configuration provided by Docker.
    drops string[]
    Linux capabilities for the container that have been removed from the default configuration provided by Docker.
    adds Sequence[str]
    Linux capabilities for the container that have been added to the default configuration provided by Docker.
    drops Sequence[str]
    Linux capabilities for the container that have been removed from the default configuration provided by Docker.
    adds List<String>
    Linux capabilities for the container that have been added to the default configuration provided by Docker.
    drops List<String>
    Linux capabilities for the container that have been removed from the default configuration provided by Docker.

    DaemonTaskDefinitionContainerDefinitionLinuxParametersDevice, DaemonTaskDefinitionContainerDefinitionLinuxParametersDeviceArgs

    HostPath string
    Path for the device on the host container instance.
    ContainerPath string
    Path inside the container at which to expose the host device.
    Permissions List<string>
    Explicit permissions to provide to the container for the device. Valid values: read, write, mknod.
    HostPath string
    Path for the device on the host container instance.
    ContainerPath string
    Path inside the container at which to expose the host device.
    Permissions []string
    Explicit permissions to provide to the container for the device. Valid values: read, write, mknod.
    host_path string
    Path for the device on the host container instance.
    container_path string
    Path inside the container at which to expose the host device.
    permissions list(string)
    Explicit permissions to provide to the container for the device. Valid values: read, write, mknod.
    hostPath String
    Path for the device on the host container instance.
    containerPath String
    Path inside the container at which to expose the host device.
    permissions List<String>
    Explicit permissions to provide to the container for the device. Valid values: read, write, mknod.
    hostPath string
    Path for the device on the host container instance.
    containerPath string
    Path inside the container at which to expose the host device.
    permissions string[]
    Explicit permissions to provide to the container for the device. Valid values: read, write, mknod.
    host_path str
    Path for the device on the host container instance.
    container_path str
    Path inside the container at which to expose the host device.
    permissions Sequence[str]
    Explicit permissions to provide to the container for the device. Valid values: read, write, mknod.
    hostPath String
    Path for the device on the host container instance.
    containerPath String
    Path inside the container at which to expose the host device.
    permissions List<String>
    Explicit permissions to provide to the container for the device. Valid values: read, write, mknod.

    DaemonTaskDefinitionContainerDefinitionLinuxParametersTmpf, DaemonTaskDefinitionContainerDefinitionLinuxParametersTmpfArgs

    ContainerPath string
    Absolute file path where the tmpfs volume is to be mounted.
    Size int
    Maximum size (in MiB) of the tmpfs volume.
    MountOptions List<string>
    List of tmpfs volume mount options.
    ContainerPath string
    Absolute file path where the tmpfs volume is to be mounted.
    Size int
    Maximum size (in MiB) of the tmpfs volume.
    MountOptions []string
    List of tmpfs volume mount options.
    container_path string
    Absolute file path where the tmpfs volume is to be mounted.
    size number
    Maximum size (in MiB) of the tmpfs volume.
    mount_options list(string)
    List of tmpfs volume mount options.
    containerPath String
    Absolute file path where the tmpfs volume is to be mounted.
    size Integer
    Maximum size (in MiB) of the tmpfs volume.
    mountOptions List<String>
    List of tmpfs volume mount options.
    containerPath string
    Absolute file path where the tmpfs volume is to be mounted.
    size number
    Maximum size (in MiB) of the tmpfs volume.
    mountOptions string[]
    List of tmpfs volume mount options.
    container_path str
    Absolute file path where the tmpfs volume is to be mounted.
    size int
    Maximum size (in MiB) of the tmpfs volume.
    mount_options Sequence[str]
    List of tmpfs volume mount options.
    containerPath String
    Absolute file path where the tmpfs volume is to be mounted.
    size Number
    Maximum size (in MiB) of the tmpfs volume.
    mountOptions List<String>
    List of tmpfs volume mount options.

    DaemonTaskDefinitionContainerDefinitionLogConfiguration, DaemonTaskDefinitionContainerDefinitionLogConfigurationArgs

    LogDriver string
    Log driver to use for the container. Valid values: json-file, syslog, journald, gelf, fluentd, awslogs, splunk, awsfirelens.
    Options Dictionary<string, string>
    Configuration options to send to the log driver.
    SecretOptions List<DaemonTaskDefinitionContainerDefinitionLogConfigurationSecretOption>
    Secrets to pass to the log configuration. Detailed below.
    LogDriver string
    Log driver to use for the container. Valid values: json-file, syslog, journald, gelf, fluentd, awslogs, splunk, awsfirelens.
    Options map[string]string
    Configuration options to send to the log driver.
    SecretOptions []DaemonTaskDefinitionContainerDefinitionLogConfigurationSecretOption
    Secrets to pass to the log configuration. Detailed below.
    log_driver string
    Log driver to use for the container. Valid values: json-file, syslog, journald, gelf, fluentd, awslogs, splunk, awsfirelens.
    options map(string)
    Configuration options to send to the log driver.
    secret_options list(object)
    Secrets to pass to the log configuration. Detailed below.
    logDriver String
    Log driver to use for the container. Valid values: json-file, syslog, journald, gelf, fluentd, awslogs, splunk, awsfirelens.
    options Map<String,String>
    Configuration options to send to the log driver.
    secretOptions List<DaemonTaskDefinitionContainerDefinitionLogConfigurationSecretOption>
    Secrets to pass to the log configuration. Detailed below.
    logDriver string
    Log driver to use for the container. Valid values: json-file, syslog, journald, gelf, fluentd, awslogs, splunk, awsfirelens.
    options {[key: string]: string}
    Configuration options to send to the log driver.
    secretOptions DaemonTaskDefinitionContainerDefinitionLogConfigurationSecretOption[]
    Secrets to pass to the log configuration. Detailed below.
    log_driver str
    Log driver to use for the container. Valid values: json-file, syslog, journald, gelf, fluentd, awslogs, splunk, awsfirelens.
    options Mapping[str, str]
    Configuration options to send to the log driver.
    secret_options Sequence[DaemonTaskDefinitionContainerDefinitionLogConfigurationSecretOption]
    Secrets to pass to the log configuration. Detailed below.
    logDriver String
    Log driver to use for the container. Valid values: json-file, syslog, journald, gelf, fluentd, awslogs, splunk, awsfirelens.
    options Map<String>
    Configuration options to send to the log driver.
    secretOptions List<Property Map>
    Secrets to pass to the log configuration. Detailed below.

    DaemonTaskDefinitionContainerDefinitionLogConfigurationSecretOption, DaemonTaskDefinitionContainerDefinitionLogConfigurationSecretOptionArgs

    Name string
    Name of the secret.
    ValueFrom string
    Secret to expose to the log configuration.
    Name string
    Name of the secret.
    ValueFrom string
    Secret to expose to the log configuration.
    name string
    Name of the secret.
    value_from string
    Secret to expose to the log configuration.
    name String
    Name of the secret.
    valueFrom String
    Secret to expose to the log configuration.
    name string
    Name of the secret.
    valueFrom string
    Secret to expose to the log configuration.
    name str
    Name of the secret.
    value_from str
    Secret to expose to the log configuration.
    name String
    Name of the secret.
    valueFrom String
    Secret to expose to the log configuration.

    DaemonTaskDefinitionContainerDefinitionMountPoint, DaemonTaskDefinitionContainerDefinitionMountPointArgs

    ContainerPath string
    Path on the container to mount the host volume at.
    ReadOnly bool
    If this value is true, the container has read-only access to the volume.
    SourceVolume string
    Name of the volume to mount.
    ContainerPath string
    Path on the container to mount the host volume at.
    ReadOnly bool
    If this value is true, the container has read-only access to the volume.
    SourceVolume string
    Name of the volume to mount.
    container_path string
    Path on the container to mount the host volume at.
    read_only bool
    If this value is true, the container has read-only access to the volume.
    source_volume string
    Name of the volume to mount.
    containerPath String
    Path on the container to mount the host volume at.
    readOnly Boolean
    If this value is true, the container has read-only access to the volume.
    sourceVolume String
    Name of the volume to mount.
    containerPath string
    Path on the container to mount the host volume at.
    readOnly boolean
    If this value is true, the container has read-only access to the volume.
    sourceVolume string
    Name of the volume to mount.
    container_path str
    Path on the container to mount the host volume at.
    read_only bool
    If this value is true, the container has read-only access to the volume.
    source_volume str
    Name of the volume to mount.
    containerPath String
    Path on the container to mount the host volume at.
    readOnly Boolean
    If this value is true, the container has read-only access to the volume.
    sourceVolume String
    Name of the volume to mount.

    DaemonTaskDefinitionContainerDefinitionRepositoryCredentials, DaemonTaskDefinitionContainerDefinitionRepositoryCredentialsArgs

    CredentialsParameter string
    ARN of the secret containing the private repository credentials.
    CredentialsParameter string
    ARN of the secret containing the private repository credentials.
    credentials_parameter string
    ARN of the secret containing the private repository credentials.
    credentialsParameter String
    ARN of the secret containing the private repository credentials.
    credentialsParameter string
    ARN of the secret containing the private repository credentials.
    credentials_parameter str
    ARN of the secret containing the private repository credentials.
    credentialsParameter String
    ARN of the secret containing the private repository credentials.

    DaemonTaskDefinitionContainerDefinitionRestartPolicy, DaemonTaskDefinitionContainerDefinitionRestartPolicyArgs

    Enabled bool
    Whether a restart policy is enabled for the container.
    IgnoredExitCodes List<int>
    List of exit codes that Amazon ECS will ignore and not attempt a restart on. Maximum of 50.
    RestartAttemptPeriod int
    Period of time (in seconds) that the container must run for before a restart can be attempted. Valid range: 60–1800.
    Enabled bool
    Whether a restart policy is enabled for the container.
    IgnoredExitCodes []int
    List of exit codes that Amazon ECS will ignore and not attempt a restart on. Maximum of 50.
    RestartAttemptPeriod int
    Period of time (in seconds) that the container must run for before a restart can be attempted. Valid range: 60–1800.
    enabled bool
    Whether a restart policy is enabled for the container.
    ignored_exit_codes list(number)
    List of exit codes that Amazon ECS will ignore and not attempt a restart on. Maximum of 50.
    restart_attempt_period number
    Period of time (in seconds) that the container must run for before a restart can be attempted. Valid range: 60–1800.
    enabled Boolean
    Whether a restart policy is enabled for the container.
    ignoredExitCodes List<Integer>
    List of exit codes that Amazon ECS will ignore and not attempt a restart on. Maximum of 50.
    restartAttemptPeriod Integer
    Period of time (in seconds) that the container must run for before a restart can be attempted. Valid range: 60–1800.
    enabled boolean
    Whether a restart policy is enabled for the container.
    ignoredExitCodes number[]
    List of exit codes that Amazon ECS will ignore and not attempt a restart on. Maximum of 50.
    restartAttemptPeriod number
    Period of time (in seconds) that the container must run for before a restart can be attempted. Valid range: 60–1800.
    enabled bool
    Whether a restart policy is enabled for the container.
    ignored_exit_codes Sequence[int]
    List of exit codes that Amazon ECS will ignore and not attempt a restart on. Maximum of 50.
    restart_attempt_period int
    Period of time (in seconds) that the container must run for before a restart can be attempted. Valid range: 60–1800.
    enabled Boolean
    Whether a restart policy is enabled for the container.
    ignoredExitCodes List<Number>
    List of exit codes that Amazon ECS will ignore and not attempt a restart on. Maximum of 50.
    restartAttemptPeriod Number
    Period of time (in seconds) that the container must run for before a restart can be attempted. Valid range: 60–1800.

    DaemonTaskDefinitionContainerDefinitionSecret, DaemonTaskDefinitionContainerDefinitionSecretArgs

    Name string
    Name of the secret.
    ValueFrom string
    Secret to expose to the container. The supported values are either the full ARN of the Secrets Manager secret or the full ARN of the parameter in the SSM Parameter Store.
    Name string
    Name of the secret.
    ValueFrom string
    Secret to expose to the container. The supported values are either the full ARN of the Secrets Manager secret or the full ARN of the parameter in the SSM Parameter Store.
    name string
    Name of the secret.
    value_from string
    Secret to expose to the container. The supported values are either the full ARN of the Secrets Manager secret or the full ARN of the parameter in the SSM Parameter Store.
    name String
    Name of the secret.
    valueFrom String
    Secret to expose to the container. The supported values are either the full ARN of the Secrets Manager secret or the full ARN of the parameter in the SSM Parameter Store.
    name string
    Name of the secret.
    valueFrom string
    Secret to expose to the container. The supported values are either the full ARN of the Secrets Manager secret or the full ARN of the parameter in the SSM Parameter Store.
    name str
    Name of the secret.
    value_from str
    Secret to expose to the container. The supported values are either the full ARN of the Secrets Manager secret or the full ARN of the parameter in the SSM Parameter Store.
    name String
    Name of the secret.
    valueFrom String
    Secret to expose to the container. The supported values are either the full ARN of the Secrets Manager secret or the full ARN of the parameter in the SSM Parameter Store.

    DaemonTaskDefinitionContainerDefinitionSystemControl, DaemonTaskDefinitionContainerDefinitionSystemControlArgs

    Namespace string
    Namespaced kernel parameter to set a value for.
    Value string
    Value for the namespaced kernel parameter.
    Namespace string
    Namespaced kernel parameter to set a value for.
    Value string
    Value for the namespaced kernel parameter.
    namespace string
    Namespaced kernel parameter to set a value for.
    value string
    Value for the namespaced kernel parameter.
    namespace String
    Namespaced kernel parameter to set a value for.
    value String
    Value for the namespaced kernel parameter.
    namespace string
    Namespaced kernel parameter to set a value for.
    value string
    Value for the namespaced kernel parameter.
    namespace str
    Namespaced kernel parameter to set a value for.
    value str
    Value for the namespaced kernel parameter.
    namespace String
    Namespaced kernel parameter to set a value for.
    value String
    Value for the namespaced kernel parameter.

    DaemonTaskDefinitionContainerDefinitionUlimit, DaemonTaskDefinitionContainerDefinitionUlimitArgs

    HardLimit int
    Hard limit for the ulimit type.
    Name string
    Type of the ulimit.
    SoftLimit int
    Soft limit for the ulimit type.
    HardLimit int
    Hard limit for the ulimit type.
    Name string
    Type of the ulimit.
    SoftLimit int
    Soft limit for the ulimit type.
    hard_limit number
    Hard limit for the ulimit type.
    name string
    Type of the ulimit.
    soft_limit number
    Soft limit for the ulimit type.
    hardLimit Integer
    Hard limit for the ulimit type.
    name String
    Type of the ulimit.
    softLimit Integer
    Soft limit for the ulimit type.
    hardLimit number
    Hard limit for the ulimit type.
    name string
    Type of the ulimit.
    softLimit number
    Soft limit for the ulimit type.
    hard_limit int
    Hard limit for the ulimit type.
    name str
    Type of the ulimit.
    soft_limit int
    Soft limit for the ulimit type.
    hardLimit Number
    Hard limit for the ulimit type.
    name String
    Type of the ulimit.
    softLimit Number
    Soft limit for the ulimit type.

    DaemonTaskDefinitionVolume, DaemonTaskDefinitionVolumeArgs

    Name string
    Name of the volume. This name is referenced in the sourceVolume parameter of container definition in the mountPoints section.
    Hosts List<DaemonTaskDefinitionVolumeHost>
    Configuration for a host volume. Detailed below.
    Name string
    Name of the volume. This name is referenced in the sourceVolume parameter of container definition in the mountPoints section.
    Hosts []DaemonTaskDefinitionVolumeHost
    Configuration for a host volume. Detailed below.
    name string
    Name of the volume. This name is referenced in the sourceVolume parameter of container definition in the mountPoints section.
    hosts list(object)
    Configuration for a host volume. Detailed below.
    name String
    Name of the volume. This name is referenced in the sourceVolume parameter of container definition in the mountPoints section.
    hosts List<DaemonTaskDefinitionVolumeHost>
    Configuration for a host volume. Detailed below.
    name string
    Name of the volume. This name is referenced in the sourceVolume parameter of container definition in the mountPoints section.
    hosts DaemonTaskDefinitionVolumeHost[]
    Configuration for a host volume. Detailed below.
    name str
    Name of the volume. This name is referenced in the sourceVolume parameter of container definition in the mountPoints section.
    hosts Sequence[DaemonTaskDefinitionVolumeHost]
    Configuration for a host volume. Detailed below.
    name String
    Name of the volume. This name is referenced in the sourceVolume parameter of container definition in the mountPoints section.
    hosts List<Property Map>
    Configuration for a host volume. Detailed below.

    DaemonTaskDefinitionVolumeHost, DaemonTaskDefinitionVolumeHostArgs

    SourcePath string
    Path on the host container instance that is presented to the container. If not set, ECS will create a non-persistent data volume that starts empty and is deleted after the task has finished.
    SourcePath string
    Path on the host container instance that is presented to the container. If not set, ECS will create a non-persistent data volume that starts empty and is deleted after the task has finished.
    source_path string
    Path on the host container instance that is presented to the container. If not set, ECS will create a non-persistent data volume that starts empty and is deleted after the task has finished.
    sourcePath String
    Path on the host container instance that is presented to the container. If not set, ECS will create a non-persistent data volume that starts empty and is deleted after the task has finished.
    sourcePath string
    Path on the host container instance that is presented to the container. If not set, ECS will create a non-persistent data volume that starts empty and is deleted after the task has finished.
    source_path str
    Path on the host container instance that is presented to the container. If not set, ECS will create a non-persistent data volume that starts empty and is deleted after the task has finished.
    sourcePath String
    Path on the host container instance that is presented to the container. If not set, ECS will create a non-persistent data volume that starts empty and is deleted after the task has finished.

    Import

    Identity Schema

    Required

    • arn (String) ARN of the ECS Daemon Task Definition.

    Using pulumi import, import ECS Daemon Task Definitions using their ARNs. For example:

    $ pulumi import aws:ecs/daemonTaskDefinition:DaemonTaskDefinition example arn:aws:ecs:us-east-1:012345678910:daemon-task-definition/mydaemonfamily:123
    

    To learn more about importing existing cloud resources, see Importing resources.

    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
    Viewing docs for AWS v7.33.0
    published on Monday, Jun 15, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial