Interface IVersion

All Superinterfaces:
IConnectable, software.constructs.IConstruct, software.constructs.IDependable, IFunction, IGrantable, IResource, software.amazon.jsii.JsiiSerializable
All Known Subinterfaces:
IVersion.Jsii$Default
All Known Implementing Classes:
EdgeFunction, IVersion.Jsii$Proxy, Version

@Generated(value="jsii-pacmak/1.98.0 (build 00b106d)", date="2024-05-24T02:42:40.199Z") @Stability(Stable) public interface IVersion extends software.amazon.jsii.JsiiSerializable, IFunction
  • Method Details

    • getEdgeArn

      @Stability(Stable) @NotNull String getEdgeArn()
      The ARN of the version for Lambda@Edge.
    • getLambda

      @Stability(Stable) @NotNull IFunction getLambda()
      The underlying AWS Lambda function.
    • getVersion

      @Stability(Stable) @NotNull String getVersion()
      The most recently deployed version of this function.
    • addAlias

      @Stability(Deprecated) @Deprecated @NotNull Alias addAlias(@NotNull String aliasName, @Nullable AliasOptions options)
      Deprecated.
      Calling addAlias on a Version object will cause the Alias to be replaced on every function update. Call function.addAlias() or new Alias() instead.
      (deprecated) Defines an alias for this version.

      Parameters:
      aliasName - The name of the alias. This parameter is required.
      options - Alias options.
    • addAlias

      @Stability(Deprecated) @Deprecated @NotNull Alias addAlias(@NotNull String aliasName)
      Deprecated.
      Calling addAlias on a Version object will cause the Alias to be replaced on every function update. Call function.addAlias() or new Alias() instead.
      (deprecated) Defines an alias for this version.

      Parameters:
      aliasName - The name of the alias. This parameter is required.