Class CfnDaemon
java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.CfnElement
software.amazon.awscdk.CfnRefElement
software.amazon.awscdk.CfnResource
software.amazon.awscdk.services.ecs.CfnDaemon
- All Implemented Interfaces:
IInspectable,IDaemonRef,IEnvironmentAware,ITaggableV2,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.130.0 (build 048a5ee)",
date="2026-05-20T12:39:45.787Z")
@Stability(Stable)
public class CfnDaemon
extends CfnResource
implements IInspectable, IDaemonRef, ITaggableV2
Information about a daemon resource.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.ecs.*;
CfnDaemon cfnDaemon = CfnDaemon.Builder.create(this, "MyCfnDaemon")
.capacityProviderArns(List.of("capacityProviderArns"))
.clusterArn("clusterArn")
.daemonName("daemonName")
.daemonTaskDefinitionArn("daemonTaskDefinitionArn")
.deploymentConfiguration(DaemonDeploymentConfigurationProperty.builder()
.alarms(DaemonAlarmConfigurationProperty.builder()
.alarmNames(List.of("alarmNames"))
.enable(false)
.build())
.bakeTimeInMinutes(123)
.drainPercent(123)
.build())
.enableEcsManagedTags(false)
.enableExecuteCommand(false)
.propagateTags("propagateTags")
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classA fluent builder forCfnDaemon.static interfaceThe CloudWatch alarm configuration for a daemon.static interfaceOptional deployment parameters that control how a daemon rolls out updates across container instances.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.amazon.awscdk.interfaces.ecs.IDaemonRef
IDaemonRef.Jsii$Default, IDaemonRef.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.ITaggableV2
ITaggableV2.Jsii$Default, ITaggableV2.Jsii$Proxy -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe CloudFormation resource type name for this resource class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCfnDaemon(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnDaemon(software.amazon.jsii.JsiiObjectRef objRef) Create a newAWS::ECS::Daemon.CfnDaemon(software.constructs.Construct scope, String id, CfnDaemonProps props) Create a newAWS::ECS::Daemon. -
Method Summary
Modifier and TypeMethodDescriptionstatic StringarnForDaemon(IDaemonRef resource) The Amazon Resource Names (ARNs) of the capacity providers associated with the daemon.Tag Manager which manages the tags for this resource.The Amazon Resource Name (ARN) of the cluster that the daemon is running in.A reference to a Daemon resource.The Amazon Resource Name (ARN) of the daemon task definition used by this revision.Optional deployment parameters that control how a daemon rolls out updates across container instances.Specifies whether Amazon ECS managed tags are turned on for the daemon tasks.Specifies whether the execute command functionality is turned on for the daemon tasks.Specifies whether tags are propagated from the daemon to the daemon tasks.getTags()voidinspect(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.static BooleanChecks whether the given object is a CfnDaemon.renderProperties(Map<String, Object> props) voidsetCapacityProviderArns(List<String> value) The Amazon Resource Names (ARNs) of the capacity providers associated with the daemon.voidsetClusterArn(String value) The Amazon Resource Name (ARN) of the cluster that the daemon is running in.voidsetDaemonName(String value) voidsetDaemonTaskDefinitionArn(String value) The Amazon Resource Name (ARN) of the daemon task definition used by this revision.voidOptional deployment parameters that control how a daemon rolls out updates across container instances.voidOptional deployment parameters that control how a daemon rolls out updates across container instances.voidsetEnableEcsManagedTags(Boolean value) Specifies whether Amazon ECS managed tags are turned on for the daemon tasks.voidSpecifies whether Amazon ECS managed tags are turned on for the daemon tasks.voidsetEnableExecuteCommand(Boolean value) Specifies whether the execute command functionality is turned on for the daemon tasks.voidSpecifies whether the execute command functionality is turned on for the daemon tasks.voidsetPropagateTags(String value) Specifies whether tags are propagated from the daemon to the daemon tasks.voidMethods inherited from class software.amazon.awscdk.CfnResource
addDeletionOverride, addDependency, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, cfnPropertyName, getAtt, getAtt, getCfnOptions, getCfnResourceType, getEnv, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, obtainDependencies, obtainResourceDependencies, removeDependency, replaceDependency, shouldSynthesize, toString, validatePropertiesMethods inherited from class software.amazon.awscdk.CfnRefElement
getRefMethods inherited from class software.amazon.awscdk.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalId, withMethods inherited from class software.constructs.Construct
getNode, isConstructMethods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface software.constructs.IConstruct
getNode, withMethods inherited from interface software.amazon.awscdk.interfaces.IEnvironmentAware
getEnvMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
-
-
Constructor Details
-
CfnDaemon
protected CfnDaemon(software.amazon.jsii.JsiiObjectRef objRef) -
CfnDaemon
protected CfnDaemon(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnDaemon
@Stability(Stable) public CfnDaemon(@NotNull software.constructs.Construct scope, @NotNull String id, @Nullable CfnDaemonProps props) Create a newAWS::ECS::Daemon.- Parameters:
scope- Scope in which this resource is defined. This parameter is required.id- Construct identifier for this resource (unique in its scope). This parameter is required.props- Resource properties.
-
CfnDaemon
@Stability(Stable) public CfnDaemon(@NotNull software.constructs.Construct scope, @NotNull String id) Create a newAWS::ECS::Daemon.- Parameters:
scope- Scope in which this resource is defined. This parameter is required.id- Construct identifier for this resource (unique in its scope). This parameter is required.
-
-
Method Details
-
arnForDaemon
- Parameters:
resource- This parameter is required.
-
isCfnDaemon
Checks whether the given object is a CfnDaemon.- Parameters:
x- This parameter is required.
-
inspect
Examines the CloudFormation resource and discloses attributes.- Specified by:
inspectin interfaceIInspectable- Parameters:
inspector- tree inspector to collect and process attributes. This parameter is required.
-
renderProperties
@Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String, Object> props) - Overrides:
renderPropertiesin classCfnResource- Parameters:
props- This parameter is required.
-
getAttrCreatedAt
-
getAttrDaemonArn
-
getAttrDaemonStatus
-
getAttrDeploymentArn
-
getAttrUpdatedAt
-
getCdkTagManager
Tag Manager which manages the tags for this resource.- Specified by:
getCdkTagManagerin interfaceITaggableV2
-
getCfnProperties
- Overrides:
getCfnPropertiesin classCfnResource
-
getCfnPropertyNames
- Overrides:
getCfnPropertyNamesin classCfnResource
-
getDaemonRef
A reference to a Daemon resource.- Specified by:
getDaemonRefin interfaceIDaemonRef
-
getCapacityProviderArns
The Amazon Resource Names (ARNs) of the capacity providers associated with the daemon. -
setCapacityProviderArns
The Amazon Resource Names (ARNs) of the capacity providers associated with the daemon. -
getClusterArn
The Amazon Resource Name (ARN) of the cluster that the daemon is running in. -
setClusterArn
The Amazon Resource Name (ARN) of the cluster that the daemon is running in. -
getDaemonName
-
setDaemonName
-
getDaemonTaskDefinitionArn
The Amazon Resource Name (ARN) of the daemon task definition used by this revision. -
setDaemonTaskDefinitionArn
The Amazon Resource Name (ARN) of the daemon task definition used by this revision. -
getDeploymentConfiguration
Optional deployment parameters that control how a daemon rolls out updates across container instances.Returns union: either
IResolvableorCfnDaemon.DaemonDeploymentConfigurationProperty -
setDeploymentConfiguration
Optional deployment parameters that control how a daemon rolls out updates across container instances. -
setDeploymentConfiguration
@Stability(Stable) public void setDeploymentConfiguration(@Nullable CfnDaemon.DaemonDeploymentConfigurationProperty value) Optional deployment parameters that control how a daemon rolls out updates across container instances. -
getEnableEcsManagedTags
Specifies whether Amazon ECS managed tags are turned on for the daemon tasks.Returns union: either
BooleanorIResolvable -
setEnableEcsManagedTags
Specifies whether Amazon ECS managed tags are turned on for the daemon tasks. -
setEnableEcsManagedTags
Specifies whether Amazon ECS managed tags are turned on for the daemon tasks. -
getEnableExecuteCommand
Specifies whether the execute command functionality is turned on for the daemon tasks.Returns union: either
BooleanorIResolvable -
setEnableExecuteCommand
Specifies whether the execute command functionality is turned on for the daemon tasks. -
setEnableExecuteCommand
Specifies whether the execute command functionality is turned on for the daemon tasks. -
getPropagateTags
Specifies whether tags are propagated from the daemon to the daemon tasks. -
setPropagateTags
Specifies whether tags are propagated from the daemon to the daemon tasks. -
getTags
-
setTags
-