---
# generated by https://github.com/hashicorp/terraform-plugin-docs
page_title: "awscc_lambda_url Resource - terraform-provider-awscc"
subcategory: ""
description: |-
Resource Type definition for AWS::Lambda::Url
---
# awscc_lambda_url (Resource)
Resource Type definition for AWS::Lambda::Url
## Schema
### Required
- `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.
- `target_function_arn` (String) The Amazon Resource Name (ARN) of the function associated with the Function URL.
### Optional
- `cors` (Attributes) (see [below for nested schema](#nestedatt--cors))
- `qualifier` (String) The alias qualifier for the target function. If TargetFunctionArn is unqualified then Qualifier must be passed.
### Read-Only
- `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.
- `id` (String) Uniquely identifies the resource.
### Nested Schema for `cors`
Optional:
- `allow_credentials` (Boolean) Specifies whether credentials are included in the CORS request.
- `allow_headers` (List of String) Represents a collection of allowed headers.
- `allow_methods` (List of String) Represents a collection of allowed HTTP methods.
- `allow_origins` (List of String) Represents a collection of allowed origins.
- `expose_headers` (List of String) Represents a collection of exposed headers.
- `max_age` (Number)
## Import
Import is supported using the following syntax:
```shell
$ terraform import awscc_lambda_url.example
```