Class QualifiedFunctionBase

All Implemented Interfaces:
IConstruct, IDependable, IResource, IClientVpnConnectionHandler, IConnectable, IGrantable, IFunction,, software.constructs.IConstruct
Direct Known Subclasses:
Alias, Version

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:30:40.810Z") @Stability(Stable) public abstract class QualifiedFunctionBase extends FunctionBase
  • Constructor Details

    • QualifiedFunctionBase

      protected QualifiedFunctionBase( objRef)
    • QualifiedFunctionBase

      protected QualifiedFunctionBase( initializationMode)
    • QualifiedFunctionBase

      @Stability(Stable) protected QualifiedFunctionBase(@NotNull software.constructs.Construct scope, @NotNull String id, @Nullable ResourceProps props)
      scope - This parameter is required.
      id - This parameter is required.
      props -
    • QualifiedFunctionBase

      @Stability(Stable) protected QualifiedFunctionBase(@NotNull software.constructs.Construct scope, @NotNull String id)
      scope - This parameter is required.
      id - This parameter is required.
  • Method Details

    • configureAsyncInvoke

      @Stability(Stable) public void configureAsyncInvoke(@NotNull EventInvokeConfigOptions options)
      Configures options for asynchronous invocation.

      Specified by:
      configureAsyncInvoke in interface IFunction
      configureAsyncInvoke in class FunctionBase
      options - This parameter is required.
    • considerWarningOnInvokeFunctionPermissions

      @Stability(Stable) public void considerWarningOnInvokeFunctionPermissions(@NotNull Construct _scope, @NotNull String _action)
      A warning will be added to functions under the following conditions: - permissions that include lambda:InvokeFunction are added to the unqualified function.

      • function.currentVersion is invoked before or after the permission is created.

      This applies only to permissions on Lambda functions, not versions or aliases. This function is overridden as a noOp for QualifiedFunctionBase.

      considerWarningOnInvokeFunctionPermissions in class FunctionBase
      _scope - This parameter is required.
      _action - This parameter is required.
    • getLambda

      @Stability(Stable) @NotNull public abstract IFunction getLambda()
    • getLatestVersion

      @Stability(Stable) @NotNull public IVersion getLatestVersion()
      The $LATEST version of this function.

      Note that this is reference to a non-specific AWS Lambda version, which means the function this version refers to can return different results in different invocations.

      To obtain a reference to an explicit version which references the current function configuration, use lambdaFunction.currentVersion instead.

      Specified by:
      getLatestVersion in interface IFunction
      getLatestVersion in class FunctionBase
    • getPermissionsNode

      @Stability(Stable) @NotNull public ConstructNode getPermissionsNode()
      The construct node where permissions are attached.
      Specified by:
      getPermissionsNode in interface IFunction
      Specified by:
      getPermissionsNode in class FunctionBase
    • getQualifier

      @Stability(Stable) @NotNull protected abstract String getQualifier()
      The qualifier of the version or alias of this function.

      A qualifier is the identifier that's appended to a version or alias ARN.

      See Also:
    • getResourceArnsForGrantInvoke

      @Stability(Stable) @NotNull public List<String> getResourceArnsForGrantInvoke()
      The ARN(s) to put into the resource field of the generated IAM policy for grantInvoke().
      Specified by:
      getResourceArnsForGrantInvoke in interface IFunction
      Specified by:
      getResourceArnsForGrantInvoke in class FunctionBase