published on Monday, Jun 15, 2026 by Pulumi
published on Monday, Jun 15, 2026 by Pulumi
Provides an ECS Daemon resource, which manages a daemon that runs exactly one task on each container instance in an ECS cluster.
Example Usage
Basic Usage
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const example = new aws.ecs.Daemon("example", {
name: "example-daemon",
clusterArn: exampleAwsEcsCluster.arn,
daemonTaskDefinitionArn: exampleAwsEcsDaemonTaskDefinition.arn,
capacityProviderArns: [exampleAwsEcsCapacityProvider.arn],
});
import pulumi
import pulumi_aws as aws
example = aws.ecs.Daemon("example",
name="example-daemon",
cluster_arn=example_aws_ecs_cluster["arn"],
daemon_task_definition_arn=example_aws_ecs_daemon_task_definition["arn"],
capacity_provider_arns=[example_aws_ecs_capacity_provider["arn"]])
package main
import (
"github.com/pulumi/pulumi-aws/sdk/v7/go/aws/ecs"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := ecs.NewDaemon(ctx, "example", &ecs.DaemonArgs{
Name: pulumi.String("example-daemon"),
ClusterArn: pulumi.Any(exampleAwsEcsCluster.Arn),
DaemonTaskDefinitionArn: pulumi.Any(exampleAwsEcsDaemonTaskDefinition.Arn),
CapacityProviderArns: pulumi.StringArray{
exampleAwsEcsCapacityProvider.Arn,
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;
return await Deployment.RunAsync(() =>
{
var example = new Aws.Ecs.Daemon("example", new()
{
Name = "example-daemon",
ClusterArn = exampleAwsEcsCluster.Arn,
DaemonTaskDefinitionArn = exampleAwsEcsDaemonTaskDefinition.Arn,
CapacityProviderArns = new[]
{
exampleAwsEcsCapacityProvider.Arn,
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.ecs.Daemon;
import com.pulumi.aws.ecs.DaemonArgs;
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 Daemon("example", DaemonArgs.builder()
.name("example-daemon")
.clusterArn(exampleAwsEcsCluster.arn())
.daemonTaskDefinitionArn(exampleAwsEcsDaemonTaskDefinition.arn())
.capacityProviderArns(exampleAwsEcsCapacityProvider.arn())
.build());
}
}
resources:
example:
type: aws:ecs:Daemon
properties:
name: example-daemon
clusterArn: ${exampleAwsEcsCluster.arn}
daemonTaskDefinitionArn: ${exampleAwsEcsDaemonTaskDefinition.arn}
capacityProviderArns:
- ${exampleAwsEcsCapacityProvider.arn}
pulumi {
required_providers {
aws = {
source = "pulumi/aws"
}
}
}
resource "aws_ecs_daemon" "example" {
name = "example-daemon"
cluster_arn = exampleAwsEcsCluster.arn
daemon_task_definition_arn = exampleAwsEcsDaemonTaskDefinition.arn
capacity_provider_arns = [exampleAwsEcsCapacityProvider.arn]
}
With Deployment Configuration
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const example = new aws.ecs.Daemon("example", {
name: "example-daemon",
clusterArn: exampleAwsEcsCluster.arn,
daemonTaskDefinitionArn: exampleAwsEcsDaemonTaskDefinition.arn,
capacityProviderArns: [exampleAwsEcsCapacityProvider.arn],
deploymentConfiguration: {
drainPercent: 50,
bakeTimeInMinutes: 10,
alarms: {
alarmNames: ["example-alarm"],
enable: true,
},
},
});
import pulumi
import pulumi_aws as aws
example = aws.ecs.Daemon("example",
name="example-daemon",
cluster_arn=example_aws_ecs_cluster["arn"],
daemon_task_definition_arn=example_aws_ecs_daemon_task_definition["arn"],
capacity_provider_arns=[example_aws_ecs_capacity_provider["arn"]],
deployment_configuration={
"drain_percent": float(50),
"bake_time_in_minutes": 10,
"alarms": {
"alarm_names": ["example-alarm"],
"enable": 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.NewDaemon(ctx, "example", &ecs.DaemonArgs{
Name: pulumi.String("example-daemon"),
ClusterArn: pulumi.Any(exampleAwsEcsCluster.Arn),
DaemonTaskDefinitionArn: pulumi.Any(exampleAwsEcsDaemonTaskDefinition.Arn),
CapacityProviderArns: pulumi.StringArray{
exampleAwsEcsCapacityProvider.Arn,
},
DeploymentConfiguration: &ecs.DaemonDeploymentConfigurationArgs{
DrainPercent: pulumi.Float64(50),
BakeTimeInMinutes: pulumi.Int(10),
Alarms: &ecs.DaemonDeploymentConfigurationAlarmsArgs{
AlarmNames: pulumi.StringArray{
pulumi.String("example-alarm"),
},
Enable: 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.Daemon("example", new()
{
Name = "example-daemon",
ClusterArn = exampleAwsEcsCluster.Arn,
DaemonTaskDefinitionArn = exampleAwsEcsDaemonTaskDefinition.Arn,
CapacityProviderArns = new[]
{
exampleAwsEcsCapacityProvider.Arn,
},
DeploymentConfiguration = new Aws.Ecs.Inputs.DaemonDeploymentConfigurationArgs
{
DrainPercent = 50,
BakeTimeInMinutes = 10,
Alarms = new Aws.Ecs.Inputs.DaemonDeploymentConfigurationAlarmsArgs
{
AlarmNames = new[]
{
"example-alarm",
},
Enable = true,
},
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.ecs.Daemon;
import com.pulumi.aws.ecs.DaemonArgs;
import com.pulumi.aws.ecs.inputs.DaemonDeploymentConfigurationArgs;
import com.pulumi.aws.ecs.inputs.DaemonDeploymentConfigurationAlarmsArgs;
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 Daemon("example", DaemonArgs.builder()
.name("example-daemon")
.clusterArn(exampleAwsEcsCluster.arn())
.daemonTaskDefinitionArn(exampleAwsEcsDaemonTaskDefinition.arn())
.capacityProviderArns(exampleAwsEcsCapacityProvider.arn())
.deploymentConfiguration(DaemonDeploymentConfigurationArgs.builder()
.drainPercent(50.0)
.bakeTimeInMinutes(10)
.alarms(DaemonDeploymentConfigurationAlarmsArgs.builder()
.alarmNames("example-alarm")
.enable(true)
.build())
.build())
.build());
}
}
resources:
example:
type: aws:ecs:Daemon
properties:
name: example-daemon
clusterArn: ${exampleAwsEcsCluster.arn}
daemonTaskDefinitionArn: ${exampleAwsEcsDaemonTaskDefinition.arn}
capacityProviderArns:
- ${exampleAwsEcsCapacityProvider.arn}
deploymentConfiguration:
drainPercent: 50
bakeTimeInMinutes: 10
alarms:
alarmNames:
- example-alarm
enable: true
pulumi {
required_providers {
aws = {
source = "pulumi/aws"
}
}
}
resource "aws_ecs_daemon" "example" {
name = "example-daemon"
cluster_arn = exampleAwsEcsCluster.arn
daemon_task_definition_arn = exampleAwsEcsDaemonTaskDefinition.arn
capacity_provider_arns = [exampleAwsEcsCapacityProvider.arn]
deployment_configuration = {
drain_percent = 50
bake_time_in_minutes = 10
alarms = {
alarm_names = ["example-alarm"]
enable = true
}
}
}
With Tags
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const example = new aws.ecs.Daemon("example", {
name: "example-daemon",
clusterArn: exampleAwsEcsCluster.arn,
daemonTaskDefinitionArn: exampleAwsEcsDaemonTaskDefinition.arn,
capacityProviderArns: [exampleAwsEcsCapacityProvider.arn],
tags: {
Environment: "production",
Application: "example",
},
});
import pulumi
import pulumi_aws as aws
example = aws.ecs.Daemon("example",
name="example-daemon",
cluster_arn=example_aws_ecs_cluster["arn"],
daemon_task_definition_arn=example_aws_ecs_daemon_task_definition["arn"],
capacity_provider_arns=[example_aws_ecs_capacity_provider["arn"]],
tags={
"Environment": "production",
"Application": "example",
})
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.NewDaemon(ctx, "example", &ecs.DaemonArgs{
Name: pulumi.String("example-daemon"),
ClusterArn: pulumi.Any(exampleAwsEcsCluster.Arn),
DaemonTaskDefinitionArn: pulumi.Any(exampleAwsEcsDaemonTaskDefinition.Arn),
CapacityProviderArns: pulumi.StringArray{
exampleAwsEcsCapacityProvider.Arn,
},
Tags: pulumi.StringMap{
"Environment": pulumi.String("production"),
"Application": pulumi.String("example"),
},
})
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.Daemon("example", new()
{
Name = "example-daemon",
ClusterArn = exampleAwsEcsCluster.Arn,
DaemonTaskDefinitionArn = exampleAwsEcsDaemonTaskDefinition.Arn,
CapacityProviderArns = new[]
{
exampleAwsEcsCapacityProvider.Arn,
},
Tags =
{
{ "Environment", "production" },
{ "Application", "example" },
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.ecs.Daemon;
import com.pulumi.aws.ecs.DaemonArgs;
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 Daemon("example", DaemonArgs.builder()
.name("example-daemon")
.clusterArn(exampleAwsEcsCluster.arn())
.daemonTaskDefinitionArn(exampleAwsEcsDaemonTaskDefinition.arn())
.capacityProviderArns(exampleAwsEcsCapacityProvider.arn())
.tags(Map.ofEntries(
Map.entry("Environment", "production"),
Map.entry("Application", "example")
))
.build());
}
}
resources:
example:
type: aws:ecs:Daemon
properties:
name: example-daemon
clusterArn: ${exampleAwsEcsCluster.arn}
daemonTaskDefinitionArn: ${exampleAwsEcsDaemonTaskDefinition.arn}
capacityProviderArns:
- ${exampleAwsEcsCapacityProvider.arn}
tags:
Environment: production
Application: example
pulumi {
required_providers {
aws = {
source = "pulumi/aws"
}
}
}
resource "aws_ecs_daemon" "example" {
name = "example-daemon"
cluster_arn = exampleAwsEcsCluster.arn
daemon_task_definition_arn = exampleAwsEcsDaemonTaskDefinition.arn
capacity_provider_arns = [exampleAwsEcsCapacityProvider.arn]
tags = {
"Environment" = "production"
"Application" = "example"
}
}
Create Daemon Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Daemon(name: string, args: DaemonArgs, opts?: CustomResourceOptions);@overload
def Daemon(resource_name: str,
args: DaemonArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Daemon(resource_name: str,
opts: Optional[ResourceOptions] = None,
capacity_provider_arns: Optional[Sequence[str]] = None,
daemon_task_definition_arn: Optional[str] = None,
cluster_arn: Optional[str] = None,
deployment_configuration: Optional[DaemonDeploymentConfigurationArgs] = None,
enable_ecs_managed_tags: Optional[bool] = None,
enable_execute_command: Optional[bool] = None,
name: Optional[str] = None,
propagate_tags: Optional[str] = None,
region: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None,
timeouts: Optional[DaemonTimeoutsArgs] = None)func NewDaemon(ctx *Context, name string, args DaemonArgs, opts ...ResourceOption) (*Daemon, error)public Daemon(string name, DaemonArgs args, CustomResourceOptions? opts = null)
public Daemon(String name, DaemonArgs args)
public Daemon(String name, DaemonArgs args, CustomResourceOptions options)
type: aws:ecs:Daemon
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "aws_ecs_daemon" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args DaemonArgs
- 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 DaemonArgs
- 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 DaemonArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args DaemonArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args DaemonArgs
- 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 daemonResource = new Aws.Ecs.Daemon("daemonResource", new()
{
CapacityProviderArns = new[]
{
"string",
},
DaemonTaskDefinitionArn = "string",
ClusterArn = "string",
DeploymentConfiguration = new Aws.Ecs.Inputs.DaemonDeploymentConfigurationArgs
{
Alarms = new Aws.Ecs.Inputs.DaemonDeploymentConfigurationAlarmsArgs
{
AlarmNames = new[]
{
"string",
},
Enable = false,
},
BakeTimeInMinutes = 0,
DrainPercent = 0,
},
EnableEcsManagedTags = false,
EnableExecuteCommand = false,
Name = "string",
PropagateTags = "string",
Region = "string",
Tags =
{
{ "string", "string" },
},
Timeouts = new Aws.Ecs.Inputs.DaemonTimeoutsArgs
{
Create = "string",
Delete = "string",
Update = "string",
},
});
example, err := ecs.NewDaemon(ctx, "daemonResource", &ecs.DaemonArgs{
CapacityProviderArns: pulumi.StringArray{
pulumi.String("string"),
},
DaemonTaskDefinitionArn: pulumi.String("string"),
ClusterArn: pulumi.String("string"),
DeploymentConfiguration: &ecs.DaemonDeploymentConfigurationArgs{
Alarms: &ecs.DaemonDeploymentConfigurationAlarmsArgs{
AlarmNames: pulumi.StringArray{
pulumi.String("string"),
},
Enable: pulumi.Bool(false),
},
BakeTimeInMinutes: pulumi.Int(0),
DrainPercent: pulumi.Float64(0),
},
EnableEcsManagedTags: pulumi.Bool(false),
EnableExecuteCommand: pulumi.Bool(false),
Name: pulumi.String("string"),
PropagateTags: pulumi.String("string"),
Region: pulumi.String("string"),
Tags: pulumi.StringMap{
"string": pulumi.String("string"),
},
Timeouts: &ecs.DaemonTimeoutsArgs{
Create: pulumi.String("string"),
Delete: pulumi.String("string"),
Update: pulumi.String("string"),
},
})
resource "aws_ecs_daemon" "daemonResource" {
capacity_provider_arns = ["string"]
daemon_task_definition_arn = "string"
cluster_arn = "string"
deployment_configuration = {
alarms = {
alarm_names = ["string"]
enable = false
}
bake_time_in_minutes = 0
drain_percent = 0
}
enable_ecs_managed_tags = false
enable_execute_command = false
name = "string"
propagate_tags = "string"
region = "string"
tags = {
"string" = "string"
}
timeouts = {
create = "string"
delete = "string"
update = "string"
}
}
var daemonResource = new Daemon("daemonResource", DaemonArgs.builder()
.capacityProviderArns("string")
.daemonTaskDefinitionArn("string")
.clusterArn("string")
.deploymentConfiguration(DaemonDeploymentConfigurationArgs.builder()
.alarms(DaemonDeploymentConfigurationAlarmsArgs.builder()
.alarmNames("string")
.enable(false)
.build())
.bakeTimeInMinutes(0)
.drainPercent(0.0)
.build())
.enableEcsManagedTags(false)
.enableExecuteCommand(false)
.name("string")
.propagateTags("string")
.region("string")
.tags(Map.of("string", "string"))
.timeouts(DaemonTimeoutsArgs.builder()
.create("string")
.delete("string")
.update("string")
.build())
.build());
daemon_resource = aws.ecs.Daemon("daemonResource",
capacity_provider_arns=["string"],
daemon_task_definition_arn="string",
cluster_arn="string",
deployment_configuration={
"alarms": {
"alarm_names": ["string"],
"enable": False,
},
"bake_time_in_minutes": 0,
"drain_percent": float(0),
},
enable_ecs_managed_tags=False,
enable_execute_command=False,
name="string",
propagate_tags="string",
region="string",
tags={
"string": "string",
},
timeouts={
"create": "string",
"delete": "string",
"update": "string",
})
const daemonResource = new aws.ecs.Daemon("daemonResource", {
capacityProviderArns: ["string"],
daemonTaskDefinitionArn: "string",
clusterArn: "string",
deploymentConfiguration: {
alarms: {
alarmNames: ["string"],
enable: false,
},
bakeTimeInMinutes: 0,
drainPercent: 0,
},
enableEcsManagedTags: false,
enableExecuteCommand: false,
name: "string",
propagateTags: "string",
region: "string",
tags: {
string: "string",
},
timeouts: {
create: "string",
"delete": "string",
update: "string",
},
});
type: aws:ecs:Daemon
properties:
capacityProviderArns:
- string
clusterArn: string
daemonTaskDefinitionArn: string
deploymentConfiguration:
alarms:
alarmNames:
- string
enable: false
bakeTimeInMinutes: 0
drainPercent: 0
enableEcsManagedTags: false
enableExecuteCommand: false
name: string
propagateTags: string
region: string
tags:
string: string
timeouts:
create: string
delete: string
update: string
Daemon 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 Daemon resource accepts the following input properties:
- Capacity
Provider List<string>Arns - Set of capacity provider ARNs to use for the daemon.
- Daemon
Task stringDefinition Arn - ARN of the daemon task definition to use for the daemon. Drift is not detected on this attribute because the API may report a stale revision while a deployment is in progress.
- Cluster
Arn string - ARN of the ECS cluster where the daemon will run.
- Deployment
Configuration DaemonDeployment Configuration - Configuration for daemon deployments. See Deployment Configuration below.
- bool
- Whether to enable Amazon ECS managed tags for the tasks within the daemon.
- Enable
Execute boolCommand - Whether to enable Amazon ECS Exec for the tasks within the daemon.
- Name string
- Name of the daemon.
- string
- Whether to propagate tags from the daemon to tasks. Valid values are
DAEMONorNONE. - Region string
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- Dictionary<string, string>
- Key-value map of resource tags. If configured with a provider
defaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level. - Timeouts
Daemon
Timeouts
- Capacity
Provider []stringArns - Set of capacity provider ARNs to use for the daemon.
- Daemon
Task stringDefinition Arn - ARN of the daemon task definition to use for the daemon. Drift is not detected on this attribute because the API may report a stale revision while a deployment is in progress.
- Cluster
Arn string - ARN of the ECS cluster where the daemon will run.
- Deployment
Configuration DaemonDeployment Configuration Args - Configuration for daemon deployments. See Deployment Configuration below.
- bool
- Whether to enable Amazon ECS managed tags for the tasks within the daemon.
- Enable
Execute boolCommand - Whether to enable Amazon ECS Exec for the tasks within the daemon.
- Name string
- Name of the daemon.
- string
- Whether to propagate tags from the daemon to tasks. Valid values are
DAEMONorNONE. - Region string
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- map[string]string
- Key-value map of resource tags. If configured with a provider
defaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level. - Timeouts
Daemon
Timeouts Args
- capacity_
provider_ list(string)arns - Set of capacity provider ARNs to use for the daemon.
- daemon_
task_ stringdefinition_ arn - ARN of the daemon task definition to use for the daemon. Drift is not detected on this attribute because the API may report a stale revision while a deployment is in progress.
- cluster_
arn string - ARN of the ECS cluster where the daemon will run.
- deployment_
configuration object - Configuration for daemon deployments. See Deployment Configuration below.
- bool
- Whether to enable Amazon ECS managed tags for the tasks within the daemon.
- enable_
execute_ boolcommand - Whether to enable Amazon ECS Exec for the tasks within the daemon.
- name string
- Name of the daemon.
- string
- Whether to propagate tags from the daemon to tasks. Valid values are
DAEMONorNONE. - region string
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- map(string)
- Key-value map of resource tags. If configured with a provider
defaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level. - timeouts object
- capacity
Provider List<String>Arns - Set of capacity provider ARNs to use for the daemon.
- daemon
Task StringDefinition Arn - ARN of the daemon task definition to use for the daemon. Drift is not detected on this attribute because the API may report a stale revision while a deployment is in progress.
- cluster
Arn String - ARN of the ECS cluster where the daemon will run.
- deployment
Configuration DaemonDeployment Configuration - Configuration for daemon deployments. See Deployment Configuration below.
- Boolean
- Whether to enable Amazon ECS managed tags for the tasks within the daemon.
- enable
Execute BooleanCommand - Whether to enable Amazon ECS Exec for the tasks within the daemon.
- name String
- Name of the daemon.
- String
- Whether to propagate tags from the daemon to tasks. Valid values are
DAEMONorNONE. - region String
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- Map<String,String>
- Key-value map of resource tags. If configured with a provider
defaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level. - timeouts
Daemon
Timeouts
- capacity
Provider string[]Arns - Set of capacity provider ARNs to use for the daemon.
- daemon
Task stringDefinition Arn - ARN of the daemon task definition to use for the daemon. Drift is not detected on this attribute because the API may report a stale revision while a deployment is in progress.
- cluster
Arn string - ARN of the ECS cluster where the daemon will run.
- deployment
Configuration DaemonDeployment Configuration - Configuration for daemon deployments. See Deployment Configuration below.
- boolean
- Whether to enable Amazon ECS managed tags for the tasks within the daemon.
- enable
Execute booleanCommand - Whether to enable Amazon ECS Exec for the tasks within the daemon.
- name string
- Name of the daemon.
- string
- Whether to propagate tags from the daemon to tasks. Valid values are
DAEMONorNONE. - region string
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- {[key: string]: string}
- Key-value map of resource tags. If configured with a provider
defaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level. - timeouts
Daemon
Timeouts
- capacity_
provider_ Sequence[str]arns - Set of capacity provider ARNs to use for the daemon.
- daemon_
task_ strdefinition_ arn - ARN of the daemon task definition to use for the daemon. Drift is not detected on this attribute because the API may report a stale revision while a deployment is in progress.
- cluster_
arn str - ARN of the ECS cluster where the daemon will run.
- deployment_
configuration DaemonDeployment Configuration Args - Configuration for daemon deployments. See Deployment Configuration below.
- bool
- Whether to enable Amazon ECS managed tags for the tasks within the daemon.
- enable_
execute_ boolcommand - Whether to enable Amazon ECS Exec for the tasks within the daemon.
- name str
- Name of the daemon.
- str
- Whether to propagate tags from the daemon to tasks. Valid values are
DAEMONorNONE. - region str
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- Mapping[str, str]
- Key-value map of resource tags. If configured with a provider
defaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level. - timeouts
Daemon
Timeouts Args
- capacity
Provider List<String>Arns - Set of capacity provider ARNs to use for the daemon.
- daemon
Task StringDefinition Arn - ARN of the daemon task definition to use for the daemon. Drift is not detected on this attribute because the API may report a stale revision while a deployment is in progress.
- cluster
Arn String - ARN of the ECS cluster where the daemon will run.
- deployment
Configuration Property Map - Configuration for daemon deployments. See Deployment Configuration below.
- Boolean
- Whether to enable Amazon ECS managed tags for the tasks within the daemon.
- enable
Execute BooleanCommand - Whether to enable Amazon ECS Exec for the tasks within the daemon.
- name String
- Name of the daemon.
- String
- Whether to propagate tags from the daemon to tasks. Valid values are
DAEMONorNONE. - region String
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- Map<String>
- Key-value map of resource tags. If configured with a provider
defaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level. - timeouts Property Map
Outputs
All input properties are implicitly available as output properties. Additionally, the Daemon resource produces the following output properties:
- Arn string
- ARN of the daemon.
- Deployment
Arn string - ARN of the most recent daemon deployment.
- Id string
- The provider-assigned unique ID for this managed resource.
- Status string
- Status of the daemon. Valid values are
ACTIVEorDELETE_IN_PROGRESS. - Dictionary<string, string>
- Map of tags assigned to the resource, including those inherited from the provider
defaultTagsconfiguration block.
- Arn string
- ARN of the daemon.
- Deployment
Arn string - ARN of the most recent daemon deployment.
- Id string
- The provider-assigned unique ID for this managed resource.
- Status string
- Status of the daemon. Valid values are
ACTIVEorDELETE_IN_PROGRESS. - map[string]string
- Map of tags assigned to the resource, including those inherited from the provider
defaultTagsconfiguration block.
- arn string
- ARN of the daemon.
- deployment_
arn string - ARN of the most recent daemon deployment.
- id string
- The provider-assigned unique ID for this managed resource.
- status string
- Status of the daemon. Valid values are
ACTIVEorDELETE_IN_PROGRESS. - map(string)
- Map of tags assigned to the resource, including those inherited from the provider
defaultTagsconfiguration block.
- arn String
- ARN of the daemon.
- deployment
Arn String - ARN of the most recent daemon deployment.
- id String
- The provider-assigned unique ID for this managed resource.
- status String
- Status of the daemon. Valid values are
ACTIVEorDELETE_IN_PROGRESS. - Map<String,String>
- Map of tags assigned to the resource, including those inherited from the provider
defaultTagsconfiguration block.
- arn string
- ARN of the daemon.
- deployment
Arn string - ARN of the most recent daemon deployment.
- id string
- The provider-assigned unique ID for this managed resource.
- status string
- Status of the daemon. Valid values are
ACTIVEorDELETE_IN_PROGRESS. - {[key: string]: string}
- Map of tags assigned to the resource, including those inherited from the provider
defaultTagsconfiguration block.
- arn str
- ARN of the daemon.
- deployment_
arn str - ARN of the most recent daemon deployment.
- id str
- The provider-assigned unique ID for this managed resource.
- status str
- Status of the daemon. Valid values are
ACTIVEorDELETE_IN_PROGRESS. - Mapping[str, str]
- Map of tags assigned to the resource, including those inherited from the provider
defaultTagsconfiguration block.
- arn String
- ARN of the daemon.
- deployment
Arn String - ARN of the most recent daemon deployment.
- id String
- The provider-assigned unique ID for this managed resource.
- status String
- Status of the daemon. Valid values are
ACTIVEorDELETE_IN_PROGRESS. - Map<String>
- Map of tags assigned to the resource, including those inherited from the provider
defaultTagsconfiguration block.
Look up Existing Daemon Resource
Get an existing Daemon 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?: DaemonState, opts?: CustomResourceOptions): Daemon@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
arn: Optional[str] = None,
capacity_provider_arns: Optional[Sequence[str]] = None,
cluster_arn: Optional[str] = None,
daemon_task_definition_arn: Optional[str] = None,
deployment_arn: Optional[str] = None,
deployment_configuration: Optional[DaemonDeploymentConfigurationArgs] = None,
enable_ecs_managed_tags: Optional[bool] = None,
enable_execute_command: Optional[bool] = None,
name: Optional[str] = None,
propagate_tags: Optional[str] = None,
region: Optional[str] = None,
status: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None,
tags_all: Optional[Mapping[str, str]] = None,
timeouts: Optional[DaemonTimeoutsArgs] = None) -> Daemonfunc GetDaemon(ctx *Context, name string, id IDInput, state *DaemonState, opts ...ResourceOption) (*Daemon, error)public static Daemon Get(string name, Input<string> id, DaemonState? state, CustomResourceOptions? opts = null)public static Daemon get(String name, Output<String> id, DaemonState state, CustomResourceOptions options)resources: _: type: aws:ecs:Daemon get: id: ${id}import {
to = aws_ecs_daemon.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.
- Arn string
- ARN of the daemon.
- Capacity
Provider List<string>Arns - Set of capacity provider ARNs to use for the daemon.
- Cluster
Arn string - ARN of the ECS cluster where the daemon will run.
- Daemon
Task stringDefinition Arn - ARN of the daemon task definition to use for the daemon. Drift is not detected on this attribute because the API may report a stale revision while a deployment is in progress.
- Deployment
Arn string - ARN of the most recent daemon deployment.
- Deployment
Configuration DaemonDeployment Configuration - Configuration for daemon deployments. See Deployment Configuration below.
- bool
- Whether to enable Amazon ECS managed tags for the tasks within the daemon.
- Enable
Execute boolCommand - Whether to enable Amazon ECS Exec for the tasks within the daemon.
- Name string
- Name of the daemon.
- string
- Whether to propagate tags from the daemon to tasks. Valid values are
DAEMONorNONE. - Region string
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- Status string
- Status of the daemon. Valid values are
ACTIVEorDELETE_IN_PROGRESS. - Dictionary<string, string>
- Key-value map of resource tags. If configured with a provider
defaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level. - Dictionary<string, string>
- Map of tags assigned to the resource, including those inherited from the provider
defaultTagsconfiguration block. - Timeouts
Daemon
Timeouts
- Arn string
- ARN of the daemon.
- Capacity
Provider []stringArns - Set of capacity provider ARNs to use for the daemon.
- Cluster
Arn string - ARN of the ECS cluster where the daemon will run.
- Daemon
Task stringDefinition Arn - ARN of the daemon task definition to use for the daemon. Drift is not detected on this attribute because the API may report a stale revision while a deployment is in progress.
- Deployment
Arn string - ARN of the most recent daemon deployment.
- Deployment
Configuration DaemonDeployment Configuration Args - Configuration for daemon deployments. See Deployment Configuration below.
- bool
- Whether to enable Amazon ECS managed tags for the tasks within the daemon.
- Enable
Execute boolCommand - Whether to enable Amazon ECS Exec for the tasks within the daemon.
- Name string
- Name of the daemon.
- string
- Whether to propagate tags from the daemon to tasks. Valid values are
DAEMONorNONE. - Region string
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- Status string
- Status of the daemon. Valid values are
ACTIVEorDELETE_IN_PROGRESS. - map[string]string
- Key-value map of resource tags. If configured with a provider
defaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level. - map[string]string
- Map of tags assigned to the resource, including those inherited from the provider
defaultTagsconfiguration block. - Timeouts
Daemon
Timeouts Args
- arn string
- ARN of the daemon.
- capacity_
provider_ list(string)arns - Set of capacity provider ARNs to use for the daemon.
- cluster_
arn string - ARN of the ECS cluster where the daemon will run.
- daemon_
task_ stringdefinition_ arn - ARN of the daemon task definition to use for the daemon. Drift is not detected on this attribute because the API may report a stale revision while a deployment is in progress.
- deployment_
arn string - ARN of the most recent daemon deployment.
- deployment_
configuration object - Configuration for daemon deployments. See Deployment Configuration below.
- bool
- Whether to enable Amazon ECS managed tags for the tasks within the daemon.
- enable_
execute_ boolcommand - Whether to enable Amazon ECS Exec for the tasks within the daemon.
- name string
- Name of the daemon.
- string
- Whether to propagate tags from the daemon to tasks. Valid values are
DAEMONorNONE. - region string
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- status string
- Status of the daemon. Valid values are
ACTIVEorDELETE_IN_PROGRESS. - map(string)
- Key-value map of resource tags. If configured with a provider
defaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level. - map(string)
- Map of tags assigned to the resource, including those inherited from the provider
defaultTagsconfiguration block. - timeouts object
- arn String
- ARN of the daemon.
- capacity
Provider List<String>Arns - Set of capacity provider ARNs to use for the daemon.
- cluster
Arn String - ARN of the ECS cluster where the daemon will run.
- daemon
Task StringDefinition Arn - ARN of the daemon task definition to use for the daemon. Drift is not detected on this attribute because the API may report a stale revision while a deployment is in progress.
- deployment
Arn String - ARN of the most recent daemon deployment.
- deployment
Configuration DaemonDeployment Configuration - Configuration for daemon deployments. See Deployment Configuration below.
- Boolean
- Whether to enable Amazon ECS managed tags for the tasks within the daemon.
- enable
Execute BooleanCommand - Whether to enable Amazon ECS Exec for the tasks within the daemon.
- name String
- Name of the daemon.
- String
- Whether to propagate tags from the daemon to tasks. Valid values are
DAEMONorNONE. - region String
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- status String
- Status of the daemon. Valid values are
ACTIVEorDELETE_IN_PROGRESS. - Map<String,String>
- Key-value map of resource tags. If configured with a provider
defaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level. - Map<String,String>
- Map of tags assigned to the resource, including those inherited from the provider
defaultTagsconfiguration block. - timeouts
Daemon
Timeouts
- arn string
- ARN of the daemon.
- capacity
Provider string[]Arns - Set of capacity provider ARNs to use for the daemon.
- cluster
Arn string - ARN of the ECS cluster where the daemon will run.
- daemon
Task stringDefinition Arn - ARN of the daemon task definition to use for the daemon. Drift is not detected on this attribute because the API may report a stale revision while a deployment is in progress.
- deployment
Arn string - ARN of the most recent daemon deployment.
- deployment
Configuration DaemonDeployment Configuration - Configuration for daemon deployments. See Deployment Configuration below.
- boolean
- Whether to enable Amazon ECS managed tags for the tasks within the daemon.
- enable
Execute booleanCommand - Whether to enable Amazon ECS Exec for the tasks within the daemon.
- name string
- Name of the daemon.
- string
- Whether to propagate tags from the daemon to tasks. Valid values are
DAEMONorNONE. - region string
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- status string
- Status of the daemon. Valid values are
ACTIVEorDELETE_IN_PROGRESS. - {[key: string]: string}
- Key-value map of resource tags. If configured with a provider
defaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level. - {[key: string]: string}
- Map of tags assigned to the resource, including those inherited from the provider
defaultTagsconfiguration block. - timeouts
Daemon
Timeouts
- arn str
- ARN of the daemon.
- capacity_
provider_ Sequence[str]arns - Set of capacity provider ARNs to use for the daemon.
- cluster_
arn str - ARN of the ECS cluster where the daemon will run.
- daemon_
task_ strdefinition_ arn - ARN of the daemon task definition to use for the daemon. Drift is not detected on this attribute because the API may report a stale revision while a deployment is in progress.
- deployment_
arn str - ARN of the most recent daemon deployment.
- deployment_
configuration DaemonDeployment Configuration Args - Configuration for daemon deployments. See Deployment Configuration below.
- bool
- Whether to enable Amazon ECS managed tags for the tasks within the daemon.
- enable_
execute_ boolcommand - Whether to enable Amazon ECS Exec for the tasks within the daemon.
- name str
- Name of the daemon.
- str
- Whether to propagate tags from the daemon to tasks. Valid values are
DAEMONorNONE. - region str
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- status str
- Status of the daemon. Valid values are
ACTIVEorDELETE_IN_PROGRESS. - Mapping[str, str]
- Key-value map of resource tags. If configured with a provider
defaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level. - Mapping[str, str]
- Map of tags assigned to the resource, including those inherited from the provider
defaultTagsconfiguration block. - timeouts
Daemon
Timeouts Args
- arn String
- ARN of the daemon.
- capacity
Provider List<String>Arns - Set of capacity provider ARNs to use for the daemon.
- cluster
Arn String - ARN of the ECS cluster where the daemon will run.
- daemon
Task StringDefinition Arn - ARN of the daemon task definition to use for the daemon. Drift is not detected on this attribute because the API may report a stale revision while a deployment is in progress.
- deployment
Arn String - ARN of the most recent daemon deployment.
- deployment
Configuration Property Map - Configuration for daemon deployments. See Deployment Configuration below.
- Boolean
- Whether to enable Amazon ECS managed tags for the tasks within the daemon.
- enable
Execute BooleanCommand - Whether to enable Amazon ECS Exec for the tasks within the daemon.
- name String
- Name of the daemon.
- String
- Whether to propagate tags from the daemon to tasks. Valid values are
DAEMONorNONE. - region String
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- status String
- Status of the daemon. Valid values are
ACTIVEorDELETE_IN_PROGRESS. - Map<String>
- Key-value map of resource tags. If configured with a provider
defaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level. - Map<String>
- Map of tags assigned to the resource, including those inherited from the provider
defaultTagsconfiguration block. - timeouts Property Map
Supporting Types
DaemonDeploymentConfiguration, DaemonDeploymentConfigurationArgs
- Alarms
Daemon
Deployment Configuration Alarms - Alarm configuration for deployment monitoring. See Alarms below.
- Bake
Time intIn Minutes - Time in minutes to wait before considering a deployment successful. Valid values are between 0 and 1440. Defaults to
0. - Drain
Percent double - Percentage of tasks to drain during deployment. Valid values are between 0.0 and 100.0.
- Alarms
Daemon
Deployment Configuration Alarms - Alarm configuration for deployment monitoring. See Alarms below.
- Bake
Time intIn Minutes - Time in minutes to wait before considering a deployment successful. Valid values are between 0 and 1440. Defaults to
0. - Drain
Percent float64 - Percentage of tasks to drain during deployment. Valid values are between 0.0 and 100.0.
- alarms object
- Alarm configuration for deployment monitoring. See Alarms below.
- bake_
time_ numberin_ minutes - Time in minutes to wait before considering a deployment successful. Valid values are between 0 and 1440. Defaults to
0. - drain_
percent number - Percentage of tasks to drain during deployment. Valid values are between 0.0 and 100.0.
- alarms
Daemon
Deployment Configuration Alarms - Alarm configuration for deployment monitoring. See Alarms below.
- bake
Time IntegerIn Minutes - Time in minutes to wait before considering a deployment successful. Valid values are between 0 and 1440. Defaults to
0. - drain
Percent Double - Percentage of tasks to drain during deployment. Valid values are between 0.0 and 100.0.
- alarms
Daemon
Deployment Configuration Alarms - Alarm configuration for deployment monitoring. See Alarms below.
- bake
Time numberIn Minutes - Time in minutes to wait before considering a deployment successful. Valid values are between 0 and 1440. Defaults to
0. - drain
Percent number - Percentage of tasks to drain during deployment. Valid values are between 0.0 and 100.0.
- alarms
Daemon
Deployment Configuration Alarms - Alarm configuration for deployment monitoring. See Alarms below.
- bake_
time_ intin_ minutes - Time in minutes to wait before considering a deployment successful. Valid values are between 0 and 1440. Defaults to
0. - drain_
percent float - Percentage of tasks to drain during deployment. Valid values are between 0.0 and 100.0.
- alarms Property Map
- Alarm configuration for deployment monitoring. See Alarms below.
- bake
Time NumberIn Minutes - Time in minutes to wait before considering a deployment successful. Valid values are between 0 and 1440. Defaults to
0. - drain
Percent Number - Percentage of tasks to drain during deployment. Valid values are between 0.0 and 100.0.
DaemonDeploymentConfigurationAlarms, DaemonDeploymentConfigurationAlarmsArgs
- Alarm
Names List<string> - List of CloudWatch alarm names to monitor during deployment.
- Enable bool
- Whether to enable alarm monitoring for deployments. Defaults to
false.
- Alarm
Names []string - List of CloudWatch alarm names to monitor during deployment.
- Enable bool
- Whether to enable alarm monitoring for deployments. Defaults to
false.
- alarm_
names list(string) - List of CloudWatch alarm names to monitor during deployment.
- enable bool
- Whether to enable alarm monitoring for deployments. Defaults to
false.
- alarm
Names List<String> - List of CloudWatch alarm names to monitor during deployment.
- enable Boolean
- Whether to enable alarm monitoring for deployments. Defaults to
false.
- alarm
Names string[] - List of CloudWatch alarm names to monitor during deployment.
- enable boolean
- Whether to enable alarm monitoring for deployments. Defaults to
false.
- alarm_
names Sequence[str] - List of CloudWatch alarm names to monitor during deployment.
- enable bool
- Whether to enable alarm monitoring for deployments. Defaults to
false.
- alarm
Names List<String> - List of CloudWatch alarm names to monitor during deployment.
- enable Boolean
- Whether to enable alarm monitoring for deployments. Defaults to
false.
DaemonTimeouts, DaemonTimeoutsArgs
- Create string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- Delete string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
- Update string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- Create string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- Delete string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
- Update string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- create string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- delete string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
- update string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- create String
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- delete String
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
- update String
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- create string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- delete string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
- update string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- create str
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- delete str
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
- update str
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- create String
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- delete String
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
- update String
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
Import
Identity Schema
Required
arn(String) ARN of the ECS Daemon.
Using pulumi import, import ECS Daemons using the ARN. For example:
$ pulumi import aws:ecs/daemon:Daemon example arn:aws:ecs:us-east-1:123456789012:daemon/example-cluster/example-daemon
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
awsTerraform Provider.
published on Monday, Jun 15, 2026 by Pulumi