Package software.amazon.awscdk.core
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();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnCodeDeployLambdaAliasUpdate
static final class
An implementation forCfnCodeDeployLambdaAliasUpdate
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
default String
The name of the Lambda function to run after traffic routing completes.The name of the AWS CodeDeploy application.default String
The name of the Lambda function to run before traffic routing starts.The name of the AWS CodeDeploy deployment group.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getApplicationName
The name of the AWS CodeDeploy application. -
getDeploymentGroupName
The name of the AWS CodeDeploy deployment group.This is where the traffic-shifting policy is set.
-
getAfterAllowTrafficHook
The name of the Lambda function to run after traffic routing completes. -
getBeforeAllowTrafficHook
The name of the Lambda function to run before traffic routing starts. -
builder
-