Show / Hide Table of Contents

Interface CfnDeploymentGroup.IAutoRollbackConfigurationProperty

The AutoRollbackConfiguration property type configures automatic rollback for an AWS CodeDeploy deployment group when a deployment is not completed successfully.

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

For more information, see Automatic Rollbacks in the AWS CodeDeploy User Guide .

AutoRollbackConfiguration is a property of the DeploymentGroup resource.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codedeploy-deploymentgroup-autorollbackconfiguration.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 autoRollbackConfigurationProperty = new AutoRollbackConfigurationProperty {
                 Enabled = false,
                 Events = new [] { "events" }
             };

Synopsis

Properties

Enabled

Indicates whether a defined automatic rollback configuration is currently enabled.

Events

The event type or types that trigger a rollback.

Properties

Enabled

Indicates whether a defined automatic rollback configuration is currently enabled.

object? Enabled { get; }
Property Value

object

Remarks

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

Type union: either bool or IResolvable

Events

The event type or types that trigger a rollback.

string[]? Events { get; }
Property Value

string[]

Remarks

Valid values are DEPLOYMENT_FAILURE , DEPLOYMENT_STOP_ON_ALARM , or DEPLOYMENT_STOP_ON_REQUEST .

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

Back to top Generated by DocFX