AWS::Lambda::UrlResource Type definition for AWS::Lambda::Url
5 configurable properties. 2 required. Click a row to see details.
| Property | Type | Flags |
|---|---|---|
AuthType | string | Required |
TargetFunctionArn | string | RequiredCreate-only |
Cors | Cors | |
InvokeMode | string | |
Qualifier | string | Create-only |
Values returned after the resource is created. Access these with Fn::GetAtt.
| Attribute | Type | Description |
|---|---|---|
FunctionArn | string | The full Amazon Resource Name (ARN) of the function associated with the Function URL. |
FunctionUrl | string | The generated url for this resource. |
A minimal template with required properties and common optional ones.
AWSTemplateFormatVersion: "2010-09-09"
Description: Sample template for AWS::Lambda::Url
Resources:
MyResource:
Type: AWS::Lambda::Url
Properties:
TargetFunctionArn: "arn:aws:service:region:account:resource"
AuthType: "AWS_IAM"Permissions CloudFormation needs in your IAM role to manage this resource.
lambda:CreateFunctionUrlConfiglambda:GetFunctionUrlConfiglambda:UpdateFunctionUrlConfiglambda:ListFunctionUrlConfigslambda:DeleteFunctionUrlConfigEverything you need to know about Lambda on one page. HD quality, print-friendly.
Download Free InfographicFunctionArnThese properties cannot be changed after the resource is created. Updating them triggers a replacement.
TargetFunctionArnQualifier