We recommend new projects start with resources from the AWS provider.
published on Monday, Apr 20, 2026 by Pulumi
We recommend new projects start with resources from the AWS provider.
published on Monday, Apr 20, 2026 by Pulumi
Information about a daemon resource.
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: Optional[DaemonArgs] = None,
opts: Optional[ResourceOptions] = None)
@overload
def Daemon(resource_name: str,
opts: Optional[ResourceOptions] = None,
capacity_provider_arns: Optional[Sequence[str]] = None,
cluster_arn: Optional[str] = None,
daemon_name: Optional[str] = None,
daemon_task_definition_arn: Optional[str] = None,
deployment_configuration: Optional[DaemonDeploymentConfigurationArgs] = None,
enable_ecs_managed_tags: Optional[bool] = None,
enable_execute_command: Optional[bool] = None,
propagate_tags: Optional[DaemonPropagateTags] = None,
tags: Optional[Sequence[_root_inputs.TagArgs]] = None)func NewDaemon(ctx *Context, name string, args *DaemonArgs, opts ...ResourceOption) (*Daemon, error)public Daemon(string name, DaemonArgs? args = null, CustomResourceOptions? opts = null)
public Daemon(String name, DaemonArgs args)
public Daemon(String name, DaemonArgs args, CustomResourceOptions options)
type: aws-native:ecs:Daemon
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 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.
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 - The Amazon Resource Names (ARNs) of the capacity providers associated with the daemon.
- Cluster
Arn string - The Amazon Resource Name (ARN) of the cluster that the daemon is running in.
- Daemon
Name string - Daemon
Task stringDefinition Arn - The Amazon Resource Name (ARN) of the daemon task definition used by this revision.
- Deployment
Configuration Pulumi.Aws Native. Ecs. Inputs. Daemon Deployment Configuration - The deployment configuration used for this daemon deployment.
- bool
- Specifies whether Amazon ECS managed tags are turned on for the daemon tasks.
- Enable
Execute boolCommand - Specifies whether the execute command functionality is turned on for the daemon tasks.
-
Pulumi.
Aws Native. Ecs. Daemon Propagate Tags - Specifies whether tags are propagated from the daemon to the daemon tasks.
-
List<Pulumi.
Aws Native. Inputs. Tag>
- Capacity
Provider []stringArns - The Amazon Resource Names (ARNs) of the capacity providers associated with the daemon.
- Cluster
Arn string - The Amazon Resource Name (ARN) of the cluster that the daemon is running in.
- Daemon
Name string - Daemon
Task stringDefinition Arn - The Amazon Resource Name (ARN) of the daemon task definition used by this revision.
- Deployment
Configuration DaemonDeployment Configuration Args - The deployment configuration used for this daemon deployment.
- bool
- Specifies whether Amazon ECS managed tags are turned on for the daemon tasks.
- Enable
Execute boolCommand - Specifies whether the execute command functionality is turned on for the daemon tasks.
-
Daemon
Propagate Tags - Specifies whether tags are propagated from the daemon to the daemon tasks.
-
Tag
Args
- capacity
Provider List<String>Arns - The Amazon Resource Names (ARNs) of the capacity providers associated with the daemon.
- cluster
Arn String - The Amazon Resource Name (ARN) of the cluster that the daemon is running in.
- daemon
Name String - daemon
Task StringDefinition Arn - The Amazon Resource Name (ARN) of the daemon task definition used by this revision.
- deployment
Configuration DaemonDeployment Configuration - The deployment configuration used for this daemon deployment.
- Boolean
- Specifies whether Amazon ECS managed tags are turned on for the daemon tasks.
- enable
Execute BooleanCommand - Specifies whether the execute command functionality is turned on for the daemon tasks.
-
Daemon
Propagate Tags - Specifies whether tags are propagated from the daemon to the daemon tasks.
- List<Tag>
- capacity
Provider string[]Arns - The Amazon Resource Names (ARNs) of the capacity providers associated with the daemon.
- cluster
Arn string - The Amazon Resource Name (ARN) of the cluster that the daemon is running in.
- daemon
Name string - daemon
Task stringDefinition Arn - The Amazon Resource Name (ARN) of the daemon task definition used by this revision.
- deployment
Configuration DaemonDeployment Configuration - The deployment configuration used for this daemon deployment.
- boolean
- Specifies whether Amazon ECS managed tags are turned on for the daemon tasks.
- enable
Execute booleanCommand - Specifies whether the execute command functionality is turned on for the daemon tasks.
-
Daemon
Propagate Tags - Specifies whether tags are propagated from the daemon to the daemon tasks.
- Tag[]
- capacity_
provider_ Sequence[str]arns - The Amazon Resource Names (ARNs) of the capacity providers associated with the daemon.
- cluster_
arn str - The Amazon Resource Name (ARN) of the cluster that the daemon is running in.
- daemon_
name str - daemon_
task_ strdefinition_ arn - The Amazon Resource Name (ARN) of the daemon task definition used by this revision.
- deployment_
configuration DaemonDeployment Configuration Args - The deployment configuration used for this daemon deployment.
- bool
- Specifies whether Amazon ECS managed tags are turned on for the daemon tasks.
- enable_
execute_ boolcommand - Specifies whether the execute command functionality is turned on for the daemon tasks.
-
Daemon
Propagate Tags - Specifies whether tags are propagated from the daemon to the daemon tasks.
-
Sequence[Tag
Args]
- capacity
Provider List<String>Arns - The Amazon Resource Names (ARNs) of the capacity providers associated with the daemon.
- cluster
Arn String - The Amazon Resource Name (ARN) of the cluster that the daemon is running in.
- daemon
Name String - daemon
Task StringDefinition Arn - The Amazon Resource Name (ARN) of the daemon task definition used by this revision.
- deployment
Configuration Property Map - The deployment configuration used for this daemon deployment.
- Boolean
- Specifies whether Amazon ECS managed tags are turned on for the daemon tasks.
- enable
Execute BooleanCommand - Specifies whether the execute command functionality is turned on for the daemon tasks.
- "DAEMON" | "NONE"
- Specifies whether tags are propagated from the daemon to the daemon tasks.
- List<Property Map>
Outputs
All input properties are implicitly available as output properties. Additionally, the Daemon resource produces the following output properties:
- Created
At string - Daemon
Arn string - Daemon
Status Pulumi.Aws Native. Ecs. Daemon Status - Deployment
Arn string - Id string
- The provider-assigned unique ID for this managed resource.
- Updated
At string
- Created
At string - Daemon
Arn string - Daemon
Status DaemonStatus - Deployment
Arn string - Id string
- The provider-assigned unique ID for this managed resource.
- Updated
At string
- created
At String - daemon
Arn String - daemon
Status DaemonStatus - deployment
Arn String - id String
- The provider-assigned unique ID for this managed resource.
- updated
At String
- created
At string - daemon
Arn string - daemon
Status DaemonStatus - deployment
Arn string - id string
- The provider-assigned unique ID for this managed resource.
- updated
At string
- created_
at str - daemon_
arn str - daemon_
status DaemonStatus - deployment_
arn str - id str
- The provider-assigned unique ID for this managed resource.
- updated_
at str
- created
At String - daemon
Arn String - daemon
Status "ACTIVE" | "DELETE_IN_PROGRESS" - deployment
Arn String - id String
- The provider-assigned unique ID for this managed resource.
- updated
At String
Supporting Types
DaemonAlarmConfiguration, DaemonAlarmConfigurationArgs
The CloudWatch alarm configuration for a daemon. When enabled, CloudWatch alarms determine whether a daemon deployment has failed.- Alarm
Names List<string> - The CloudWatch alarm names to monitor during a daemon deployment.
- Enable bool
- Determines whether to use the CloudWatch alarm option in the daemon deployment process. The default value is
false.
- Alarm
Names []string - The CloudWatch alarm names to monitor during a daemon deployment.
- Enable bool
- Determines whether to use the CloudWatch alarm option in the daemon deployment process. The default value is
false.
- alarm
Names List<String> - The CloudWatch alarm names to monitor during a daemon deployment.
- enable Boolean
- Determines whether to use the CloudWatch alarm option in the daemon deployment process. The default value is
false.
- alarm
Names string[] - The CloudWatch alarm names to monitor during a daemon deployment.
- enable boolean
- Determines whether to use the CloudWatch alarm option in the daemon deployment process. The default value is
false.
- alarm_
names Sequence[str] - The CloudWatch alarm names to monitor during a daemon deployment.
- enable bool
- Determines whether to use the CloudWatch alarm option in the daemon deployment process. The default value is
false.
- alarm
Names List<String> - The CloudWatch alarm names to monitor during a daemon deployment.
- enable Boolean
- Determines whether to use the CloudWatch alarm option in the daemon deployment process. The default value is
false.
DaemonDeploymentConfiguration, DaemonDeploymentConfigurationArgs
Optional deployment parameters that control how a daemon rolls out updates across container instances.- Alarms
Pulumi.
Aws Native. Ecs. Inputs. Daemon Alarm Configuration - The CloudWatch alarm configuration for the daemon deployment. When alarms are triggered during a deployment, the deployment can be automatically rolled back.
- Bake
Time intIn Minutes - The amount of time (in minutes) to wait after a successful deployment step before proceeding. This allows time to monitor for issues before continuing. The default value is 0.
- Drain
Percent double - The percentage of container instances to drain simultaneously during a daemon deployment. Valid values are between 0.0 and 100.0.
- Alarms
Daemon
Alarm Configuration - The CloudWatch alarm configuration for the daemon deployment. When alarms are triggered during a deployment, the deployment can be automatically rolled back.
- Bake
Time intIn Minutes - The amount of time (in minutes) to wait after a successful deployment step before proceeding. This allows time to monitor for issues before continuing. The default value is 0.
- Drain
Percent float64 - The percentage of container instances to drain simultaneously during a daemon deployment. Valid values are between 0.0 and 100.0.
- alarms
Daemon
Alarm Configuration - The CloudWatch alarm configuration for the daemon deployment. When alarms are triggered during a deployment, the deployment can be automatically rolled back.
- bake
Time IntegerIn Minutes - The amount of time (in minutes) to wait after a successful deployment step before proceeding. This allows time to monitor for issues before continuing. The default value is 0.
- drain
Percent Double - The percentage of container instances to drain simultaneously during a daemon deployment. Valid values are between 0.0 and 100.0.
- alarms
Daemon
Alarm Configuration - The CloudWatch alarm configuration for the daemon deployment. When alarms are triggered during a deployment, the deployment can be automatically rolled back.
- bake
Time numberIn Minutes - The amount of time (in minutes) to wait after a successful deployment step before proceeding. This allows time to monitor for issues before continuing. The default value is 0.
- drain
Percent number - The percentage of container instances to drain simultaneously during a daemon deployment. Valid values are between 0.0 and 100.0.
- alarms
Daemon
Alarm Configuration - The CloudWatch alarm configuration for the daemon deployment. When alarms are triggered during a deployment, the deployment can be automatically rolled back.
- bake_
time_ intin_ minutes - The amount of time (in minutes) to wait after a successful deployment step before proceeding. This allows time to monitor for issues before continuing. The default value is 0.
- drain_
percent float - The percentage of container instances to drain simultaneously during a daemon deployment. Valid values are between 0.0 and 100.0.
- alarms Property Map
- The CloudWatch alarm configuration for the daemon deployment. When alarms are triggered during a deployment, the deployment can be automatically rolled back.
- bake
Time NumberIn Minutes - The amount of time (in minutes) to wait after a successful deployment step before proceeding. This allows time to monitor for issues before continuing. The default value is 0.
- drain
Percent Number - The percentage of container instances to drain simultaneously during a daemon deployment. Valid values are between 0.0 and 100.0.
DaemonPropagateTags, DaemonPropagateTagsArgs
- Daemon
DAEMON- None
NONE
- Daemon
Propagate Tags Daemon DAEMON- Daemon
Propagate Tags None NONE
- Daemon
DAEMON- None
NONE
- Daemon
DAEMON- None
NONE
- DAEMON
DAEMON- NONE
NONE
- "DAEMON"
DAEMON- "NONE"
NONE
DaemonStatus, DaemonStatusArgs
- Active
ACTIVE- Delete
In Progress DELETE_IN_PROGRESS
- Daemon
Status Active ACTIVE- Daemon
Status Delete In Progress DELETE_IN_PROGRESS
- Active
ACTIVE- Delete
In Progress DELETE_IN_PROGRESS
- Active
ACTIVE- Delete
In Progress DELETE_IN_PROGRESS
- ACTIVE
ACTIVE- DELETE_IN_PROGRESS
DELETE_IN_PROGRESS
- "ACTIVE"
ACTIVE- "DELETE_IN_PROGRESS"
DELETE_IN_PROGRESS
Tag, TagArgs
A set of tags to apply to the resource.Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.
published on Monday, Apr 20, 2026 by Pulumi
