Package software.amazon.awscdk
Interface CfnCodeDeployBlueGreenLifecycleEventHooks
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnCodeDeployBlueGreenLifecycleEventHooks.Jsii$Proxy
@Generated(value="jsii-pacmak/1.119.0 (build 1634eac)",
date="2025-11-20T23:37:13.001Z")
@Stability(Stable)
public interface CfnCodeDeployBlueGreenLifecycleEventHooks
extends software.amazon.jsii.JsiiSerializable
Lifecycle events for blue-green deployments.
The type of the CfnCodeDeployBlueGreenHookProps.lifecycleEventHooks property.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.*;
CfnCodeDeployBlueGreenLifecycleEventHooks cfnCodeDeployBlueGreenLifecycleEventHooks = CfnCodeDeployBlueGreenLifecycleEventHooks.builder()
.afterAllowTestTraffic("afterAllowTestTraffic")
.afterAllowTraffic("afterAllowTraffic")
.afterInstall("afterInstall")
.beforeAllowTraffic("beforeAllowTraffic")
.beforeInstall("beforeInstall")
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnCodeDeployBlueGreenLifecycleEventHooksstatic final classAn implementation forCfnCodeDeployBlueGreenLifecycleEventHooks -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default StringFunction to use to run tasks after the test listener serves traffic to the replacement task set.default StringFunction to use to run tasks after the second target group serves traffic to the replacement task set.default StringFunction to use to run tasks after the replacement task set is created and one of the target groups is associated with it.default StringFunction 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.default StringFunction to use to run tasks before the replacement task set is created.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAfterAllowTestTraffic
Function to use to run tasks after the test listener serves traffic to the replacement task set.Default: - none
-
getAfterAllowTraffic
Function to use to run tasks after the second target group serves traffic to the replacement task set.Default: - none
-
getAfterInstall
Function to use to run tasks after the replacement task set is created and one of the target groups is associated with it.Default: - none
-
getBeforeAllowTraffic
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.Default: - none
-
getBeforeInstall
Function to use to run tasks before the replacement task set is created.Default: - none
-
builder
-