Class CfnUrlProps.Jsii$Proxy

java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.lambda.CfnUrlProps.Jsii$Proxy
All Implemented Interfaces:
CfnUrlProps, software.amazon.jsii.JsiiSerializable
Enclosing interface:
CfnUrlProps

@Stability(Stable) @Internal public static final class CfnUrlProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CfnUrlProps
An implementation for CfnUrlProps
  • Constructor Details

    • Jsii$Proxy

      protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
      Constructor that initializes the object based on values retrieved from the JsiiObject.
      Parameters:
      objRef - Reference to the JSII managed object.
    • Jsii$Proxy

      protected Jsii$Proxy(CfnUrlProps.Builder builder)
      Constructor that initializes the object based on literal property values passed by the CfnUrlProps.Builder.
  • Method Details

    • getAuthType

      public final String getAuthType()
      Description copied from interface: CfnUrlProps
      The type of authentication that your function URL uses.

      Set to AWS_IAM if you want to restrict access to authenticated users only. Set to NONE if you want to bypass IAM authentication to create a public endpoint. For more information, see Security and auth model for Lambda function URLs .

      Specified by:
      getAuthType in interface CfnUrlProps
    • getTargetFunctionArn

      public final String getTargetFunctionArn()
      Description copied from interface: CfnUrlProps
      The name of the Lambda function.

      Name formats - Function name - my-function .

      • Function ARN - arn:aws:lambda:us-west-2:123456789012:function:my-function .
      • Partial ARN - 123456789012:function:my-function .

      The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.

      Specified by:
      getTargetFunctionArn in interface CfnUrlProps
    • getCors

      public final Object getCors()
      Description copied from interface: CfnUrlProps
      The Cross-Origin Resource Sharing (CORS) settings for your function URL.
      Specified by:
      getCors in interface CfnUrlProps
    • getInvokeMode

      public final String getInvokeMode()
      Description copied from interface: CfnUrlProps
      Use one of the following options:.

      • BUFFERED – This is the default option. Lambda invokes your function using the Invoke API operation. Invocation results are available when the payload is complete. The maximum payload size is 6 MB.
      • RESPONSE_STREAM – Your function streams payload results as they become available. Lambda invokes your function using the InvokeWithResponseStream API operation. The maximum response payload size is 20 MB, however, you can request a quota increase .
      Specified by:
      getInvokeMode in interface CfnUrlProps
    • getQualifier

      public final String getQualifier()
      Description copied from interface: CfnUrlProps
      The alias name.
      Specified by:
      getQualifier in interface CfnUrlProps
    • $jsii$toJson

      @Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
      Specified by:
      $jsii$toJson in interface software.amazon.jsii.JsiiSerializable
    • equals

      public final boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public final int hashCode()
      Overrides:
      hashCode in class Object