AWS Lambda
AWS Lambda configuration
Type: aws-lambda-configuration
Properties
| Name | Type | Description | Required |
|---|---|---|---|
| setup | object | no | |
| runtime | object | no | |
| concurrency | object | Default: {"reserved_concurrency_type":"unreserved","provisioned_concurrency_type":"unprovisioned"} | no |
Additional Properties: not allowed
Example
{
"setup": {
"role_arn": "arn:aws:iam::123456789012:role/lambda-role",
"certificate_arn": "arn:aws:acm:us-east-1:123456789012:certificate/12345678-1234-1234-1234-123456789012",
"enable_endpoint": true
},
"runtime": {
"available_layers": []
},
"concurrency": {
"reserved_concurrency_type": "unreserved",
"provisioned_concurrency_type": "unprovisioned"
}
}
setup: Setup
Properties
| Name | Type | Description | Required |
|---|---|---|---|
| role_arn | string | ARN of the role to use for the function Pattern: ^arn:aws:iam::\d{12}:role/[a-zA-Z0-9+=,.@\-_/]+$ | no |
| certificate_arn | string | ARN of the certificate to use for the function Pattern: ^arn:aws:acm:[a-z\-]+-\d:\d{12}:certificate/[a-zA-Z0-9+=,.@\-_/]+$ | no |
| enable_endpoint | boolean | Whether to create an endpoint domain. If true, a certificate ARN is required. Default: true | no |
No properties.
IF object
- has properties, where
property enable_endpoint istrue
THEN
Required Properties:
- certificate_arn
Example
{
"role_arn": "arn:aws:iam::123456789012:role/lambda-role",
"certificate_arn": "arn:aws:acm:us-east-1:123456789012:certificate/12345678-1234-1234-1234-123456789012",
"enable_endpoint": true
}
runtime: Runtime
Properties
| Name | Type | Description | Required |
|---|---|---|---|
| available_layers | string[] | Lambda layer ARNs to make available for developers to select when creating scopes. These layers are optional and only applied to functions when explicitly selected during scope creation. Default: |
Example
{
"available_layers": []
}
runtime.available_layers[]: Available Layers
Lambda layer ARNs to make available for developers to select when creating scopes. These layers are optional and only applied to functions when explicitly selected during scope creation.
Items
Item Type: string
Item Pattern: ^arn:aws:lambda:[a-z\-]+-\d:\d{12}:layer:[a-zA-Z0-9+=,.@\-_/]+:\d+$
concurrency: Concurrency
Properties
| Name | Type | Description | Required |
|---|---|---|---|
| reserved_concurrency_type | string | Type of concurrency configuration for the Lambda function Default: "unreserved" | |
| reserved_concurrency_value (Reserved Concurrent Executions) | integer | Number of concurrent executions to reserve for this function. Only applicable when type is 'reserved'. Minimum: 1Maximum: 1000 | |
| provisioned_concurrency_type | string | Type of provisioned concurrency configuration for the Lambda function Default: "unprovisioned" | |
| provisioned_concurrency_value (Provisioned Concurrency) | integer | Number provisioned concurrency for this function. Only applicable when type is 'provisioned'. |
No properties.
IF object
- has properties, where
property reserved_concurrency_type isreserved
THEN
Required Properties:
- reserved_concurrency_value
No properties.
IF object
- has properties, where
property reserved_concurrency_type isprovisioned
THEN
Required Properties:
- provisioned_concurrency_value
Example
{
"reserved_concurrency_type": "unreserved",
"provisioned_concurrency_type": "unprovisioned"
}