interface CfnDaemonProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.ECS.CfnDaemonProps |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsecs#CfnDaemonProps |
Java | software.amazon.awscdk.services.ecs.CfnDaemonProps |
Python | aws_cdk.aws_ecs.CfnDaemonProps |
TypeScript | aws-cdk-lib » aws_ecs » CfnDaemonProps |
Properties for defining a CfnDaemon.
See also: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecs-daemon.html
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_ecs as ecs } from 'aws-cdk-lib';
const cfnDaemonProps: ecs.CfnDaemonProps = {
capacityProviderArns: ['capacityProviderArns'],
clusterArn: 'clusterArn',
daemonName: 'daemonName',
daemonTaskDefinitionArn: 'daemonTaskDefinitionArn',
deploymentConfiguration: {
alarms: {
alarmNames: ['alarmNames'],
enable: false,
},
bakeTimeInMinutes: 123,
drainPercent: 123,
},
enableEcsManagedTags: false,
enableExecuteCommand: false,
propagateTags: 'propagateTags',
tags: [{
key: 'key',
value: 'value',
}],
};
Properties
| Name | Type | Description |
|---|---|---|
| capacity | string[] | The Amazon Resource Names (ARNs) of the capacity providers associated with the daemon. |
| cluster | string | The Amazon Resource Name (ARN) of the cluster that the daemon is running in. |
| daemon | string | |
| daemon | string | The Amazon Resource Name (ARN) of the daemon task definition used by this revision. |
| deployment | IResolvable | Daemon | Optional deployment parameters that control how a daemon rolls out updates across container instances. |
| enable | boolean | IResolvable | Specifies whether Amazon ECS managed tags are turned on for the daemon tasks. |
| enable | boolean | IResolvable | Specifies whether the execute command functionality is turned on for the daemon tasks. |
| propagate | string | Specifies whether tags are propagated from the daemon to the daemon tasks. |
| tags? | Cfn[] |
capacityProviderArns?
Type:
string[]
(optional)
The Amazon Resource Names (ARNs) of the capacity providers associated with the daemon.
clusterArn?
Type:
string
(optional)
The Amazon Resource Name (ARN) of the cluster that the daemon is running in.
daemonName?
Type:
string
(optional)
daemonTaskDefinitionArn?
Type:
string
(optional)
The Amazon Resource Name (ARN) of the daemon task definition used by this revision.
deploymentConfiguration?
Type:
IResolvable | Daemon
(optional)
Optional deployment parameters that control how a daemon rolls out updates across container instances.
enableEcsManagedTags?
Type:
boolean | IResolvable
(optional)
Specifies whether Amazon ECS managed tags are turned on for the daemon tasks.
enableExecuteCommand?
Type:
boolean | IResolvable
(optional)
Specifies whether the execute command functionality is turned on for the daemon tasks.
propagateTags?
Type:
string
(optional)
Specifies whether tags are propagated from the daemon to the daemon tasks.
tags?
Type:
Cfn[]
(optional)

.NET
Go
Java
Python
TypeScript