Interface CfnDaemon.DaemonDeploymentConfigurationProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnDaemon.DaemonDeploymentConfigurationProperty.Jsii$Proxy
- Enclosing class:
CfnDaemon
@Stability(Stable)
public static interface CfnDaemon.DaemonDeploymentConfigurationProperty
extends software.amazon.jsii.JsiiSerializable
Optional deployment parameters that control how a daemon rolls out updates across container instances.
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.*;
DaemonDeploymentConfigurationProperty daemonDeploymentConfigurationProperty = DaemonDeploymentConfigurationProperty.builder()
.alarms(DaemonAlarmConfigurationProperty.builder()
.alarmNames(List.of("alarmNames"))
.enable(false)
.build())
.bakeTimeInMinutes(123)
.drainPercent(123)
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnDaemon.DaemonDeploymentConfigurationPropertystatic final classAn implementation forCfnDaemon.DaemonDeploymentConfigurationProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default ObjectThe CloudWatch alarm configuration for a daemon.default NumberThe amount of time (in minutes) to wait after a successful deployment step before proceeding.default NumberThe percentage of container instances to drain simultaneously during a daemon deployment.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAlarms
The CloudWatch alarm configuration for a daemon.When enabled, CloudWatch alarms determine whether a daemon deployment has failed.
Returns union: either
IResolvableorCfnDaemon.DaemonAlarmConfigurationProperty- See Also:
-
getBakeTimeInMinutes
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.
- See Also:
-
getDrainPercent
The percentage of container instances to drain simultaneously during a daemon deployment.Valid values are between 0.0 and 100.0.
- See Also:
-
builder
-