url
Gets an individual url
resource
Overview
Name | url |
Type | Resource |
Description | url |
Id | awscc.lambda.url |
Fields
Name | Datatype | Description |
---|---|---|
target_function_arn | string | The Amazon Resource Name (ARN) of the function associated with the Function URL. |
qualifier | string | The alias qualifier for the target function. If TargetFunctionArn is unqualified then Qualifier must be passed. |
auth_type | string | Can be either AWS_IAM if the requests are authorized via IAM, or NONE if no authorization is configured on the Function URL. |
invoke_mode | string | 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. |
function_arn | string | The full Amazon Resource Name (ARN) of the function associated with the Function URL. |
function_url | string | The generated url for this resource. |
cors | object | |
region | string | AWS region. |
Methods
Currently only SELECT
is supported for this resource resource.
Example
SELECT
region,
target_function_arn,
qualifier,
auth_type,
invoke_mode,
function_arn,
function_url,
cors
FROM awscc.lambda.url
WHERE data__Identifier = '<FunctionArn>';
Permissions
To operate on the url
resource, the following permissions are required:
Read
lambda:GetFunctionUrlConfig
Update
lambda:UpdateFunctionUrlConfig
Delete
lambda:DeleteFunctionUrlConfig