GetUrlResult

data class GetUrlResult(val authType: UrlAuthType? = null, val cors: UrlCors? = null, val functionArn: String? = null, val functionUrl: String? = null, val invokeMode: UrlInvokeMode? = null)

Constructors

Link copied to clipboard
constructor(authType: UrlAuthType? = null, cors: UrlCors? = null, functionArn: String? = null, functionUrl: String? = null, invokeMode: UrlInvokeMode? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val authType: UrlAuthType? = null

Can be either AWS_IAM if the requests are authorized via IAM, or NONE if no authorization is configured on the Function URL.

Link copied to clipboard
val cors: UrlCors? = null

The Cross-Origin Resource Sharing (CORS) settings for your function URL.

Link copied to clipboard
val functionArn: String? = null

The full Amazon Resource Name (ARN) of the function associated with the Function URL.

Link copied to clipboard
val functionUrl: String? = null

The generated url for this resource.

Link copied to clipboard

The invocation mode for the function's URL. Set to BUFFERED if you want to buffer responses before returning them to the client. Set to RESPONSE_STREAM if you want to stream responses, allowing faster time to first byte and larger response payload sizes. If not set, defaults to BUFFERED.