Interface CfnCodeDeployBlueGreenLifecycleEventHooks

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnCodeDeployBlueGreenLifecycleEventHooks.Jsii$Proxy

@Generated(value="jsii-pacmak/1.97.0 (build 729de35)", date="2024-04-18T17:54:11.320Z") @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();
 
  • Method Details

    • getAfterAllowTestTraffic

      @Stability(Stable) @Nullable default String getAfterAllowTestTraffic()
      Function to use to run tasks after the test listener serves traffic to the replacement task set.

      Default: - none

    • getAfterAllowTraffic

      @Stability(Stable) @Nullable default String getAfterAllowTraffic()
      Function to use to run tasks after the second target group serves traffic to the replacement task set.

      Default: - none

    • getAfterInstall

      @Stability(Stable) @Nullable default String 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

      @Stability(Stable) @Nullable default String 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

      @Stability(Stable) @Nullable default String getBeforeInstall()
      Function to use to run tasks before the replacement task set is created.

      Default: - none

    • builder

      @Stability(Stable) static CfnCodeDeployBlueGreenLifecycleEventHooks.Builder builder()
      Returns:
      a CfnCodeDeployBlueGreenLifecycleEventHooks.Builder of CfnCodeDeployBlueGreenLifecycleEventHooks