class
Amazonite::Lambda::FunctionUrlConfig
- Amazonite::Lambda::FunctionUrlConfig
- Reference
- Object
Overview
Details about a Lambda function URL.
Included Modules
- JSON::Serializable
Defined in:
lambda/function_url_config.crConstructors
- .new(function_url : String, function_arn : String, creation_time : String, last_modified_time : String, auth_type : FunctionUrlAuthType, cors : Cors | Nil = nil, invoke_mode : InvokeMode | Nil = nil)
- .new(pull : JSON::PullParser)
- .new(*, __pull_for_json_serializable pull : JSON::PullParser)
Instance Method Summary
-
#==(other : self)
Returns
trueif this reference is the same as other. -
#auth_type : FunctionUrlAuthType
The type of authentication that your function URL uses.
-
#auth_type=(auth_type : FunctionUrlAuthType)
The type of authentication that your function URL uses.
-
#cors : Cors | Nil
The cross-origin resource sharing (CORS) settings for your function URL.
-
#cors=(cors : Cors | Nil)
The cross-origin resource sharing (CORS) settings for your function URL.
-
#creation_time : String
When the function URL was created, in ISO-8601 format (YYYY-MM-DDThh:mm:ss.sTZD).
-
#creation_time=(creation_time : String)
When the function URL was created, in ISO-8601 format (YYYY-MM-DDThh:mm:ss.sTZD).
-
#function_arn : String
The Amazon Resource Name (ARN) of your function.
-
#function_arn=(function_arn : String)
The Amazon Resource Name (ARN) of your function.
-
#function_url : String
The HTTP URL endpoint for your function.
-
#function_url=(function_url : String)
The HTTP URL endpoint for your function.
-
#hash(hasher)
See
Object#hash(hasher) -
#invoke_mode : InvokeMode | Nil
Use one of the following options:
-
#invoke_mode=(invoke_mode : InvokeMode | Nil)
Use one of the following options:
-
#last_modified_time : String
When the function URL configuration was last updated, in ISO-8601 format (YYYY-MM-DDThh:mm:ss.sTZD).
-
#last_modified_time=(last_modified_time : String)
When the function URL configuration was last updated, in ISO-8601 format (YYYY-MM-DDThh:mm:ss.sTZD).
- #validate! : Nil
Constructor Detail
Instance Method Detail
Returns true if this reference is the same as other. Invokes same?.
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.
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.
The cross-origin resource sharing (CORS) settings for your function URL.
The cross-origin resource sharing (CORS) settings for your function URL.
When the function URL was created, in ISO-8601 format (YYYY-MM-DDThh:mm:ss.sTZD).
When the function URL was created, in ISO-8601 format (YYYY-MM-DDThh:mm:ss.sTZD).
Use one of the following options:
-
BUFFERED– This is the default option. Lambda invokes your function using theInvokeAPI 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 theInvokeWithResponseStreamAPI operation. The maximum response payload size is 200 MB.
Use one of the following options:
-
BUFFERED– This is the default option. Lambda invokes your function using theInvokeAPI 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 theInvokeWithResponseStreamAPI operation. The maximum response payload size is 200 MB.
When the function URL configuration was last updated, in ISO-8601 format (YYYY-MM-DDThh:mm:ss.sTZD).
When the function URL configuration was last updated, in ISO-8601 format (YYYY-MM-DDThh:mm:ss.sTZD).