1. Packages
  2. AWS Cloud Control
  3. API Docs
  4. ecs
  5. DaemonTaskDefinition

We recommend new projects start with resources from the AWS provider.

Viewing docs for AWS Cloud Control v1.61.0
published on Monday, Apr 13, 2026 by Pulumi
aws-native logo

We recommend new projects start with resources from the AWS provider.

Viewing docs for AWS Cloud Control v1.61.0
published on Monday, Apr 13, 2026 by Pulumi

    Resource Schema describing various properties for ECS DaemonTaskDefinition

    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: Optional[DaemonTaskDefinitionArgs] = None,
                             opts: Optional[ResourceOptions] = None)
    
    @overload
    def DaemonTaskDefinition(resource_name: str,
                             opts: Optional[ResourceOptions] = None,
                             container_definitions: Optional[Sequence[DaemonTaskDefinitionDaemonContainerDefinitionArgs]] = None,
                             cpu: Optional[str] = None,
                             execution_role_arn: Optional[str] = None,
                             family: Optional[str] = None,
                             memory: Optional[str] = None,
                             tags: Optional[Sequence[_root_inputs.TagArgs]] = 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 = null, CustomResourceOptions? opts = null)
    public DaemonTaskDefinition(String name, DaemonTaskDefinitionArgs args)
    public DaemonTaskDefinition(String name, DaemonTaskDefinitionArgs args, CustomResourceOptions options)
    
    type: aws-native:ecs:DaemonTaskDefinition
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    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.

    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:

    Outputs

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

    DaemonTaskDefinitionArn string
    The Amazon Resource Name (ARN) of the Amazon ECS daemon task definition
    Id string
    The provider-assigned unique ID for this managed resource.
    DaemonTaskDefinitionArn string
    The Amazon Resource Name (ARN) of the Amazon ECS daemon task definition
    Id string
    The provider-assigned unique ID for this managed resource.
    daemonTaskDefinitionArn String
    The Amazon Resource Name (ARN) of the Amazon ECS daemon task definition
    id String
    The provider-assigned unique ID for this managed resource.
    daemonTaskDefinitionArn string
    The Amazon Resource Name (ARN) of the Amazon ECS daemon task definition
    id string
    The provider-assigned unique ID for this managed resource.
    daemon_task_definition_arn str
    The Amazon Resource Name (ARN) of the Amazon ECS daemon task definition
    id str
    The provider-assigned unique ID for this managed resource.
    daemonTaskDefinitionArn String
    The Amazon Resource Name (ARN) of the Amazon ECS daemon task definition
    id String
    The provider-assigned unique ID for this managed resource.

    Supporting Types

    DaemonTaskDefinitionContainerDependency, DaemonTaskDefinitionContainerDependencyArgs

    DaemonTaskDefinitionDaemonContainerDefinition, DaemonTaskDefinitionDaemonContainerDefinitionArgs

    Container definition for daemon task definition
    Image string
    Name string
    Command List<string>
    Cpu int
    DependsOn List<Pulumi.AwsNative.Ecs.Inputs.DaemonTaskDefinitionContainerDependency>
    EntryPoint List<string>
    Environment List<Pulumi.AwsNative.Ecs.Inputs.DaemonTaskDefinitionKeyValuePair>
    EnvironmentFiles List<Pulumi.AwsNative.Ecs.Inputs.DaemonTaskDefinitionEnvironmentFile>
    Essential bool
    FirelensConfiguration Pulumi.AwsNative.Ecs.Inputs.DaemonTaskDefinitionFirelensConfiguration
    HealthCheck Pulumi.AwsNative.Ecs.Inputs.DaemonTaskDefinitionHealthCheck
    Interactive bool
    LinuxParameters Pulumi.AwsNative.Ecs.Inputs.DaemonTaskDefinitionLinuxParameters
    LogConfiguration Pulumi.AwsNative.Ecs.Inputs.DaemonTaskDefinitionLogConfiguration
    Memory int
    MemoryReservation int
    MountPoints List<Pulumi.AwsNative.Ecs.Inputs.DaemonTaskDefinitionMountPoint>
    Privileged bool
    PseudoTerminal bool
    ReadonlyRootFilesystem bool
    RepositoryCredentials Pulumi.AwsNative.Ecs.Inputs.DaemonTaskDefinitionRepositoryCredentials
    RestartPolicy Pulumi.AwsNative.Ecs.Inputs.DaemonTaskDefinitionRestartPolicy
    Secrets List<Pulumi.AwsNative.Ecs.Inputs.DaemonTaskDefinitionSecret>
    StartTimeout int
    StopTimeout int
    SystemControls List<Pulumi.AwsNative.Ecs.Inputs.DaemonTaskDefinitionSystemControl>
    Ulimits List<Pulumi.AwsNative.Ecs.Inputs.DaemonTaskDefinitionUlimit>
    User string
    WorkingDirectory string
    Image string
    Name string
    Command []string
    Cpu int
    DependsOn []DaemonTaskDefinitionContainerDependency
    EntryPoint []string
    Environment []DaemonTaskDefinitionKeyValuePair
    EnvironmentFiles []DaemonTaskDefinitionEnvironmentFile
    Essential bool
    FirelensConfiguration DaemonTaskDefinitionFirelensConfiguration
    HealthCheck DaemonTaskDefinitionHealthCheck
    Interactive bool
    LinuxParameters DaemonTaskDefinitionLinuxParameters
    LogConfiguration DaemonTaskDefinitionLogConfiguration
    Memory int
    MemoryReservation int
    MountPoints []DaemonTaskDefinitionMountPoint
    Privileged bool
    PseudoTerminal bool
    ReadonlyRootFilesystem bool
    RepositoryCredentials DaemonTaskDefinitionRepositoryCredentials
    RestartPolicy DaemonTaskDefinitionRestartPolicy
    Secrets []DaemonTaskDefinitionSecret
    StartTimeout int
    StopTimeout int
    SystemControls []DaemonTaskDefinitionSystemControl
    Ulimits []DaemonTaskDefinitionUlimit
    User string
    WorkingDirectory string
    image String
    name String
    command List<String>
    cpu Integer
    dependsOn List<DaemonTaskDefinitionContainerDependency>
    entryPoint List<String>
    environment List<DaemonTaskDefinitionKeyValuePair>
    environmentFiles List<DaemonTaskDefinitionEnvironmentFile>
    essential Boolean
    firelensConfiguration DaemonTaskDefinitionFirelensConfiguration
    healthCheck DaemonTaskDefinitionHealthCheck
    interactive Boolean
    linuxParameters DaemonTaskDefinitionLinuxParameters
    logConfiguration DaemonTaskDefinitionLogConfiguration
    memory Integer
    memoryReservation Integer
    mountPoints List<DaemonTaskDefinitionMountPoint>
    privileged Boolean
    pseudoTerminal Boolean
    readonlyRootFilesystem Boolean
    repositoryCredentials DaemonTaskDefinitionRepositoryCredentials
    restartPolicy DaemonTaskDefinitionRestartPolicy
    secrets List<DaemonTaskDefinitionSecret>
    startTimeout Integer
    stopTimeout Integer
    systemControls List<DaemonTaskDefinitionSystemControl>
    ulimits List<DaemonTaskDefinitionUlimit>
    user String
    workingDirectory String
    image string
    name string
    command string[]
    cpu number
    dependsOn DaemonTaskDefinitionContainerDependency[]
    entryPoint string[]
    environment DaemonTaskDefinitionKeyValuePair[]
    environmentFiles DaemonTaskDefinitionEnvironmentFile[]
    essential boolean
    firelensConfiguration DaemonTaskDefinitionFirelensConfiguration
    healthCheck DaemonTaskDefinitionHealthCheck
    interactive boolean
    linuxParameters DaemonTaskDefinitionLinuxParameters
    logConfiguration DaemonTaskDefinitionLogConfiguration
    memory number
    memoryReservation number
    mountPoints DaemonTaskDefinitionMountPoint[]
    privileged boolean
    pseudoTerminal boolean
    readonlyRootFilesystem boolean
    repositoryCredentials DaemonTaskDefinitionRepositoryCredentials
    restartPolicy DaemonTaskDefinitionRestartPolicy
    secrets DaemonTaskDefinitionSecret[]
    startTimeout number
    stopTimeout number
    systemControls DaemonTaskDefinitionSystemControl[]
    ulimits DaemonTaskDefinitionUlimit[]
    user string
    workingDirectory string
    image str
    name str
    command Sequence[str]
    cpu int
    depends_on Sequence[DaemonTaskDefinitionContainerDependency]
    entry_point Sequence[str]
    environment Sequence[DaemonTaskDefinitionKeyValuePair]
    environment_files Sequence[DaemonTaskDefinitionEnvironmentFile]
    essential bool
    firelens_configuration DaemonTaskDefinitionFirelensConfiguration
    health_check DaemonTaskDefinitionHealthCheck
    interactive bool
    linux_parameters DaemonTaskDefinitionLinuxParameters
    log_configuration DaemonTaskDefinitionLogConfiguration
    memory int
    memory_reservation int
    mount_points Sequence[DaemonTaskDefinitionMountPoint]
    privileged bool
    pseudo_terminal bool
    readonly_root_filesystem bool
    repository_credentials DaemonTaskDefinitionRepositoryCredentials
    restart_policy DaemonTaskDefinitionRestartPolicy
    secrets Sequence[DaemonTaskDefinitionSecret]
    start_timeout int
    stop_timeout int
    system_controls Sequence[DaemonTaskDefinitionSystemControl]
    ulimits Sequence[DaemonTaskDefinitionUlimit]
    user str
    working_directory str

    DaemonTaskDefinitionDevice, DaemonTaskDefinitionDeviceArgs

    ContainerPath string
    HostPath string
    Permissions List<string>
    ContainerPath string
    HostPath string
    Permissions []string
    containerPath String
    hostPath String
    permissions List<String>
    containerPath string
    hostPath string
    permissions string[]
    containerPath String
    hostPath String
    permissions List<String>

    DaemonTaskDefinitionEnvironmentFile, DaemonTaskDefinitionEnvironmentFileArgs

    Type string
    Value string
    Type string
    Value string
    type String
    value String
    type string
    value string
    type str
    value str
    type String
    value String

    DaemonTaskDefinitionFirelensConfiguration, DaemonTaskDefinitionFirelensConfigurationArgs

    Options Dictionary<string, string>
    Type string
    Options map[string]string
    Type string
    options Map<String,String>
    type String
    options {[key: string]: string}
    type string
    options Mapping[str, str]
    type str
    options Map<String>
    type String

    DaemonTaskDefinitionHealthCheck, DaemonTaskDefinitionHealthCheckArgs

    Command List<string>
    Interval int
    Retries int
    StartPeriod int
    Timeout int
    command List<String>
    interval Integer
    retries Integer
    startPeriod Integer
    timeout Integer
    command string[]
    interval number
    retries number
    startPeriod number
    timeout number
    command Sequence[str]
    interval int
    retries int
    start_period int
    timeout int
    command List<String>
    interval Number
    retries Number
    startPeriod Number
    timeout Number

    DaemonTaskDefinitionHostVolumeProperties, DaemonTaskDefinitionHostVolumePropertiesArgs

    SourcePath string
    SourcePath string
    sourcePath String
    sourcePath string
    sourcePath String

    DaemonTaskDefinitionKernelCapabilities, DaemonTaskDefinitionKernelCapabilitiesArgs

    Add List<string>
    Drop List<string>
    Add []string
    Drop []string
    add List<String>
    drop List<String>
    add string[]
    drop string[]
    add Sequence[str]
    drop Sequence[str]
    add List<String>
    drop List<String>

    DaemonTaskDefinitionKeyValuePair, DaemonTaskDefinitionKeyValuePairArgs

    Name string
    Value string
    Name string
    Value string
    name String
    value String
    name string
    value string
    name str
    value str
    name String
    value String

    DaemonTaskDefinitionLinuxParameters, DaemonTaskDefinitionLinuxParametersArgs

    DaemonTaskDefinitionLogConfiguration, DaemonTaskDefinitionLogConfigurationArgs

    DaemonTaskDefinitionMountPoint, DaemonTaskDefinitionMountPointArgs

    containerPath String
    readOnly Boolean
    sourceVolume String
    containerPath string
    readOnly boolean
    sourceVolume string
    containerPath String
    readOnly Boolean
    sourceVolume String

    DaemonTaskDefinitionRepositoryCredentials, DaemonTaskDefinitionRepositoryCredentialsArgs

    DaemonTaskDefinitionRestartPolicy, DaemonTaskDefinitionRestartPolicyArgs

    enabled Boolean
    ignoredExitCodes List<Integer>
    restartAttemptPeriod Integer

    DaemonTaskDefinitionSecret, DaemonTaskDefinitionSecretArgs

    Name string
    ValueFrom string
    Name string
    ValueFrom string
    name String
    valueFrom String
    name string
    valueFrom string
    name String
    valueFrom String

    DaemonTaskDefinitionSystemControl, DaemonTaskDefinitionSystemControlArgs

    Namespace string
    Value string
    Namespace string
    Value string
    namespace String
    value String
    namespace string
    value string
    namespace String
    value String

    DaemonTaskDefinitionTmpfs, DaemonTaskDefinitionTmpfsArgs

    Size int
    ContainerPath string
    MountOptions List<string>
    Size int
    ContainerPath string
    MountOptions []string
    size Integer
    containerPath String
    mountOptions List<String>
    size number
    containerPath string
    mountOptions string[]
    size int
    container_path str
    mount_options Sequence[str]
    size Number
    containerPath String
    mountOptions List<String>

    DaemonTaskDefinitionUlimit, DaemonTaskDefinitionUlimitArgs

    HardLimit int
    Name string
    SoftLimit int
    HardLimit int
    Name string
    SoftLimit int
    hardLimit Integer
    name String
    softLimit Integer
    hardLimit number
    name string
    softLimit number
    hardLimit Number
    name String
    softLimit Number

    DaemonTaskDefinitionVolume, DaemonTaskDefinitionVolumeArgs

    Tag, TagArgs

    A set of tags to apply to the resource.
    Key string
    The key name of the tag
    Value string
    The value of the tag
    Key string
    The key name of the tag
    Value string
    The value of the tag
    key String
    The key name of the tag
    value String
    The value of the tag
    key string
    The key name of the tag
    value string
    The value of the tag
    key str
    The key name of the tag
    value str
    The value of the tag
    key String
    The key name of the tag
    value String
    The value of the tag

    Package Details

    Repository
    AWS Native pulumi/pulumi-aws-native
    License
    Apache-2.0
    aws-native logo

    We recommend new projects start with resources from the AWS provider.

    Viewing docs for AWS Cloud Control v1.61.0
    published on Monday, Apr 13, 2026 by Pulumi
      Try Pulumi Cloud free. Your team will thank you.