Interface CfnCodeDeployLambdaAliasUpdate

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

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:29:54.831Z") @Stability(Stable) public interface CfnCodeDeployLambdaAliasUpdate extends software.amazon.jsii.JsiiSerializable
To perform an AWS CodeDeploy deployment when the version changes on an AWS::Lambda::Alias resource, use the CodeDeployLambdaAliasUpdate update policy.

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.core.*;
 CfnCodeDeployLambdaAliasUpdate cfnCodeDeployLambdaAliasUpdate = CfnCodeDeployLambdaAliasUpdate.builder()
         .applicationName("applicationName")
         .deploymentGroupName("deploymentGroupName")
         // the properties below are optional
         .afterAllowTrafficHook("afterAllowTrafficHook")
         .beforeAllowTrafficHook("beforeAllowTrafficHook")
         .build();
 
  • Method Details

    • getApplicationName

      @Stability(Stable) @NotNull String getApplicationName()
      The name of the AWS CodeDeploy application.
    • getDeploymentGroupName

      @Stability(Stable) @NotNull String getDeploymentGroupName()
      The name of the AWS CodeDeploy deployment group.

      This is where the traffic-shifting policy is set.

    • getAfterAllowTrafficHook

      @Stability(Stable) @Nullable default String getAfterAllowTrafficHook()
      The name of the Lambda function to run after traffic routing completes.
    • getBeforeAllowTrafficHook

      @Stability(Stable) @Nullable default String getBeforeAllowTrafficHook()
      The name of the Lambda function to run before traffic routing starts.
    • builder

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