Interface CfnCodeDeployLambdaAliasUpdate

All Superinterfaces:
All Known Implementing Classes:

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


 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 CfnCodeDeployLambdaAliasUpdate cfnCodeDeployLambdaAliasUpdate = CfnCodeDeployLambdaAliasUpdate.builder()
         // the properties below are optional
  • 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()
      a CfnCodeDeployLambdaAliasUpdate.Builder of CfnCodeDeployLambdaAliasUpdate