All Implemented Interfaces:
IResource, IClientVpnConnectionHandler, IConnectable, IGrantable, IAlias, IFunction,, software.constructs.IConstruct, software.constructs.IDependable

@Generated(value="jsii-pacmak/1.94.0 (build b380f01)", date="2024-02-23T02:06:34.419Z") @Stability(Stable) public class Alias extends QualifiedFunctionBase implements IAlias
A new alias to a particular version of a Lambda function.


 CfnParametersCode lambdaCode = Code.fromCfnParameters();
 Function func = Function.Builder.create(this, "Lambda")
 // used to make sure each CDK synthesis produces a different Version
 Version version = func.getCurrentVersion();
 Alias alias = Alias.Builder.create(this, "LambdaAlias")
 LambdaDeploymentGroup.Builder.create(this, "DeploymentGroup")
  • Constructor Details

    • Alias

      protected Alias( objRef)
    • Alias

      protected Alias( initializationMode)
    • Alias

      @Stability(Stable) public Alias(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull AliasProps props)
      scope - This parameter is required.
      id - This parameter is required.
      props - This parameter is required.
  • Method Details