Show / Hide Table of Contents

Class CfnCodeDeployBlueGreenLifecycleEventHooks

Lifecycle events for blue-green deployments.

Inheritance
object
CfnCodeDeployBlueGreenLifecycleEventHooks
Implements
ICfnCodeDeployBlueGreenLifecycleEventHooks
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Amazon.CDK
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnCodeDeployBlueGreenLifecycleEventHooks : ICfnCodeDeployBlueGreenLifecycleEventHooks
Syntax (vb)
Public Class CfnCodeDeployBlueGreenLifecycleEventHooks Implements ICfnCodeDeployBlueGreenLifecycleEventHooks
Remarks

The type of the CfnCodeDeployBlueGreenHookProps.lifecycleEventHooks property.

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;

             var cfnCodeDeployBlueGreenLifecycleEventHooks = new CfnCodeDeployBlueGreenLifecycleEventHooks {
                 AfterAllowTestTraffic = "afterAllowTestTraffic",
                 AfterAllowTraffic = "afterAllowTraffic",
                 AfterInstall = "afterInstall",
                 BeforeAllowTraffic = "beforeAllowTraffic",
                 BeforeInstall = "beforeInstall"
             };

Synopsis

Constructors

CfnCodeDeployBlueGreenLifecycleEventHooks()

Lifecycle events for blue-green deployments.

Properties

AfterAllowTestTraffic

Function to use to run tasks after the test listener serves traffic to the replacement task set.

AfterAllowTraffic

Function to use to run tasks after the second target group serves traffic to the replacement task set.

AfterInstall

Function to use to run tasks after the replacement task set is created and one of the target groups is associated with it.

BeforeAllowTraffic

Function to use to run tasks after the second target group is associated with the replacement task set, but before traffic is shifted to the replacement task set.

BeforeInstall

Function to use to run tasks before the replacement task set is created.

Constructors

CfnCodeDeployBlueGreenLifecycleEventHooks()

Lifecycle events for blue-green deployments.

public CfnCodeDeployBlueGreenLifecycleEventHooks()
Remarks

The type of the CfnCodeDeployBlueGreenHookProps.lifecycleEventHooks property.

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;

             var cfnCodeDeployBlueGreenLifecycleEventHooks = new CfnCodeDeployBlueGreenLifecycleEventHooks {
                 AfterAllowTestTraffic = "afterAllowTestTraffic",
                 AfterAllowTraffic = "afterAllowTraffic",
                 AfterInstall = "afterInstall",
                 BeforeAllowTraffic = "beforeAllowTraffic",
                 BeforeInstall = "beforeInstall"
             };

Properties

AfterAllowTestTraffic

Function to use to run tasks after the test listener serves traffic to the replacement task set.

public string? AfterAllowTestTraffic { get; set; }
Property Value

string

Remarks

Default: - none

AfterAllowTraffic

Function to use to run tasks after the second target group serves traffic to the replacement task set.

public string? AfterAllowTraffic { get; set; }
Property Value

string

Remarks

Default: - none

AfterInstall

Function to use to run tasks after the replacement task set is created and one of the target groups is associated with it.

public string? AfterInstall { get; set; }
Property Value

string

Remarks

Default: - none

BeforeAllowTraffic

Function to use to run tasks after the second target group is associated with the replacement task set, but before traffic is shifted to the replacement task set.

public string? BeforeAllowTraffic { get; set; }
Property Value

string

Remarks

Default: - none

BeforeInstall

Function to use to run tasks before the replacement task set is created.

public string? BeforeInstall { get; set; }
Property Value

string

Remarks

Default: - none

Implements

ICfnCodeDeployBlueGreenLifecycleEventHooks
Back to top Generated by DocFX