Interface CfnDaemonProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnDaemonProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.130.0 (build 048a5ee)",
date="2026-05-20T12:39:45.789Z")
@Stability(Stable)
public interface CfnDaemonProps
extends software.amazon.jsii.JsiiSerializable
Properties for defining a
CfnDaemon.
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.*;
CfnDaemonProps cfnDaemonProps = CfnDaemonProps.builder()
.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 TypeInterfaceDescriptionstatic final classA builder forCfnDaemonPropsstatic final classAn implementation forCfnDaemonProps -
Method Summary
Modifier and TypeMethodDescriptionstatic CfnDaemonProps.Builderbuilder()The Amazon Resource Names (ARNs) of the capacity providers associated with the daemon.default StringThe Amazon Resource Name (ARN) of the cluster that the daemon is running in.default Stringdefault StringThe Amazon Resource Name (ARN) of the daemon task definition used by this revision.default ObjectOptional deployment parameters that control how a daemon rolls out updates across container instances.default ObjectSpecifies whether Amazon ECS managed tags are turned on for the daemon tasks.default ObjectSpecifies whether the execute command functionality is turned on for the daemon tasks.default StringSpecifies whether tags are propagated from the daemon to the daemon tasks.getTags()Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getCapacityProviderArns
The Amazon Resource Names (ARNs) of the capacity providers associated with the daemon.- See Also:
-
getClusterArn
The Amazon Resource Name (ARN) of the cluster that the daemon is running in.- See Also:
-
getDaemonName
- See Also:
-
getDaemonTaskDefinitionArn
The Amazon Resource Name (ARN) of the daemon task definition used by this revision.- See Also:
-
getDeploymentConfiguration
Optional deployment parameters that control how a daemon rolls out updates across container instances.Returns union: either
IResolvableorCfnDaemon.DaemonDeploymentConfigurationProperty- See Also:
-
getEnableEcsManagedTags
Specifies whether Amazon ECS managed tags are turned on for the daemon tasks.Returns union: either
BooleanorIResolvable- See Also:
-
getEnableExecuteCommand
Specifies whether the execute command functionality is turned on for the daemon tasks.Returns union: either
BooleanorIResolvable- See Also:
-
getPropagateTags
Specifies whether tags are propagated from the daemon to the daemon tasks.- See Also:
-
getTags
- See Also:
-
builder
- Returns:
- a
CfnDaemonProps.BuilderofCfnDaemonProps
-