AWS Fundamentals Logo
AWS Fundamentals
AWS::ECS::DaemonTaskDefinition

ECS DaemonTaskDefinition

The details of a daemon task definition. A daemon task definition is a template that describes the containers that form a daemon. Daemons deploy cross-cutting software agents independently across your Amazon ECS infrastructure.

Properties

8 configurable properties. Click a row to see details.

Filter:
PropertyTypeFlags
ContainerDefinitions
Array<DaemonContainerDefinition>
Create-only
Cpu
string
Create-only
ExecutionRoleArn
string
Create-only
Family
string
Create-only
Memory
string
Create-only
Tags
Array<Tag>
TaskRoleArn
string
Create-only
Volumes
Array<Volume>
Create-only

Return Values

Values returned after the resource is created. Access these with Fn::GetAtt.

AttributeTypeDescription
DaemonTaskDefinitionArnstring-

Sample CloudFormation Template

A minimal template with required properties and common optional ones.

template.yaml
AWSTemplateFormatVersion: "2010-09-09"
Description: Sample template for AWS::ECS::DaemonTaskDefinition

Resources:
  MyResource:
    Type: AWS::ECS::DaemonTaskDefinition
    Properties:
      Tags:
        - Key: Environment
          Value: Production

Required IAM Permissions

Permissions CloudFormation needs in your IAM role to manage this resource.

read

ecs:DescribeDaemonTaskDefinitionecs:ListTagsForResource

create

ecs:RegisterDaemonTaskDefinitionecs:DescribeDaemonTaskDefinitionecs:TagResourceiam:PassRole

update

ecs:TagResourceecs:UntagResourceecs:ListTagsForResourceecs:DescribeDaemonTaskDefinitioniam:PassRole

list

ecs:ListDaemonTaskDefinitionsecs:DescribeDaemonTaskDefinition

delete

ecs:DeleteDaemonTaskDefinitionecs:DescribeDaemonTaskDefinitioniam:PassRole

Get the ECS Cheat Sheet

Everything you need to know about ECS on one page. HD quality, print-friendly.

Download Free Infographic

Quick Facts

ServiceECS
Properties9
Required0
TaggingSupported
Primary IDDaemonTaskDefinitionArn

Supported Operations

ReadCreateUpdateListDelete

Immutable After Creation

These properties cannot be changed after the resource is created. Updating them triggers a replacement.

FamilyContainerDefinitionsCpuMemoryExecutionRoleArnTaskRoleArnVolumes

External Links