Show / Hide Table of Contents

Interface CfnDeploymentGroup.IAlarmConfigurationProperty

The AlarmConfiguration property type configures CloudWatch alarms for an AWS CodeDeploy deployment group.

Namespace: Amazon.CDK.AWS.CodeDeploy
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface CfnDeploymentGroup.IAlarmConfigurationProperty
Syntax (vb)
Public Interface CfnDeploymentGroup.IAlarmConfigurationProperty
Remarks

AlarmConfiguration is a property of the DeploymentGroup resource.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codedeploy-deploymentgroup-alarmconfiguration.html

ExampleMetadata: fixture=_generated

Examples
// The code below shows an example of how to instantiate this type.
             // The values are placeholders you should change.
             using Amazon.CDK.AWS.CodeDeploy;

             var alarmConfigurationProperty = new AlarmConfigurationProperty {
                 Alarms = new [] { new AlarmProperty {
                     Name = "name"
                 } },
                 Enabled = false,
                 IgnorePollAlarmFailure = false
             };

Synopsis

Properties

Alarms

A list of alarms configured for the deployment or deployment group.

Enabled

Indicates whether the alarm configuration is enabled.

IgnorePollAlarmFailure

Indicates whether a deployment should continue if information about the current state of alarms cannot be retrieved from Amazon CloudWatch .

Properties

Alarms

A list of alarms configured for the deployment or deployment group.

object? Alarms { get; }
Property Value

object

Remarks

A maximum of 10 alarms can be added.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codedeploy-deploymentgroup-alarmconfiguration.html#cfn-codedeploy-deploymentgroup-alarmconfiguration-alarms

Type union: either IResolvable or (either IResolvable or CfnDeploymentGroup.IAlarmProperty)[]

Enabled

Indicates whether the alarm configuration is enabled.

object? Enabled { get; }
Property Value

object

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codedeploy-deploymentgroup-alarmconfiguration.html#cfn-codedeploy-deploymentgroup-alarmconfiguration-enabled

Type union: either bool or IResolvable

IgnorePollAlarmFailure

Indicates whether a deployment should continue if information about the current state of alarms cannot be retrieved from Amazon CloudWatch .

object? IgnorePollAlarmFailure { get; }
Property Value

object

Remarks

The default value is false .

    See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codedeploy-deploymentgroup-alarmconfiguration.html#cfn-codedeploy-deploymentgroup-alarmconfiguration-ignorepollalarmfailure

    Type union: either bool or IResolvable

    Back to top Generated by DocFX