Show / Hide Table of Contents

Class CfnDeploymentGroup.AlarmConfigurationProperty

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

Inheritance
object
CfnDeploymentGroup.AlarmConfigurationProperty
Implements
CfnDeploymentGroup.IAlarmConfigurationProperty
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Amazon.CDK.AWS.CodeDeploy
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnDeploymentGroup.AlarmConfigurationProperty : CfnDeploymentGroup.IAlarmConfigurationProperty
Syntax (vb)
Public Class CfnDeploymentGroup.AlarmConfigurationProperty Implements 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

Constructors

AlarmConfigurationProperty()

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

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 .

Constructors

AlarmConfigurationProperty()

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

public AlarmConfigurationProperty()
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
             };

Properties

Alarms

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

public object? Alarms { get; set; }
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.

public object? Enabled { get; set; }
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 .

public object? IgnorePollAlarmFailure { get; set; }
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

    Implements

    CfnDeploymentGroup.IAlarmConfigurationProperty
    Back to top Generated by DocFX