@Stability(value=Stable)
public static interface CfnDeploymentGroup.AlarmConfigurationProperty
extends software.amazon.jsii.JsiiSerializable
AlarmConfiguration is a property of the DeploymentGroup 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.codedeploy.*;
AlarmConfigurationProperty alarmConfigurationProperty = AlarmConfigurationProperty.builder()
.alarms(List.of(AlarmProperty.builder()
.name("name")
.build()))
.enabled(false)
.ignorePollAlarmFailure(false)
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnDeploymentGroup.AlarmConfigurationProperty.Builder
A builder for
CfnDeploymentGroup.AlarmConfigurationProperty |
static class |
CfnDeploymentGroup.AlarmConfigurationProperty.Jsii$Proxy
An implementation for
CfnDeploymentGroup.AlarmConfigurationProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnDeploymentGroup.AlarmConfigurationProperty.Builder |
builder() |
default Object |
getAlarms()
A list of alarms configured for the deployment group.
|
default Object |
getEnabled()
Indicates whether the alarm configuration is enabled.
|
default Object |
getIgnorePollAlarmFailure()
Indicates whether a deployment should continue if information about the current state of alarms cannot be retrieved from Amazon CloudWatch .
|
@Stability(value=Stable) @Nullable default Object getAlarms()
A maximum of 10 alarms can be added to a deployment group.
@Stability(value=Stable) @Nullable default Object getEnabled()
@Stability(value=Stable) @Nullable default Object getIgnorePollAlarmFailure()
The default value is false .
true : The deployment proceeds even if alarm status information can't be retrieved from CloudWatch .false : The deployment stops if alarm status information can't be retrieved from CloudWatch .@Stability(value=Stable) static CfnDeploymentGroup.AlarmConfigurationProperty.Builder builder()
Copyright © 2022. All rights reserved.