Interface IFunctionUrl

All Superinterfaces:
IConstruct, software.constructs.IConstruct, IDependable, IResource, software.amazon.jsii.JsiiSerializable
All Known Subinterfaces:
IFunctionUrl.Jsii$Default
All Known Implementing Classes:
FunctionUrl, IFunctionUrl.Jsii$Proxy

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:30:40.789Z") @Stability(Stable) public interface IFunctionUrl extends software.amazon.jsii.JsiiSerializable, IResource
A Lambda function Url.
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static interface 
    Internal default implementation for IFunctionUrl.
    static final class 
    A proxy class which represents a concrete javascript instance of this type.
  • Method Summary

    Modifier and Type
    Method
    Description
    The ARN of the function this URL refers to.
    The url of the Lambda function.
    Grant the given identity permissions to invoke this Lambda Function URL.

    Methods inherited from interface software.amazon.awscdk.core.IConstruct

    getNode

    Methods inherited from interface software.amazon.awscdk.core.IResource

    applyRemovalPolicy, getEnv, getStack

    Methods inherited from interface software.amazon.jsii.JsiiSerializable

    $jsii$toJson
  • Method Details

    • getFunctionArn

      @Stability(Stable) @NotNull String getFunctionArn()
      The ARN of the function this URL refers to.
    • getUrl

      @Stability(Stable) @NotNull String getUrl()
      The url of the Lambda function.
    • grantInvokeUrl

      @Stability(Stable) @NotNull Grant grantInvokeUrl(@NotNull IGrantable identity)
      Grant the given identity permissions to invoke this Lambda Function URL.

      Parameters:
      identity - This parameter is required.