Interface ICfnCodeDeployBlueGreenLifecycleEventHooks
Lifecycle events for blue-green deployments.
public interface ICfnCodeDeployBlueGreenLifecycleEventHooks
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"
};
Remarks
The type of the {@link CfnCodeDeployBlueGreenHookProps.lifecycleEventHooks} property.
ExampleMetadata: fixture=_generated
Properties
AfterAllowTestTraffic
Function to use to run tasks after the test listener serves traffic to the replacement task set.
string? AfterAllowTestTraffic { get; }
Property Value
Remarks
Default: - none
AfterAllowTraffic
Function to use to run tasks after the second target group serves traffic to the replacement task set.
string? AfterAllowTraffic { get; }
Property Value
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.
string? AfterInstall { get; }
Property Value
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.
string? BeforeAllowTraffic { get; }
Property Value
Remarks
Default: - none
BeforeInstall
Function to use to run tasks before the replacement task set is created.
string? BeforeInstall { get; }
Property Value
Remarks
Default: - none