UrlArgs

data class UrlArgs(val authType: Output<UrlAuthType>? = null, val cors: Output<UrlCorsArgs>? = null, val invokeMode: Output<UrlInvokeMode>? = null, val qualifier: Output<String>? = null, val targetFunctionArn: Output<String>? = null) : ConvertibleToJava<UrlArgs>

Resource Type definition for AWS::Lambda::Url

Constructors

Link copied to clipboard
constructor(authType: Output<UrlAuthType>? = null, cors: Output<UrlCorsArgs>? = null, invokeMode: Output<UrlInvokeMode>? = null, qualifier: Output<String>? = null, targetFunctionArn: Output<String>? = null)

Properties

Link copied to clipboard
val authType: Output<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: Output<UrlCorsArgs>? = null

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

Link copied to clipboard
val invokeMode: Output<UrlInvokeMode>? = null

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.

Link copied to clipboard
val qualifier: Output<String>? = null

The alias qualifier for the target function. If TargetFunctionArn is unqualified then Qualifier must be passed.

Link copied to clipboard
val targetFunctionArn: Output<String>? = null

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

Functions

Link copied to clipboard
open override fun toJava(): UrlArgs