@awsless/awsless 0.0.581 → 0.0.582
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/app.json +1 -1
- package/dist/bin.js +22 -19
- package/dist/build-json-schema.js +21 -19
- package/dist/prebuild/icon/bundle.zip +0 -0
- package/dist/prebuild/image/bundle.zip +0 -0
- package/dist/prebuild/rpc/HASH +1 -1
- package/dist/prebuild/rpc/bundle.zip +0 -0
- package/dist/prebuild.js +1 -0
- package/dist/server.d.ts +4 -4
- package/dist/server.js +3 -2
- package/dist/stack.json +1 -1
- package/package.json +13 -13
package/dist/app.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"$ref":"#/definitions/app","definitions":{"app":{"type":"object","properties":{"$schema":{"type":"string"},"name":{"type":"string","minLength":3,"maxLength":24,"pattern":"^[a-z0-9\\-]+$","description":"App name.","markdownDescription":"App name."},"region":{"type":"string","enum":["us-east-2","us-east-1","us-west-1","us-west-2","af-south-1","ap-east-1","ap-south-2","ap-southeast-3","ap-southeast-4","ap-south-1","ap-northeast-3","ap-northeast-2","ap-southeast-1","ap-southeast-2","ap-northeast-1","ca-central-1","eu-central-1","eu-west-1","eu-west-2","eu-south-1","eu-west-3","eu-south-2","eu-north-1","eu-central-2","me-south-1","me-central-1","sa-east-1"],"description":"The AWS region to deploy to.","markdownDescription":"The AWS region to deploy to."},"profile":{"type":"string","description":"The AWS profile to deploy to.","markdownDescription":"The AWS profile to deploy to."},"protect":{"type":"boolean","default":false,"description":"Protect your app & stacks from being deleted.\n\n@default false","markdownDescription":"Protect your app & stacks from being deleted.\n\n@default ```false```"},"removal":{"type":"string","enum":["remove","retain"],"default":"remove","description":"Configure how your resources are handled when they have to be removed.\n\nremove: Removes the underlying resource.\nretain: Retains resources like S3 stores and DynamoDB tables. Removes everything else.\n\n@default \"remove\"","markdownDescription":"Configure how your resources are handled when they have to be removed.\n\nremove: Removes the underlying resource.\nretain: Retains resources like S3 stores and DynamoDB tables. Removes everything else.\n\n@default ```\"remove\"```"},"defaults":{"type":"object","properties":{"onFailure":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"object","properties":{"nocheck":{"type":"string","description":"Specifies a local file without checking if the file exists.","markdownDescription":"Specifies a local file without checking if the file exists."}},"required":["nocheck"],"additionalProperties":false}]},{"type":"object","properties":{"code":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"object","properties":{"nocheck":{"type":"string","description":"Specifies a local file without checking if the file exists.","markdownDescription":"Specifies a local file without checking if the file exists."}},"required":["nocheck"],"additionalProperties":false}]},{"type":"object","properties":{"file":{"anyOf":[{"type":"string"},{"type":"object","properties":{"nocheck":{"type":"string","description":"Specifies a local file without checking if the file exists.","markdownDescription":"Specifies a local file without checking if the file exists."}},"required":["nocheck"],"additionalProperties":false}],"description":"The file path of the function code.","markdownDescription":"The file path of the function code."},"minify":{"type":"boolean","description":"Minify the function code.","markdownDescription":"Minify the function code.","default":true},"external":{"type":"array","items":{"type":"string"},"description":"A list of external packages that won't be included in the bundle.","markdownDescription":"A list of external packages that won't be included in the bundle."},"importAsString":{"type":"array","items":{"type":"string"},"description":"A list of glob patterns, which specifies the files that should be imported as string.","markdownDescription":"A list of glob patterns, which specifies the files that should be imported as string."}},"required":["file"],"additionalProperties":false},{"type":"object","properties":{"bundle":{"anyOf":[{"type":"string"},{"type":"object","properties":{"nocheck":{"type":"string","description":"Specifies a local directory without checking if the directory exists.","markdownDescription":"Specifies a local directory without checking if the directory exists."}},"required":["nocheck"],"additionalProperties":false}],"description":"The directory that needs to be bundled.","markdownDescription":"The directory that needs to be bundled."}},"required":["bundle"],"additionalProperties":false}],"description":"Specify the code of your function.","markdownDescription":"Specify the code of your function."},"handler":{"type":"string","description":"The name of the exported method within your code that Lambda calls to run your function.","markdownDescription":"The name of the exported method within your code that Lambda calls to run your function."},"runtime":{"anyOf":[{"anyOf":[{"type":"string","enum":["nodejs18.x","nodejs20.x","nodejs22.x"]},{"type":"string","const":"container"}]},{"type":"string"}],"description":"The identifier of the function's runtime.","markdownDescription":"The identifier of the function's runtime."},"description":{"type":"string","description":"A description of the function.","markdownDescription":"A description of the function."},"warm":{"type":"integer","minimum":0,"maximum":10,"description":"Specify how many functions you want to warm up each 5 minutes. You can specify a number from 0 to 10.","markdownDescription":"Specify how many functions you want to warm up each 5 minutes. You can specify a number from 0 to 10."},"vpc":{"type":"boolean","description":"Put the function inside your global VPC.","markdownDescription":"Put the function inside your global VPC."},"log":{"anyOf":[{"type":"boolean"},{"type":"string","pattern":"^[0-9]+ (seconds?|minutes?|hours?|days?|weeks?)$","description":"The log retention duration.","markdownDescription":"The log retention duration."},{"type":"object","properties":{"retention":{"type":"string","pattern":"^[0-9]+ (seconds?|minutes?|hours?|days?|weeks?)$","description":"The log retention duration.","markdownDescription":"The log retention duration."},"format":{"type":"string","enum":["text","json"],"description":"The format in which Lambda sends your function's application and system logs to CloudWatch. Select between plain text and structured JSON.","markdownDescription":"The format in which Lambda sends your function's application and system logs to CloudWatch. Select between plain text and structured JSON."},"system":{"type":"string","enum":["debug","info","warn"],"description":"Set this property to filter the system logs for your function that Lambda sends to CloudWatch. Lambda only sends system logs at the selected level of detail and lower, where DEBUG is the highest level and WARN is the lowest.","markdownDescription":"Set this property to filter the system logs for your function that Lambda sends to CloudWatch. Lambda only sends system logs at the selected level of detail and lower, where DEBUG is the highest level and WARN is the lowest."},"level":{"type":"string","enum":["trace","debug","info","warn","error","fatal"],"description":"Set this property to filter the application logs for your function that Lambda sends to CloudWatch. Lambda only sends application logs at the selected level of detail and lower, where TRACE is the highest level and FATAL is the lowest.","markdownDescription":"Set this property to filter the application logs for your function that Lambda sends to CloudWatch. Lambda only sends application logs at the selected level of detail and lower, where TRACE is the highest level and FATAL is the lowest."}},"additionalProperties":false}],"description":"Enable logging to a CloudWatch log group. Providing a duration value will set the log retention time.","markdownDescription":"Enable logging to a CloudWatch log group. Providing a duration value will set the log retention time."},"timeout":{"type":"string","pattern":"^[0-9]+ (seconds?|minutes?|hours?|days?|weeks?)$","description":"The amount of time that Lambda allows a function to run before stopping it. You can specify a size value from 1 second to 15 minutes.","markdownDescription":"The amount of time that Lambda allows a function to run before stopping it. You can specify a size value from 1 second to 15 minutes."},"memorySize":{"type":"string","pattern":"^[0-9]+ (B|KB|MB|GB|TB|PB)$","description":"The amount of memory available to the function at runtime. Increasing the function memory also increases its CPU allocation. The value can be any multiple of 1 MB. You can specify a size value from 128 MB to 10 GB.","markdownDescription":"The amount of memory available to the function at runtime. Increasing the function memory also increases its CPU allocation. The value can be any multiple of 1 MB. You can specify a size value from 128 MB to 10 GB."},"architecture":{"type":"string","enum":["x86_64","arm64"],"description":"The instruction set architecture that the function supports.","markdownDescription":"The instruction set architecture that the function supports."},"ephemeralStorageSize":{"type":"string","pattern":"^[0-9]+ (B|KB|MB|GB|TB|PB)$","description":"The size of the function's /tmp directory. You can specify a size value from 512 MB to 10 GB.","markdownDescription":"The size of the function's /tmp directory. You can specify a size value from 512 MB to 10 GB."},"retryAttempts":{"type":"integer","minimum":0,"maximum":2,"description":"The maximum number of times to retry when the function returns an error. You can specify a number from 0 to 2.","markdownDescription":"The maximum number of times to retry when the function returns an error. You can specify a number from 0 to 2."},"reserved":{"type":"integer","minimum":0,"description":"The number of simultaneous executions to reserve for the function. You can specify a number from 0.","markdownDescription":"The number of simultaneous executions to reserve for the function. You can specify a number from 0."},"layers":{"type":"array","items":{"type":"string"},"description":"A list of function layers to add to the function's execution environment. Specify each layer by its ARN, including the version.","markdownDescription":"A list of function layers to add to the function's execution environment. Specify each layer by its ARN, including the version."},"environment":{"type":"object","additionalProperties":{"type":"string"},"description":"Environment variable key-value pairs.","markdownDescription":"Environment variable key-value pairs."},"permissions":{"anyOf":[{"type":"object","properties":{"effect":{"type":"string","enum":["allow","deny"],"default":"allow"},"actions":{"anyOf":[{"type":"string"},{"type":"array","items":{"type":"string"}}]},"resources":{"anyOf":[{"anyOf":[{"type":"string","pattern":"^arn\\:"},{"type":"string","const":"*"}]},{"type":"array","items":{"anyOf":[{"type":"string","pattern":"^arn\\:"},{"type":"string","const":"*"}]}}]}},"required":["actions","resources"],"additionalProperties":false},{"type":"array","items":{"type":"object","properties":{"effect":{"type":"string","enum":["allow","deny"],"default":"allow"},"actions":{"anyOf":[{"type":"string"},{"type":"array","items":{"type":"string"}}]},"resources":{"anyOf":[{"anyOf":[{"type":"string","pattern":"^arn\\:"},{"type":"string","const":"*"}]},{"type":"array","items":{"anyOf":[{"type":"string","pattern":"^arn\\:"},{"type":"string","const":"*"}]}}]}},"required":["actions","resources"],"additionalProperties":false}}],"description":"Add IAM permissions to your function.","markdownDescription":"Add IAM permissions to your function."}},"required":["code"],"additionalProperties":false}],"description":"Defining a onFailure handler will add a global onFailure handler for the following resources:\n- CloudWatch Scheduler\n- Async lambda functions\n- SQS queues\n- DynamoDB streams","markdownDescription":"Defining a onFailure handler will add a global onFailure handler for the following resources:\n- CloudWatch Scheduler\n- Async lambda functions\n- SQS queues\n- DynamoDB streams"},"onLog":{"anyOf":[{"anyOf":[{"anyOf":[{"type":"string"},{"type":"object","properties":{"nocheck":{"type":"string","description":"Specifies a local file without checking if the file exists.","markdownDescription":"Specifies a local file without checking if the file exists."}},"required":["nocheck"],"additionalProperties":false}]},{"type":"object","properties":{"code":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"object","properties":{"nocheck":{"type":"string","description":"Specifies a local file without checking if the file exists.","markdownDescription":"Specifies a local file without checking if the file exists."}},"required":["nocheck"],"additionalProperties":false}]},{"type":"object","properties":{"file":{"anyOf":[{"type":"string"},{"type":"object","properties":{"nocheck":{"type":"string","description":"Specifies a local file without checking if the file exists.","markdownDescription":"Specifies a local file without checking if the file exists."}},"required":["nocheck"],"additionalProperties":false}],"description":"The file path of the function code.","markdownDescription":"The file path of the function code."},"minify":{"type":"boolean","description":"Minify the function code.","markdownDescription":"Minify the function code.","default":true},"external":{"type":"array","items":{"type":"string"},"description":"A list of external packages that won't be included in the bundle.","markdownDescription":"A list of external packages that won't be included in the bundle."},"importAsString":{"type":"array","items":{"type":"string"},"description":"A list of glob patterns, which specifies the files that should be imported as string.","markdownDescription":"A list of glob patterns, which specifies the files that should be imported as string."}},"required":["file"],"additionalProperties":false},{"type":"object","properties":{"bundle":{"anyOf":[{"type":"string"},{"type":"object","properties":{"nocheck":{"type":"string","description":"Specifies a local directory without checking if the directory exists.","markdownDescription":"Specifies a local directory without checking if the directory exists."}},"required":["nocheck"],"additionalProperties":false}],"description":"The directory that needs to be bundled.","markdownDescription":"The directory that needs to be bundled."}},"required":["bundle"],"additionalProperties":false}],"description":"Specify the code of your function.","markdownDescription":"Specify the code of your function."},"handler":{"type":"string","description":"The name of the exported method within your code that Lambda calls to run your function.","markdownDescription":"The name of the exported method within your code that Lambda calls to run your function."},"runtime":{"anyOf":[{"anyOf":[{"type":"string","enum":["nodejs18.x","nodejs20.x","nodejs22.x"]},{"type":"string","const":"container"}]},{"type":"string"}],"description":"The identifier of the function's runtime.","markdownDescription":"The identifier of the function's runtime."},"description":{"type":"string","description":"A description of the function.","markdownDescription":"A description of the function."},"warm":{"type":"integer","minimum":0,"maximum":10,"description":"Specify how many functions you want to warm up each 5 minutes. You can specify a number from 0 to 10.","markdownDescription":"Specify how many functions you want to warm up each 5 minutes. You can specify a number from 0 to 10."},"vpc":{"type":"boolean","description":"Put the function inside your global VPC.","markdownDescription":"Put the function inside your global VPC."},"log":{"anyOf":[{"type":"boolean"},{"type":"string","pattern":"^[0-9]+ (seconds?|minutes?|hours?|days?|weeks?)$","description":"The log retention duration.","markdownDescription":"The log retention duration."},{"type":"object","properties":{"retention":{"type":"string","pattern":"^[0-9]+ (seconds?|minutes?|hours?|days?|weeks?)$","description":"The log retention duration.","markdownDescription":"The log retention duration."},"format":{"type":"string","enum":["text","json"],"description":"The format in which Lambda sends your function's application and system logs to CloudWatch. Select between plain text and structured JSON.","markdownDescription":"The format in which Lambda sends your function's application and system logs to CloudWatch. Select between plain text and structured JSON."},"system":{"type":"string","enum":["debug","info","warn"],"description":"Set this property to filter the system logs for your function that Lambda sends to CloudWatch. Lambda only sends system logs at the selected level of detail and lower, where DEBUG is the highest level and WARN is the lowest.","markdownDescription":"Set this property to filter the system logs for your function that Lambda sends to CloudWatch. Lambda only sends system logs at the selected level of detail and lower, where DEBUG is the highest level and WARN is the lowest."},"level":{"type":"string","enum":["trace","debug","info","warn","error","fatal"],"description":"Set this property to filter the application logs for your function that Lambda sends to CloudWatch. Lambda only sends application logs at the selected level of detail and lower, where TRACE is the highest level and FATAL is the lowest.","markdownDescription":"Set this property to filter the application logs for your function that Lambda sends to CloudWatch. Lambda only sends application logs at the selected level of detail and lower, where TRACE is the highest level and FATAL is the lowest."}},"additionalProperties":false}],"description":"Enable logging to a CloudWatch log group. Providing a duration value will set the log retention time.","markdownDescription":"Enable logging to a CloudWatch log group. Providing a duration value will set the log retention time."},"timeout":{"type":"string","pattern":"^[0-9]+ (seconds?|minutes?|hours?|days?|weeks?)$","description":"The amount of time that Lambda allows a function to run before stopping it. You can specify a size value from 1 second to 15 minutes.","markdownDescription":"The amount of time that Lambda allows a function to run before stopping it. You can specify a size value from 1 second to 15 minutes."},"memorySize":{"type":"string","pattern":"^[0-9]+ (B|KB|MB|GB|TB|PB)$","description":"The amount of memory available to the function at runtime. Increasing the function memory also increases its CPU allocation. The value can be any multiple of 1 MB. You can specify a size value from 128 MB to 10 GB.","markdownDescription":"The amount of memory available to the function at runtime. Increasing the function memory also increases its CPU allocation. The value can be any multiple of 1 MB. You can specify a size value from 128 MB to 10 GB."},"architecture":{"type":"string","enum":["x86_64","arm64"],"description":"The instruction set architecture that the function supports.","markdownDescription":"The instruction set architecture that the function supports."},"ephemeralStorageSize":{"type":"string","pattern":"^[0-9]+ (B|KB|MB|GB|TB|PB)$","description":"The size of the function's /tmp directory. You can specify a size value from 512 MB to 10 GB.","markdownDescription":"The size of the function's /tmp directory. You can specify a size value from 512 MB to 10 GB."},"retryAttempts":{"type":"integer","minimum":0,"maximum":2,"description":"The maximum number of times to retry when the function returns an error. You can specify a number from 0 to 2.","markdownDescription":"The maximum number of times to retry when the function returns an error. You can specify a number from 0 to 2."},"reserved":{"type":"integer","minimum":0,"description":"The number of simultaneous executions to reserve for the function. You can specify a number from 0.","markdownDescription":"The number of simultaneous executions to reserve for the function. You can specify a number from 0."},"layers":{"type":"array","items":{"type":"string"},"description":"A list of function layers to add to the function's execution environment. Specify each layer by its ARN, including the version.","markdownDescription":"A list of function layers to add to the function's execution environment. Specify each layer by its ARN, including the version."},"environment":{"type":"object","additionalProperties":{"type":"string"},"description":"Environment variable key-value pairs.","markdownDescription":"Environment variable key-value pairs."},"permissions":{"anyOf":[{"type":"object","properties":{"effect":{"type":"string","enum":["allow","deny"],"default":"allow"},"actions":{"anyOf":[{"type":"string"},{"type":"array","items":{"type":"string"}}]},"resources":{"anyOf":[{"anyOf":[{"type":"string","pattern":"^arn\\:"},{"type":"string","const":"*"}]},{"type":"array","items":{"anyOf":[{"type":"string","pattern":"^arn\\:"},{"type":"string","const":"*"}]}}]}},"required":["actions","resources"],"additionalProperties":false},{"type":"array","items":{"type":"object","properties":{"effect":{"type":"string","enum":["allow","deny"],"default":"allow"},"actions":{"anyOf":[{"type":"string"},{"type":"array","items":{"type":"string"}}]},"resources":{"anyOf":[{"anyOf":[{"type":"string","pattern":"^arn\\:"},{"type":"string","const":"*"}]},{"type":"array","items":{"anyOf":[{"type":"string","pattern":"^arn\\:"},{"type":"string","const":"*"}]}}]}},"required":["actions","resources"],"additionalProperties":false}}],"description":"Add IAM permissions to your function.","markdownDescription":"Add IAM permissions to your function."}},"required":["code"],"additionalProperties":false}]},{"type":"object","properties":{"consumer":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"object","properties":{"nocheck":{"type":"string","description":"Specifies a local file without checking if the file exists.","markdownDescription":"Specifies a local file without checking if the file exists."}},"required":["nocheck"],"additionalProperties":false}]},{"type":"object","properties":{"code":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"object","properties":{"nocheck":{"type":"string","description":"Specifies a local file without checking if the file exists.","markdownDescription":"Specifies a local file without checking if the file exists."}},"required":["nocheck"],"additionalProperties":false}]},{"type":"object","properties":{"file":{"anyOf":[{"type":"string"},{"type":"object","properties":{"nocheck":{"type":"string","description":"Specifies a local file without checking if the file exists.","markdownDescription":"Specifies a local file without checking if the file exists."}},"required":["nocheck"],"additionalProperties":false}],"description":"The file path of the function code.","markdownDescription":"The file path of the function code."},"minify":{"type":"boolean","description":"Minify the function code.","markdownDescription":"Minify the function code.","default":true},"external":{"type":"array","items":{"type":"string"},"description":"A list of external packages that won't be included in the bundle.","markdownDescription":"A list of external packages that won't be included in the bundle."},"importAsString":{"type":"array","items":{"type":"string"},"description":"A list of glob patterns, which specifies the files that should be imported as string.","markdownDescription":"A list of glob patterns, which specifies the files that should be imported as string."}},"required":["file"],"additionalProperties":false},{"type":"object","properties":{"bundle":{"anyOf":[{"type":"string"},{"type":"object","properties":{"nocheck":{"type":"string","description":"Specifies a local directory without checking if the directory exists.","markdownDescription":"Specifies a local directory without checking if the directory exists."}},"required":["nocheck"],"additionalProperties":false}],"description":"The directory that needs to be bundled.","markdownDescription":"The directory that needs to be bundled."}},"required":["bundle"],"additionalProperties":false}],"description":"Specify the code of your function.","markdownDescription":"Specify the code of your function."},"handler":{"type":"string","description":"The name of the exported method within your code that Lambda calls to run your function.","markdownDescription":"The name of the exported method within your code that Lambda calls to run your function."},"runtime":{"anyOf":[{"anyOf":[{"type":"string","enum":["nodejs18.x","nodejs20.x","nodejs22.x"]},{"type":"string","const":"container"}]},{"type":"string"}],"description":"The identifier of the function's runtime.","markdownDescription":"The identifier of the function's runtime."},"description":{"type":"string","description":"A description of the function.","markdownDescription":"A description of the function."},"warm":{"type":"integer","minimum":0,"maximum":10,"description":"Specify how many functions you want to warm up each 5 minutes. You can specify a number from 0 to 10.","markdownDescription":"Specify how many functions you want to warm up each 5 minutes. You can specify a number from 0 to 10."},"vpc":{"type":"boolean","description":"Put the function inside your global VPC.","markdownDescription":"Put the function inside your global VPC."},"log":{"anyOf":[{"type":"boolean"},{"type":"string","pattern":"^[0-9]+ (seconds?|minutes?|hours?|days?|weeks?)$","description":"The log retention duration.","markdownDescription":"The log retention duration."},{"type":"object","properties":{"retention":{"type":"string","pattern":"^[0-9]+ (seconds?|minutes?|hours?|days?|weeks?)$","description":"The log retention duration.","markdownDescription":"The log retention duration."},"format":{"type":"string","enum":["text","json"],"description":"The format in which Lambda sends your function's application and system logs to CloudWatch. Select between plain text and structured JSON.","markdownDescription":"The format in which Lambda sends your function's application and system logs to CloudWatch. Select between plain text and structured JSON."},"system":{"type":"string","enum":["debug","info","warn"],"description":"Set this property to filter the system logs for your function that Lambda sends to CloudWatch. Lambda only sends system logs at the selected level of detail and lower, where DEBUG is the highest level and WARN is the lowest.","markdownDescription":"Set this property to filter the system logs for your function that Lambda sends to CloudWatch. Lambda only sends system logs at the selected level of detail and lower, where DEBUG is the highest level and WARN is the lowest."},"level":{"type":"string","enum":["trace","debug","info","warn","error","fatal"],"description":"Set this property to filter the application logs for your function that Lambda sends to CloudWatch. Lambda only sends application logs at the selected level of detail and lower, where TRACE is the highest level and FATAL is the lowest.","markdownDescription":"Set this property to filter the application logs for your function that Lambda sends to CloudWatch. Lambda only sends application logs at the selected level of detail and lower, where TRACE is the highest level and FATAL is the lowest."}},"additionalProperties":false}],"description":"Enable logging to a CloudWatch log group. Providing a duration value will set the log retention time.","markdownDescription":"Enable logging to a CloudWatch log group. Providing a duration value will set the log retention time."},"timeout":{"type":"string","pattern":"^[0-9]+ (seconds?|minutes?|hours?|days?|weeks?)$","description":"The amount of time that Lambda allows a function to run before stopping it. You can specify a size value from 1 second to 15 minutes.","markdownDescription":"The amount of time that Lambda allows a function to run before stopping it. You can specify a size value from 1 second to 15 minutes."},"memorySize":{"type":"string","pattern":"^[0-9]+ (B|KB|MB|GB|TB|PB)$","description":"The amount of memory available to the function at runtime. Increasing the function memory also increases its CPU allocation. The value can be any multiple of 1 MB. You can specify a size value from 128 MB to 10 GB.","markdownDescription":"The amount of memory available to the function at runtime. Increasing the function memory also increases its CPU allocation. The value can be any multiple of 1 MB. You can specify a size value from 128 MB to 10 GB."},"architecture":{"type":"string","enum":["x86_64","arm64"],"description":"The instruction set architecture that the function supports.","markdownDescription":"The instruction set architecture that the function supports."},"ephemeralStorageSize":{"type":"string","pattern":"^[0-9]+ (B|KB|MB|GB|TB|PB)$","description":"The size of the function's /tmp directory. You can specify a size value from 512 MB to 10 GB.","markdownDescription":"The size of the function's /tmp directory. You can specify a size value from 512 MB to 10 GB."},"retryAttempts":{"type":"integer","minimum":0,"maximum":2,"description":"The maximum number of times to retry when the function returns an error. You can specify a number from 0 to 2.","markdownDescription":"The maximum number of times to retry when the function returns an error. You can specify a number from 0 to 2."},"reserved":{"type":"integer","minimum":0,"description":"The number of simultaneous executions to reserve for the function. You can specify a number from 0.","markdownDescription":"The number of simultaneous executions to reserve for the function. You can specify a number from 0."},"layers":{"type":"array","items":{"type":"string"},"description":"A list of function layers to add to the function's execution environment. Specify each layer by its ARN, including the version.","markdownDescription":"A list of function layers to add to the function's execution environment. Specify each layer by its ARN, including the version."},"environment":{"type":"object","additionalProperties":{"type":"string"},"description":"Environment variable key-value pairs.","markdownDescription":"Environment variable key-value pairs."},"permissions":{"anyOf":[{"type":"object","properties":{"effect":{"type":"string","enum":["allow","deny"],"default":"allow"},"actions":{"anyOf":[{"type":"string"},{"type":"array","items":{"type":"string"}}]},"resources":{"anyOf":[{"anyOf":[{"type":"string","pattern":"^arn\\:"},{"type":"string","const":"*"}]},{"type":"array","items":{"anyOf":[{"type":"string","pattern":"^arn\\:"},{"type":"string","const":"*"}]}}]}},"required":["actions","resources"],"additionalProperties":false},{"type":"array","items":{"type":"object","properties":{"effect":{"type":"string","enum":["allow","deny"],"default":"allow"},"actions":{"anyOf":[{"type":"string"},{"type":"array","items":{"type":"string"}}]},"resources":{"anyOf":[{"anyOf":[{"type":"string","pattern":"^arn\\:"},{"type":"string","const":"*"}]},{"type":"array","items":{"anyOf":[{"type":"string","pattern":"^arn\\:"},{"type":"string","const":"*"}]}}]}},"required":["actions","resources"],"additionalProperties":false}}],"description":"Add IAM permissions to your function.","markdownDescription":"Add IAM permissions to your function."}},"required":["code"],"additionalProperties":false}]},"filter":{"type":"array","items":{"type":"string","enum":["trace","debug","info","warn","error","fatal"]},"description":"The log level that will gets delivered to the consumer.","markdownDescription":"The log level that will gets delivered to the consumer."}},"required":["consumer","filter"],"additionalProperties":false}],"description":"Define a subscription on all Lambda functions logs.","markdownDescription":"Define a subscription on all Lambda functions logs."},"auth":{"type":"object","additionalProperties":{"type":"object","properties":{"allowUserRegistration":{"type":"boolean","default":true,"description":"Specifies whether users can create an user account or if only the administrator can.","markdownDescription":"Specifies whether users can create an user account or if only the administrator can."},"username":{"type":"object","properties":{"caseSensitive":{"type":"boolean","default":false,"description":"Specifies whether username case sensitivity will be enabled. When usernames and email addresses are case insensitive, users can sign in as the same user when they enter a different capitalization of their user name.","markdownDescription":"Specifies whether username case sensitivity will be enabled. When usernames and email addresses are case insensitive, users can sign in as the same user when they enter a different capitalization of their user name."}},"additionalProperties":false,"default":{},"description":"The username policy.","markdownDescription":"The username policy."},"password":{"type":"object","properties":{"minLength":{"type":"integer","minimum":6,"maximum":99,"default":12,"description":"Required users to have at least the minimum password length.","markdownDescription":"Required users to have at least the minimum password length."},"uppercase":{"type":"boolean","default":true,"description":"Required users to use at least one uppercase letter in their password.","markdownDescription":"Required users to use at least one uppercase letter in their password."},"lowercase":{"type":"boolean","default":true,"description":"Required users to use at least one lowercase letter in their password.","markdownDescription":"Required users to use at least one lowercase letter in their password."},"numbers":{"type":"boolean","default":true,"description":"Required users to use at least one number in their password.","markdownDescription":"Required users to use at least one number in their password."},"symbols":{"type":"boolean","default":true,"description":"Required users to use at least one symbol in their password.","markdownDescription":"Required users to use at least one symbol in their password."},"temporaryPasswordValidity":{"type":"string","pattern":"^[0-9]+ (seconds?|minutes?|hours?|days?|weeks?)$","default":"7 days","description":"The duration a temporary password is valid. If the user doesn't sign in during this time, an administrator must reset their password.","markdownDescription":"The duration a temporary password is valid. If the user doesn't sign in during this time, an administrator must reset their password."}},"additionalProperties":false,"default":{},"description":"The password policy.","markdownDescription":"The password policy."},"validity":{"type":"object","properties":{"idToken":{"type":"string","pattern":"^[0-9]+ (seconds?|minutes?|hours?|days?|weeks?)$","default":"1 hour","description":"The ID token time limit. After this limit expires, your user can't use their ID token.","markdownDescription":"The ID token time limit. After this limit expires, your user can't use their ID token."},"accessToken":{"type":"string","pattern":"^[0-9]+ (seconds?|minutes?|hours?|days?|weeks?)$","default":"1 hour","description":"The access token time limit. After this limit expires, your user can't use their access token.","markdownDescription":"The access token time limit. After this limit expires, your user can't use their access token."},"refreshToken":{"type":"string","pattern":"^[0-9]+ (seconds?|minutes?|hours?|days?|weeks?)$","default":"365 days","description":"The refresh token time limit. After this limit expires, your user can't use their refresh token.","markdownDescription":"The refresh token time limit. After this limit expires, your user can't use their refresh token."}},"additionalProperties":false,"default":{},"description":"Specifies the validity duration for every JWT token.","markdownDescription":"Specifies the validity duration for every JWT token."}},"additionalProperties":false},"default":{},"description":"Define the authenticatable users in your app.","markdownDescription":"Define the authenticatable users in your app."},"domains":{"type":"object","additionalProperties":{"type":"object","properties":{"domain":{"type":"string","pattern":"[a-z\\-\\_\\.]","description":"Define the domain name","markdownDescription":"Define the domain name"},"dns":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string","pattern":"[a-z\\-\\_\\.]","description":"Enter a fully qualified domain name, for example, www.example.com. You can optionally include a trailing dot. If you omit the trailing dot, Amazon Route 53 assumes that the domain name that you specify is fully qualified. This means that Route 53 treats www.example.com (without a trailing dot) and www.example.com. (with a trailing dot) as identical.","markdownDescription":"Enter a fully qualified domain name, for example, www.example.com. You can optionally include a trailing dot. If you omit the trailing dot, Amazon Route 53 assumes that the domain name that you specify is fully qualified. This means that Route 53 treats www.example.com (without a trailing dot) and www.example.com. (with a trailing dot) as identical."},"type":{"type":"string","enum":["A","AAAA","CAA","CNAME","DS","MX","NAPTR","NS","PTR","SOA","SPF","SRV","TXT"],"description":"The DNS record type.","markdownDescription":"The DNS record type."},"ttl":{"type":"string","pattern":"^[0-9]+ (seconds?|minutes?|hours?|days?|weeks?)$","description":"The resource record cache time to live (TTL).","markdownDescription":"The resource record cache time to live (TTL)."},"records":{"type":"array","items":{"type":"string"},"description":"One or more values that correspond with the value that you specified for the Type property.","markdownDescription":"One or more values that correspond with the value that you specified for the Type property."}},"required":["type","ttl","records"],"additionalProperties":false},"description":"Define the domain dns records","markdownDescription":"Define the domain dns records"}},"required":["domain"],"additionalProperties":false},"description":"Define the domains for your application.","markdownDescription":"Define the domains for your application."},"function":{"type":"object","properties":{"runtime":{"anyOf":[{"anyOf":[{"type":"string","enum":["nodejs18.x","nodejs20.x","nodejs22.x"]},{"type":"string","const":"container"}]},{"type":"string"}],"description":"The identifier of the function's runtime.","markdownDescription":"The identifier of the function's runtime.","default":"nodejs20.x"},"handler":{"type":"string","description":"The name of the exported method within your code that Lambda calls to run your function.","markdownDescription":"The name of the exported method within your code that Lambda calls to run your function.","default":"index.default"},"warm":{"type":"integer","minimum":0,"maximum":10,"description":"Specify how many functions you want to warm up each 5 minutes. You can specify a number from 0 to 10.","markdownDescription":"Specify how many functions you want to warm up each 5 minutes. You can specify a number from 0 to 10.","default":0},"vpc":{"type":"boolean","description":"Put the function inside your global VPC.","markdownDescription":"Put the function inside your global VPC.","default":false},"log":{"anyOf":[{"type":"boolean"},{"type":"string","pattern":"^[0-9]+ (seconds?|minutes?|hours?|days?|weeks?)$","description":"The log retention duration.","markdownDescription":"The log retention duration."},{"type":"object","properties":{"retention":{"type":"string","pattern":"^[0-9]+ (seconds?|minutes?|hours?|days?|weeks?)$","description":"The log retention duration.","markdownDescription":"The log retention duration."},"format":{"type":"string","enum":["text","json"],"description":"The format in which Lambda sends your function's application and system logs to CloudWatch. Select between plain text and structured JSON.","markdownDescription":"The format in which Lambda sends your function's application and system logs to CloudWatch. Select between plain text and structured JSON."},"system":{"type":"string","enum":["debug","info","warn"],"description":"Set this property to filter the system logs for your function that Lambda sends to CloudWatch. Lambda only sends system logs at the selected level of detail and lower, where DEBUG is the highest level and WARN is the lowest.","markdownDescription":"Set this property to filter the system logs for your function that Lambda sends to CloudWatch. Lambda only sends system logs at the selected level of detail and lower, where DEBUG is the highest level and WARN is the lowest."},"level":{"type":"string","enum":["trace","debug","info","warn","error","fatal"],"description":"Set this property to filter the application logs for your function that Lambda sends to CloudWatch. Lambda only sends application logs at the selected level of detail and lower, where TRACE is the highest level and FATAL is the lowest.","markdownDescription":"Set this property to filter the application logs for your function that Lambda sends to CloudWatch. Lambda only sends application logs at the selected level of detail and lower, where TRACE is the highest level and FATAL is the lowest."}},"additionalProperties":false}],"description":"Enable logging to a CloudWatch log group. Providing a duration value will set the log retention time.","markdownDescription":"Enable logging to a CloudWatch log group. Providing a duration value will set the log retention time.","default":true},"timeout":{"type":"string","pattern":"^[0-9]+ (seconds?|minutes?|hours?|days?|weeks?)$","description":"The amount of time that Lambda allows a function to run before stopping it. You can specify a size value from 1 second to 15 minutes.","markdownDescription":"The amount of time that Lambda allows a function to run before stopping it. You can specify a size value from 1 second to 15 minutes.","default":"10 seconds"},"memorySize":{"type":"string","pattern":"^[0-9]+ (B|KB|MB|GB|TB|PB)$","description":"The amount of memory available to the function at runtime. Increasing the function memory also increases its CPU allocation. The value can be any multiple of 1 MB. You can specify a size value from 128 MB to 10 GB.","markdownDescription":"The amount of memory available to the function at runtime. Increasing the function memory also increases its CPU allocation. The value can be any multiple of 1 MB. You can specify a size value from 128 MB to 10 GB.","default":"128 MB"},"architecture":{"type":"string","enum":["x86_64","arm64"],"description":"The instruction set architecture that the function supports.","markdownDescription":"The instruction set architecture that the function supports.","default":"arm64"},"ephemeralStorageSize":{"type":"string","pattern":"^[0-9]+ (B|KB|MB|GB|TB|PB)$","description":"The size of the function's /tmp directory. You can specify a size value from 512 MB to 10 GB.","markdownDescription":"The size of the function's /tmp directory. You can specify a size value from 512 MB to 10 GB.","default":"512 MB"},"retryAttempts":{"type":"integer","minimum":0,"maximum":2,"description":"The maximum number of times to retry when the function returns an error. You can specify a number from 0 to 2.","markdownDescription":"The maximum number of times to retry when the function returns an error. You can specify a number from 0 to 2.","default":2},"reserved":{"type":"integer","minimum":0,"description":"The number of simultaneous executions to reserve for the function. You can specify a number from 0.","markdownDescription":"The number of simultaneous executions to reserve for the function. You can specify a number from 0."},"layers":{"type":"array","items":{"type":"string"},"description":"A list of function layers to add to the function's execution environment. Specify each layer by its ARN, including the version.","markdownDescription":"A list of function layers to add to the function's execution environment. Specify each layer by its ARN, including the version."},"environment":{"type":"object","additionalProperties":{"type":"string"},"description":"Environment variable key-value pairs.","markdownDescription":"Environment variable key-value pairs."},"permissions":{"anyOf":[{"type":"object","properties":{"effect":{"type":"string","enum":["allow","deny"],"default":"allow"},"actions":{"anyOf":[{"type":"string"},{"type":"array","items":{"type":"string"}}]},"resources":{"anyOf":[{"anyOf":[{"type":"string","pattern":"^arn\\:"},{"type":"string","const":"*"}]},{"type":"array","items":{"anyOf":[{"type":"string","pattern":"^arn\\:"},{"type":"string","const":"*"}]}}]}},"required":["actions","resources"],"additionalProperties":false},{"type":"array","items":{"type":"object","properties":{"effect":{"type":"string","enum":["allow","deny"],"default":"allow"},"actions":{"anyOf":[{"type":"string"},{"type":"array","items":{"type":"string"}}]},"resources":{"anyOf":[{"anyOf":[{"type":"string","pattern":"^arn\\:"},{"type":"string","const":"*"}]},{"type":"array","items":{"anyOf":[{"type":"string","pattern":"^arn\\:"},{"type":"string","const":"*"}]}}]}},"required":["actions","resources"],"additionalProperties":false}}],"description":"Add IAM permissions to your function.","markdownDescription":"Add IAM permissions to your function."}},"additionalProperties":false,"default":{}},"instance":{"type":"object","properties":{"image":{"type":"string","description":"The URL of the container image to use.","markdownDescription":"The URL of the container image to use."},"cpu":{"type":"number","enum":[0.25,0.5,1,2,4,8,16],"description":"The number of virtual CPU units (vCPU) used by the instance. Valid values: 0.25, 0.5, 1, 2, 4, 8, 16 vCPU.","markdownDescription":"The number of virtual CPU units (vCPU) used by the instance. Valid values: 0.25, 0.5, 1, 2, 4, 8, 16 vCPU.","default":0.25},"memorySize":{"type":"string","pattern":"^[0-9]+ (B|KB|MB|GB|TB|PB)$","description":"The amount of memory (in MiB) used by the instance. Valid memory values depend on the CPU configuration.","markdownDescription":"The amount of memory (in MiB) used by the instance. Valid memory values depend on the CPU configuration.","default":"512 MB"},"architecture":{"type":"string","enum":["x86_64","arm64"],"description":"The instruction set architecture that the instance supports.","markdownDescription":"The instruction set architecture that the instance supports.","default":"arm64"},"environment":{"type":"object","additionalProperties":{"type":"string"},"description":"Environment variable key-value pairs.","markdownDescription":"Environment variable key-value pairs."},"permissions":{"anyOf":[{"type":"object","properties":{"effect":{"type":"string","enum":["allow","deny"],"default":"allow"},"actions":{"anyOf":[{"type":"string"},{"type":"array","items":{"type":"string"}}]},"resources":{"anyOf":[{"anyOf":[{"type":"string","pattern":"^arn\\:"},{"type":"string","const":"*"}]},{"type":"array","items":{"anyOf":[{"type":"string","pattern":"^arn\\:"},{"type":"string","const":"*"}]}}]}},"required":["actions","resources"],"additionalProperties":false},{"type":"array","items":{"type":"object","properties":{"effect":{"type":"string","enum":["allow","deny"],"default":"allow"},"actions":{"anyOf":[{"type":"string"},{"type":"array","items":{"type":"string"}}]},"resources":{"anyOf":[{"anyOf":[{"type":"string","pattern":"^arn\\:"},{"type":"string","const":"*"}]},{"type":"array","items":{"anyOf":[{"type":"string","pattern":"^arn\\:"},{"type":"string","const":"*"}]}}]}},"required":["actions","resources"],"additionalProperties":false}}],"description":"Add IAM permissions to your instance.","markdownDescription":"Add IAM permissions to your instance."},"healthCheck":{"type":"object","properties":{"path":{"type":"string","description":"The path that the container runs to determine if it is healthy.","markdownDescription":"The path that the container runs to determine if it is healthy."},"interval":{"type":"string","pattern":"^[0-9]+ (seconds?|minutes?|hours?|days?|weeks?)$","description":"The time period in seconds between each health check execution.","markdownDescription":"The time period in seconds between each health check execution."},"retries":{"type":"integer","minimum":1,"maximum":10,"description":"The number of times to retry a failed health check before the container is considered unhealthy.","markdownDescription":"The number of times to retry a failed health check before the container is considered unhealthy."},"startPeriod":{"type":"string","pattern":"^[0-9]+ (seconds?|minutes?|hours?|days?|weeks?)$","description":"The optional grace period to provide containers time to bootstrap before failed health checks count towards the maximum number of retries.","markdownDescription":"The optional grace period to provide containers time to bootstrap before failed health checks count towards the maximum number of retries."},"timeout":{"type":"string","pattern":"^[0-9]+ (seconds?|minutes?|hours?|days?|weeks?)$","description":"The time period in seconds to wait for a health check to succeed before it is considered a failure.","markdownDescription":"The time period in seconds to wait for a health check to succeed before it is considered a failure."}},"required":["path","interval","retries","startPeriod","timeout"],"additionalProperties":false,"description":"The health check command and associated configuration parameters for the container.","markdownDescription":"The health check command and associated configuration parameters for the container."},"log":{"anyOf":[{"type":"boolean"},{"type":"string","pattern":"^[0-9]+ (seconds?|minutes?|hours?|days?|weeks?)$","description":"The log retention duration.","markdownDescription":"The log retention duration."},{"type":"object","properties":{"retention":{"type":"string","pattern":"^[0-9]+ (seconds?|minutes?|hours?|days?|weeks?)$","description":"The log retention duration.","markdownDescription":"The log retention duration."}},"additionalProperties":false}],"description":"Enable logging to a CloudWatch log group. Providing a duration value will set the log retention time.","markdownDescription":"Enable logging to a CloudWatch log group. Providing a duration value will set the log retention time.","default":true}},"additionalProperties":false,"default":{}},"queue":{"type":"object","properties":{"retentionPeriod":{"type":"string","pattern":"^[0-9]+ (seconds?|minutes?|hours?|days?|weeks?)$","description":"The number of seconds that Amazon SQS retains a message. You can specify a duration from 1 minute to 14 days.","markdownDescription":"The number of seconds that Amazon SQS retains a message. You can specify a duration from 1 minute to 14 days.","default":"7 days"},"visibilityTimeout":{"type":"string","pattern":"^[0-9]+ (seconds?|minutes?|hours?|days?|weeks?)$","description":"The length of time during which a message will be unavailable after a message is delivered from the queue. This blocks other components from receiving the same message and gives the initial component time to process and delete the message from the queue. You can specify a duration from 0 to 12 hours.","markdownDescription":"The length of time during which a message will be unavailable after a message is delivered from the queue. This blocks other components from receiving the same message and gives the initial component time to process and delete the message from the queue. You can specify a duration from 0 to 12 hours.","default":"30 seconds"},"deliveryDelay":{"type":"string","pattern":"^[0-9]+ (seconds?|minutes?|hours?|days?|weeks?)$","description":"The time in seconds for which the delivery of all messages in the queue is delayed. You can specify a duration from 0 to 15 minutes.","markdownDescription":"The time in seconds for which the delivery of all messages in the queue is delayed. You can specify a duration from 0 to 15 minutes.","default":"0 seconds"},"receiveMessageWaitTime":{"type":"string","pattern":"^[0-9]+ (seconds?|minutes?|hours?|days?|weeks?)$","description":"Specifies the duration, that the ReceiveMessage action call waits until a message is in the queue in order to include it in the response, rather than returning an empty response if a message isn't yet available. You can specify a duration from 1 to 20 seconds. Short polling is used as the default.","markdownDescription":"Specifies the duration, that the ReceiveMessage action call waits until a message is in the queue in order to include it in the response, rather than returning an empty response if a message isn't yet available. You can specify a duration from 1 to 20 seconds. Short polling is used as the default."},"maxMessageSize":{"type":"string","pattern":"^[0-9]+ (B|KB|MB|GB|TB|PB)$","description":"The limit of how many bytes that a message can contain before Amazon SQS rejects it. You can specify an size from 1 KB to 256 KB.","markdownDescription":"The limit of how many bytes that a message can contain before Amazon SQS rejects it. You can specify an size from 1 KB to 256 KB.","default":"256 KB"},"batchSize":{"type":"integer","minimum":1,"maximum":10000,"description":"The maximum number of records in each batch that Lambda pulls from your queue and sends to your function. Lambda passes all of the records in the batch to the function in a single call, up to the payload limit for synchronous invocation (6 MB). You can specify an integer from 1 to 10000.","markdownDescription":"The maximum number of records in each batch that Lambda pulls from your queue and sends to your function. Lambda passes all of the records in the batch to the function in a single call, up to the payload limit for synchronous invocation (6 MB). You can specify an integer from 1 to 10000.","default":10},"maxConcurrency":{"type":"integer","minimum":2,"maximum":1000,"description":"Limits the number of concurrent instances that the queue worker can invoke. You can specify an integer from 2 to 1000.","markdownDescription":"Limits the number of concurrent instances that the queue worker can invoke. You can specify an integer from 2 to 1000."},"maxBatchingWindow":{"type":"string","pattern":"^[0-9]+ (seconds?|minutes?|hours?|days?|weeks?)$","description":"The maximum amount of time, that Lambda spends gathering records before invoking the function. You can specify an duration from 0 seconds to 5 minutes.","markdownDescription":"The maximum amount of time, that Lambda spends gathering records before invoking the function. You can specify an duration from 0 seconds to 5 minutes."}},"additionalProperties":false,"default":{}},"rest":{"type":"object","additionalProperties":{"type":"object","properties":{"domain":{"type":"string","minLength":3,"maxLength":24,"pattern":"^[a-z0-9\\-]+$","description":"The domain id to link your API with.","markdownDescription":"The domain id to link your API with."},"subDomain":{"type":"string"}},"additionalProperties":false},"description":"Define your global REST API's.","markdownDescription":"Define your global REST API's."},"rpc":{"type":"object","additionalProperties":{"type":"object","properties":{"domain":{"type":"string","minLength":3,"maxLength":24,"pattern":"^[a-z0-9\\-]+$","description":"The domain id to link your RPC API with.","markdownDescription":"The domain id to link your RPC API with."},"subDomain":{"type":"string"},"auth":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"object","properties":{"nocheck":{"type":"string","description":"Specifies a local file without checking if the file exists.","markdownDescription":"Specifies a local file without checking if the file exists."}},"required":["nocheck"],"additionalProperties":false}]},{"type":"object","properties":{"code":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"object","properties":{"nocheck":{"type":"string","description":"Specifies a local file without checking if the file exists.","markdownDescription":"Specifies a local file without checking if the file exists."}},"required":["nocheck"],"additionalProperties":false}]},{"type":"object","properties":{"file":{"anyOf":[{"type":"string"},{"type":"object","properties":{"nocheck":{"type":"string","description":"Specifies a local file without checking if the file exists.","markdownDescription":"Specifies a local file without checking if the file exists."}},"required":["nocheck"],"additionalProperties":false}],"description":"The file path of the function code.","markdownDescription":"The file path of the function code."},"minify":{"type":"boolean","description":"Minify the function code.","markdownDescription":"Minify the function code.","default":true},"external":{"type":"array","items":{"type":"string"},"description":"A list of external packages that won't be included in the bundle.","markdownDescription":"A list of external packages that won't be included in the bundle."},"importAsString":{"type":"array","items":{"type":"string"},"description":"A list of glob patterns, which specifies the files that should be imported as string.","markdownDescription":"A list of glob patterns, which specifies the files that should be imported as string."}},"required":["file"],"additionalProperties":false},{"type":"object","properties":{"bundle":{"anyOf":[{"type":"string"},{"type":"object","properties":{"nocheck":{"type":"string","description":"Specifies a local directory without checking if the directory exists.","markdownDescription":"Specifies a local directory without checking if the directory exists."}},"required":["nocheck"],"additionalProperties":false}],"description":"The directory that needs to be bundled.","markdownDescription":"The directory that needs to be bundled."}},"required":["bundle"],"additionalProperties":false}],"description":"Specify the code of your function.","markdownDescription":"Specify the code of your function."},"handler":{"type":"string","description":"The name of the exported method within your code that Lambda calls to run your function.","markdownDescription":"The name of the exported method within your code that Lambda calls to run your function."},"runtime":{"anyOf":[{"anyOf":[{"type":"string","enum":["nodejs18.x","nodejs20.x","nodejs22.x"]},{"type":"string","const":"container"}]},{"type":"string"}],"description":"The identifier of the function's runtime.","markdownDescription":"The identifier of the function's runtime."},"description":{"type":"string","description":"A description of the function.","markdownDescription":"A description of the function."},"warm":{"type":"integer","minimum":0,"maximum":10,"description":"Specify how many functions you want to warm up each 5 minutes. You can specify a number from 0 to 10.","markdownDescription":"Specify how many functions you want to warm up each 5 minutes. You can specify a number from 0 to 10."},"vpc":{"type":"boolean","description":"Put the function inside your global VPC.","markdownDescription":"Put the function inside your global VPC."},"log":{"anyOf":[{"type":"boolean"},{"type":"string","pattern":"^[0-9]+ (seconds?|minutes?|hours?|days?|weeks?)$","description":"The log retention duration.","markdownDescription":"The log retention duration."},{"type":"object","properties":{"retention":{"type":"string","pattern":"^[0-9]+ (seconds?|minutes?|hours?|days?|weeks?)$","description":"The log retention duration.","markdownDescription":"The log retention duration."},"format":{"type":"string","enum":["text","json"],"description":"The format in which Lambda sends your function's application and system logs to CloudWatch. Select between plain text and structured JSON.","markdownDescription":"The format in which Lambda sends your function's application and system logs to CloudWatch. Select between plain text and structured JSON."},"system":{"type":"string","enum":["debug","info","warn"],"description":"Set this property to filter the system logs for your function that Lambda sends to CloudWatch. Lambda only sends system logs at the selected level of detail and lower, where DEBUG is the highest level and WARN is the lowest.","markdownDescription":"Set this property to filter the system logs for your function that Lambda sends to CloudWatch. Lambda only sends system logs at the selected level of detail and lower, where DEBUG is the highest level and WARN is the lowest."},"level":{"type":"string","enum":["trace","debug","info","warn","error","fatal"],"description":"Set this property to filter the application logs for your function that Lambda sends to CloudWatch. Lambda only sends application logs at the selected level of detail and lower, where TRACE is the highest level and FATAL is the lowest.","markdownDescription":"Set this property to filter the application logs for your function that Lambda sends to CloudWatch. Lambda only sends application logs at the selected level of detail and lower, where TRACE is the highest level and FATAL is the lowest."}},"additionalProperties":false}],"description":"Enable logging to a CloudWatch log group. Providing a duration value will set the log retention time.","markdownDescription":"Enable logging to a CloudWatch log group. Providing a duration value will set the log retention time."},"timeout":{"type":"string","pattern":"^[0-9]+ (seconds?|minutes?|hours?|days?|weeks?)$","description":"The amount of time that Lambda allows a function to run before stopping it. You can specify a size value from 1 second to 15 minutes.","markdownDescription":"The amount of time that Lambda allows a function to run before stopping it. You can specify a size value from 1 second to 15 minutes."},"memorySize":{"type":"string","pattern":"^[0-9]+ (B|KB|MB|GB|TB|PB)$","description":"The amount of memory available to the function at runtime. Increasing the function memory also increases its CPU allocation. The value can be any multiple of 1 MB. You can specify a size value from 128 MB to 10 GB.","markdownDescription":"The amount of memory available to the function at runtime. Increasing the function memory also increases its CPU allocation. The value can be any multiple of 1 MB. You can specify a size value from 128 MB to 10 GB."},"architecture":{"type":"string","enum":["x86_64","arm64"],"description":"The instruction set architecture that the function supports.","markdownDescription":"The instruction set architecture that the function supports."},"ephemeralStorageSize":{"type":"string","pattern":"^[0-9]+ (B|KB|MB|GB|TB|PB)$","description":"The size of the function's /tmp directory. You can specify a size value from 512 MB to 10 GB.","markdownDescription":"The size of the function's /tmp directory. You can specify a size value from 512 MB to 10 GB."},"retryAttempts":{"type":"integer","minimum":0,"maximum":2,"description":"The maximum number of times to retry when the function returns an error. You can specify a number from 0 to 2.","markdownDescription":"The maximum number of times to retry when the function returns an error. You can specify a number from 0 to 2."},"reserved":{"type":"integer","minimum":0,"description":"The number of simultaneous executions to reserve for the function. You can specify a number from 0.","markdownDescription":"The number of simultaneous executions to reserve for the function. You can specify a number from 0."},"layers":{"type":"array","items":{"type":"string"},"description":"A list of function layers to add to the function's execution environment. Specify each layer by its ARN, including the version.","markdownDescription":"A list of function layers to add to the function's execution environment. Specify each layer by its ARN, including the version."},"environment":{"type":"object","additionalProperties":{"type":"string"},"description":"Environment variable key-value pairs.","markdownDescription":"Environment variable key-value pairs."},"permissions":{"anyOf":[{"type":"object","properties":{"effect":{"type":"string","enum":["allow","deny"],"default":"allow"},"actions":{"anyOf":[{"type":"string"},{"type":"array","items":{"type":"string"}}]},"resources":{"anyOf":[{"anyOf":[{"type":"string","pattern":"^arn\\:"},{"type":"string","const":"*"}]},{"type":"array","items":{"anyOf":[{"type":"string","pattern":"^arn\\:"},{"type":"string","const":"*"}]}}]}},"required":["actions","resources"],"additionalProperties":false},{"type":"array","items":{"type":"object","properties":{"effect":{"type":"string","enum":["allow","deny"],"default":"allow"},"actions":{"anyOf":[{"type":"string"},{"type":"array","items":{"type":"string"}}]},"resources":{"anyOf":[{"anyOf":[{"type":"string","pattern":"^arn\\:"},{"type":"string","const":"*"}]},{"type":"array","items":{"anyOf":[{"type":"string","pattern":"^arn\\:"},{"type":"string","const":"*"}]}}]}},"required":["actions","resources"],"additionalProperties":false}}],"description":"Add IAM permissions to your function.","markdownDescription":"Add IAM permissions to your function."}},"required":["code"],"additionalProperties":false}]},"log":{"anyOf":[{"type":"boolean"},{"type":"string","pattern":"^[0-9]+ (seconds?|minutes?|hours?|days?|weeks?)$","description":"The log retention duration.","markdownDescription":"The log retention duration."},{"type":"object","properties":{"retention":{"type":"string","pattern":"^[0-9]+ (seconds?|minutes?|hours?|days?|weeks?)$","description":"The log retention duration.","markdownDescription":"The log retention duration."},"format":{"type":"string","enum":["text","json"],"description":"The format in which Lambda sends your function's application and system logs to CloudWatch. Select between plain text and structured JSON.","markdownDescription":"The format in which Lambda sends your function's application and system logs to CloudWatch. Select between plain text and structured JSON."},"system":{"type":"string","enum":["debug","info","warn"],"description":"Set this property to filter the system logs for your function that Lambda sends to CloudWatch. Lambda only sends system logs at the selected level of detail and lower, where DEBUG is the highest level and WARN is the lowest.","markdownDescription":"Set this property to filter the system logs for your function that Lambda sends to CloudWatch. Lambda only sends system logs at the selected level of detail and lower, where DEBUG is the highest level and WARN is the lowest."},"level":{"type":"string","enum":["trace","debug","info","warn","error","fatal"],"description":"Set this property to filter the application logs for your function that Lambda sends to CloudWatch. Lambda only sends application logs at the selected level of detail and lower, where TRACE is the highest level and FATAL is the lowest.","markdownDescription":"Set this property to filter the application logs for your function that Lambda sends to CloudWatch. Lambda only sends application logs at the selected level of detail and lower, where TRACE is the highest level and FATAL is the lowest."}},"additionalProperties":false}],"description":"Enable logging to a CloudWatch log group. Providing a duration value will set the log retention time.","markdownDescription":"Enable logging to a CloudWatch log group. Providing a duration value will set the log retention time."},"timeout":{"type":"string","pattern":"^[0-9]+ (seconds?|minutes?|hours?|days?|weeks?)$","description":"The amount of time that the RPC lambda is allowed run before stopping it. You can specify a size value from 1 second to 5 minutes. The timeouts of all inner RPC functions will be capped at 80% of this timeout.","markdownDescription":"The amount of time that the RPC lambda is allowed run before stopping it. You can specify a size value from 1 second to 5 minutes. The timeouts of all inner RPC functions will be capped at 80% of this timeout.","default":"1 minutes"},"geoRestrictions":{"type":"array","items":{"type":"string","minLength":2,"maxLength":2},"default":[],"description":"Specifies a blacklist of countries that should be blocked.","markdownDescription":"Specifies a blacklist of countries that should be blocked."}},"additionalProperties":false},"description":"Define the global RPC API's.","markdownDescription":"Define the global RPC API's."},"pubsub":{"type":"object","additionalProperties":{"type":"object","properties":{"auth":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"object","properties":{"nocheck":{"type":"string","description":"Specifies a local file without checking if the file exists.","markdownDescription":"Specifies a local file without checking if the file exists."}},"required":["nocheck"],"additionalProperties":false}]},{"type":"object","properties":{"code":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"object","properties":{"nocheck":{"type":"string","description":"Specifies a local file without checking if the file exists.","markdownDescription":"Specifies a local file without checking if the file exists."}},"required":["nocheck"],"additionalProperties":false}]},{"type":"object","properties":{"file":{"anyOf":[{"type":"string"},{"type":"object","properties":{"nocheck":{"type":"string","description":"Specifies a local file without checking if the file exists.","markdownDescription":"Specifies a local file without checking if the file exists."}},"required":["nocheck"],"additionalProperties":false}],"description":"The file path of the function code.","markdownDescription":"The file path of the function code."},"minify":{"type":"boolean","description":"Minify the function code.","markdownDescription":"Minify the function code.","default":true},"external":{"type":"array","items":{"type":"string"},"description":"A list of external packages that won't be included in the bundle.","markdownDescription":"A list of external packages that won't be included in the bundle."},"importAsString":{"type":"array","items":{"type":"string"},"description":"A list of glob patterns, which specifies the files that should be imported as string.","markdownDescription":"A list of glob patterns, which specifies the files that should be imported as string."}},"required":["file"],"additionalProperties":false},{"type":"object","properties":{"bundle":{"anyOf":[{"type":"string"},{"type":"object","properties":{"nocheck":{"type":"string","description":"Specifies a local directory without checking if the directory exists.","markdownDescription":"Specifies a local directory without checking if the directory exists."}},"required":["nocheck"],"additionalProperties":false}],"description":"The directory that needs to be bundled.","markdownDescription":"The directory that needs to be bundled."}},"required":["bundle"],"additionalProperties":false}],"description":"Specify the code of your function.","markdownDescription":"Specify the code of your function."},"handler":{"type":"string","description":"The name of the exported method within your code that Lambda calls to run your function.","markdownDescription":"The name of the exported method within your code that Lambda calls to run your function."},"runtime":{"anyOf":[{"anyOf":[{"type":"string","enum":["nodejs18.x","nodejs20.x","nodejs22.x"]},{"type":"string","const":"container"}]},{"type":"string"}],"description":"The identifier of the function's runtime.","markdownDescription":"The identifier of the function's runtime."},"description":{"type":"string","description":"A description of the function.","markdownDescription":"A description of the function."},"warm":{"type":"integer","minimum":0,"maximum":10,"description":"Specify how many functions you want to warm up each 5 minutes. You can specify a number from 0 to 10.","markdownDescription":"Specify how many functions you want to warm up each 5 minutes. You can specify a number from 0 to 10."},"vpc":{"type":"boolean","description":"Put the function inside your global VPC.","markdownDescription":"Put the function inside your global VPC."},"log":{"anyOf":[{"type":"boolean"},{"type":"string","pattern":"^[0-9]+ (seconds?|minutes?|hours?|days?|weeks?)$","description":"The log retention duration.","markdownDescription":"The log retention duration."},{"type":"object","properties":{"retention":{"type":"string","pattern":"^[0-9]+ (seconds?|minutes?|hours?|days?|weeks?)$","description":"The log retention duration.","markdownDescription":"The log retention duration."},"format":{"type":"string","enum":["text","json"],"description":"The format in which Lambda sends your function's application and system logs to CloudWatch. Select between plain text and structured JSON.","markdownDescription":"The format in which Lambda sends your function's application and system logs to CloudWatch. Select between plain text and structured JSON."},"system":{"type":"string","enum":["debug","info","warn"],"description":"Set this property to filter the system logs for your function that Lambda sends to CloudWatch. Lambda only sends system logs at the selected level of detail and lower, where DEBUG is the highest level and WARN is the lowest.","markdownDescription":"Set this property to filter the system logs for your function that Lambda sends to CloudWatch. Lambda only sends system logs at the selected level of detail and lower, where DEBUG is the highest level and WARN is the lowest."},"level":{"type":"string","enum":["trace","debug","info","warn","error","fatal"],"description":"Set this property to filter the application logs for your function that Lambda sends to CloudWatch. Lambda only sends application logs at the selected level of detail and lower, where TRACE is the highest level and FATAL is the lowest.","markdownDescription":"Set this property to filter the application logs for your function that Lambda sends to CloudWatch. Lambda only sends application logs at the selected level of detail and lower, where TRACE is the highest level and FATAL is the lowest."}},"additionalProperties":false}],"description":"Enable logging to a CloudWatch log group. Providing a duration value will set the log retention time.","markdownDescription":"Enable logging to a CloudWatch log group. Providing a duration value will set the log retention time."},"timeout":{"type":"string","pattern":"^[0-9]+ (seconds?|minutes?|hours?|days?|weeks?)$","description":"The amount of time that Lambda allows a function to run before stopping it. You can specify a size value from 1 second to 15 minutes.","markdownDescription":"The amount of time that Lambda allows a function to run before stopping it. You can specify a size value from 1 second to 15 minutes."},"memorySize":{"type":"string","pattern":"^[0-9]+ (B|KB|MB|GB|TB|PB)$","description":"The amount of memory available to the function at runtime. Increasing the function memory also increases its CPU allocation. The value can be any multiple of 1 MB. You can specify a size value from 128 MB to 10 GB.","markdownDescription":"The amount of memory available to the function at runtime. Increasing the function memory also increases its CPU allocation. The value can be any multiple of 1 MB. You can specify a size value from 128 MB to 10 GB."},"architecture":{"type":"string","enum":["x86_64","arm64"],"description":"The instruction set architecture that the function supports.","markdownDescription":"The instruction set architecture that the function supports."},"ephemeralStorageSize":{"type":"string","pattern":"^[0-9]+ (B|KB|MB|GB|TB|PB)$","description":"The size of the function's /tmp directory. You can specify a size value from 512 MB to 10 GB.","markdownDescription":"The size of the function's /tmp directory. You can specify a size value from 512 MB to 10 GB."},"retryAttempts":{"type":"integer","minimum":0,"maximum":2,"description":"The maximum number of times to retry when the function returns an error. You can specify a number from 0 to 2.","markdownDescription":"The maximum number of times to retry when the function returns an error. You can specify a number from 0 to 2."},"reserved":{"type":"integer","minimum":0,"description":"The number of simultaneous executions to reserve for the function. You can specify a number from 0.","markdownDescription":"The number of simultaneous executions to reserve for the function. You can specify a number from 0."},"layers":{"type":"array","items":{"type":"string"},"description":"A list of function layers to add to the function's execution environment. Specify each layer by its ARN, including the version.","markdownDescription":"A list of function layers to add to the function's execution environment. Specify each layer by its ARN, including the version."},"environment":{"type":"object","additionalProperties":{"type":"string"},"description":"Environment variable key-value pairs.","markdownDescription":"Environment variable key-value pairs."},"permissions":{"anyOf":[{"type":"object","properties":{"effect":{"type":"string","enum":["allow","deny"],"default":"allow"},"actions":{"anyOf":[{"type":"string"},{"type":"array","items":{"type":"string"}}]},"resources":{"anyOf":[{"anyOf":[{"type":"string","pattern":"^arn\\:"},{"type":"string","const":"*"}]},{"type":"array","items":{"anyOf":[{"type":"string","pattern":"^arn\\:"},{"type":"string","const":"*"}]}}]}},"required":["actions","resources"],"additionalProperties":false},{"type":"array","items":{"type":"object","properties":{"effect":{"type":"string","enum":["allow","deny"],"default":"allow"},"actions":{"anyOf":[{"type":"string"},{"type":"array","items":{"type":"string"}}]},"resources":{"anyOf":[{"anyOf":[{"type":"string","pattern":"^arn\\:"},{"type":"string","const":"*"}]},{"type":"array","items":{"anyOf":[{"type":"string","pattern":"^arn\\:"},{"type":"string","const":"*"}]}}]}},"required":["actions","resources"],"additionalProperties":false}}],"description":"Add IAM permissions to your function.","markdownDescription":"Add IAM permissions to your function."}},"required":["code"],"additionalProperties":false}],"description":"The authentication function for the pubsub API.","markdownDescription":"The authentication function for the pubsub API."},"domain":{"type":"string","minLength":3,"maxLength":24,"pattern":"^[a-z0-9\\-]+$","description":"The domain id to link your Pubsub API with.","markdownDescription":"The domain id to link your Pubsub API with."},"subDomain":{"type":"string"},"namespaces":{"type":"array","items":{"type":"string"},"description":"The namespaces for the PubSub API. If not set, a single \"default\" namespace is created.","markdownDescription":"The namespaces for the PubSub API. If not set, a single \"default\" namespace is created."},"logLevel":{"type":"string","enum":["none","info","error","debug","all"],"description":"The logging level for AppSync API. When set, logging is enabled.","markdownDescription":"The logging level for AppSync API. When set, logging is enabled."}},"required":["auth"],"additionalProperties":false},"description":"Define the pubsub API configuration in your stack.","markdownDescription":"Define the pubsub API configuration in your stack."},"alerts":{"type":"object","additionalProperties":{"anyOf":[{"type":"string","format":"email"},{"type":"array","items":{"type":"string","format":"email"}}]},"description":"Define the alerts in your app. Alerts are a way to send messages to one or more email addresses.","markdownDescription":"Define the alerts in your app. Alerts are a way to send messages to one or more email addresses."},"topics":{"type":"array","items":{"type":"string","minLength":3,"maxLength":256,"pattern":"^[a-z0-9\\-]+$","description":"Define event topic name.","markdownDescription":"Define event topic name."},"description":"Define the event topics for your app.","markdownDescription":"Define the event topics for your app."},"layers":{"type":"object","additionalProperties":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"object","properties":{"nocheck":{"type":"string","description":"Specifies a local file without checking if the file exists.","markdownDescription":"Specifies a local file without checking if the file exists."}},"required":["nocheck"],"additionalProperties":false}]},{"type":"object","properties":{"file":{"anyOf":[{"type":"string"},{"type":"object","properties":{"nocheck":{"type":"string","description":"Specifies a local file without checking if the file exists.","markdownDescription":"Specifies a local file without checking if the file exists."}},"required":["nocheck"],"additionalProperties":false}]},"runtimes":{"type":"array","items":{"type":"string","enum":["nodejs18.x","nodejs20.x","nodejs22.x"],"description":"The identifier of the function's runtime.","markdownDescription":"The identifier of the function's runtime."}},"architecture":{"type":"string","enum":["x86_64","arm64"],"description":"The instruction set architecture that the function supports.","markdownDescription":"The instruction set architecture that the function supports."},"packages":{"type":"array","items":{"type":"string"},"description":"Define the package names that are available bundled in the layer. Those packages are not bundled while bundling the lambda.","markdownDescription":"Define the package names that are available bundled in the layer. Those packages are not bundled while bundling the lambda."}},"required":["file"],"additionalProperties":false}]},"description":"Define the lambda layers in your stack.","markdownDescription":"Define the lambda layers in your stack."}},"additionalProperties":false,"default":{},"description":"Default properties\n\n@default {}","markdownDescription":"Default properties\n\n@default ```{}```"}},"required":["name","region","profile"],"additionalProperties":false}},"$schema":"http://json-schema.org/draft-07/schema#","title":"Awsless App Config"}
|
|
1
|
+
{"$ref":"#/definitions/app","definitions":{"app":{"type":"object","properties":{"$schema":{"type":"string"},"name":{"type":"string","minLength":3,"maxLength":24,"pattern":"^[a-z0-9\\-]+$","description":"App name.","markdownDescription":"App name."},"region":{"type":"string","enum":["us-east-2","us-east-1","us-west-1","us-west-2","af-south-1","ap-east-1","ap-south-2","ap-southeast-3","ap-southeast-4","ap-south-1","ap-northeast-3","ap-northeast-2","ap-southeast-1","ap-southeast-2","ap-northeast-1","ca-central-1","eu-central-1","eu-west-1","eu-west-2","eu-south-1","eu-west-3","eu-south-2","eu-north-1","eu-central-2","me-south-1","me-central-1","sa-east-1"],"description":"The AWS region to deploy to.","markdownDescription":"The AWS region to deploy to."},"profile":{"type":"string","description":"The AWS profile to deploy to.","markdownDescription":"The AWS profile to deploy to."},"protect":{"type":"boolean","default":false,"description":"Protect your app & stacks from being deleted.\n\n@default false","markdownDescription":"Protect your app & stacks from being deleted.\n\n@default ```false```"},"removal":{"type":"string","enum":["remove","retain"],"default":"remove","description":"Configure how your resources are handled when they have to be removed.\n\nremove: Removes the underlying resource.\nretain: Retains resources like S3 stores and DynamoDB tables. Removes everything else.\n\n@default \"remove\"","markdownDescription":"Configure how your resources are handled when they have to be removed.\n\nremove: Removes the underlying resource.\nretain: Retains resources like S3 stores and DynamoDB tables. Removes everything else.\n\n@default ```\"remove\"```"},"defaults":{"type":"object","properties":{"onFailure":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"object","properties":{"nocheck":{"type":"string","description":"Specifies a local file without checking if the file exists.","markdownDescription":"Specifies a local file without checking if the file exists."}},"required":["nocheck"],"additionalProperties":false}]},{"type":"object","properties":{"code":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"object","properties":{"nocheck":{"type":"string","description":"Specifies a local file without checking if the file exists.","markdownDescription":"Specifies a local file without checking if the file exists."}},"required":["nocheck"],"additionalProperties":false}]},{"type":"object","properties":{"file":{"anyOf":[{"type":"string"},{"type":"object","properties":{"nocheck":{"type":"string","description":"Specifies a local file without checking if the file exists.","markdownDescription":"Specifies a local file without checking if the file exists."}},"required":["nocheck"],"additionalProperties":false}],"description":"The file path of the function code.","markdownDescription":"The file path of the function code."},"minify":{"type":"boolean","description":"Minify the function code.","markdownDescription":"Minify the function code.","default":true},"external":{"type":"array","items":{"type":"string"},"description":"A list of external packages that won't be included in the bundle.","markdownDescription":"A list of external packages that won't be included in the bundle."},"importAsString":{"type":"array","items":{"type":"string"},"description":"A list of glob patterns, which specifies the files that should be imported as string.","markdownDescription":"A list of glob patterns, which specifies the files that should be imported as string."}},"required":["file"],"additionalProperties":false},{"type":"object","properties":{"bundle":{"anyOf":[{"type":"string"},{"type":"object","properties":{"nocheck":{"type":"string","description":"Specifies a local directory without checking if the directory exists.","markdownDescription":"Specifies a local directory without checking if the directory exists."}},"required":["nocheck"],"additionalProperties":false}],"description":"The directory that needs to be bundled.","markdownDescription":"The directory that needs to be bundled."}},"required":["bundle"],"additionalProperties":false}],"description":"Specify the code of your function.","markdownDescription":"Specify the code of your function."},"handler":{"type":"string","description":"The name of the exported method within your code that Lambda calls to run your function.","markdownDescription":"The name of the exported method within your code that Lambda calls to run your function."},"runtime":{"anyOf":[{"anyOf":[{"type":"string","enum":["nodejs18.x","nodejs20.x","nodejs22.x"]},{"type":"string","const":"container"}]},{"type":"string"}],"description":"The identifier of the function's runtime.","markdownDescription":"The identifier of the function's runtime."},"description":{"type":"string","description":"A description of the function.","markdownDescription":"A description of the function."},"warm":{"type":"integer","minimum":0,"maximum":10,"description":"Specify how many functions you want to warm up each 5 minutes. You can specify a number from 0 to 10.","markdownDescription":"Specify how many functions you want to warm up each 5 minutes. You can specify a number from 0 to 10."},"vpc":{"type":"boolean","description":"Put the function inside your global VPC.","markdownDescription":"Put the function inside your global VPC."},"log":{"anyOf":[{"type":"boolean"},{"type":"string","pattern":"^[0-9]+ (seconds?|minutes?|hours?|days?|weeks?)$","description":"The log retention duration.","markdownDescription":"The log retention duration."},{"type":"object","properties":{"retention":{"type":"string","pattern":"^[0-9]+ (seconds?|minutes?|hours?|days?|weeks?)$","description":"The log retention duration.","markdownDescription":"The log retention duration."},"format":{"type":"string","enum":["text","json"],"description":"The format in which Lambda sends your function's application and system logs to CloudWatch. Select between plain text and structured JSON.","markdownDescription":"The format in which Lambda sends your function's application and system logs to CloudWatch. Select between plain text and structured JSON."},"system":{"type":"string","enum":["debug","info","warn"],"description":"Set this property to filter the system logs for your function that Lambda sends to CloudWatch. Lambda only sends system logs at the selected level of detail and lower, where DEBUG is the highest level and WARN is the lowest.","markdownDescription":"Set this property to filter the system logs for your function that Lambda sends to CloudWatch. Lambda only sends system logs at the selected level of detail and lower, where DEBUG is the highest level and WARN is the lowest."},"level":{"type":"string","enum":["trace","debug","info","warn","error","fatal"],"description":"Set this property to filter the application logs for your function that Lambda sends to CloudWatch. Lambda only sends application logs at the selected level of detail and lower, where TRACE is the highest level and FATAL is the lowest.","markdownDescription":"Set this property to filter the application logs for your function that Lambda sends to CloudWatch. Lambda only sends application logs at the selected level of detail and lower, where TRACE is the highest level and FATAL is the lowest."}},"additionalProperties":false}],"description":"Enable logging to a CloudWatch log group. Providing a duration value will set the log retention time.","markdownDescription":"Enable logging to a CloudWatch log group. Providing a duration value will set the log retention time."},"timeout":{"type":"string","pattern":"^[0-9]+ (seconds?|minutes?|hours?|days?|weeks?)$","description":"The amount of time that Lambda allows a function to run before stopping it. You can specify a size value from 1 second to 15 minutes.","markdownDescription":"The amount of time that Lambda allows a function to run before stopping it. You can specify a size value from 1 second to 15 minutes."},"memorySize":{"type":"string","pattern":"^[0-9]+ (B|KB|MB|GB|TB|PB)$","description":"The amount of memory available to the function at runtime. Increasing the function memory also increases its CPU allocation. The value can be any multiple of 1 MB. You can specify a size value from 128 MB to 10 GB.","markdownDescription":"The amount of memory available to the function at runtime. Increasing the function memory also increases its CPU allocation. The value can be any multiple of 1 MB. You can specify a size value from 128 MB to 10 GB."},"architecture":{"type":"string","enum":["x86_64","arm64"],"description":"The instruction set architecture that the function supports.","markdownDescription":"The instruction set architecture that the function supports."},"ephemeralStorageSize":{"type":"string","pattern":"^[0-9]+ (B|KB|MB|GB|TB|PB)$","description":"The size of the function's /tmp directory. You can specify a size value from 512 MB to 10 GB.","markdownDescription":"The size of the function's /tmp directory. You can specify a size value from 512 MB to 10 GB."},"retryAttempts":{"type":"integer","minimum":0,"maximum":2,"description":"The maximum number of times to retry when the function returns an error. You can specify a number from 0 to 2.","markdownDescription":"The maximum number of times to retry when the function returns an error. You can specify a number from 0 to 2."},"reserved":{"type":"integer","minimum":0,"description":"The number of simultaneous executions to reserve for the function. You can specify a number from 0.","markdownDescription":"The number of simultaneous executions to reserve for the function. You can specify a number from 0."},"layers":{"type":"array","items":{"type":"string"},"description":"A list of function layers to add to the function's execution environment. Specify each layer by its ARN, including the version.","markdownDescription":"A list of function layers to add to the function's execution environment. Specify each layer by its ARN, including the version."},"environment":{"type":"object","additionalProperties":{"type":"string"},"description":"Environment variable key-value pairs.","markdownDescription":"Environment variable key-value pairs."},"permissions":{"anyOf":[{"type":"object","properties":{"effect":{"type":"string","enum":["allow","deny"],"default":"allow"},"actions":{"anyOf":[{"type":"string"},{"type":"array","items":{"type":"string"}}]},"resources":{"anyOf":[{"anyOf":[{"type":"string","pattern":"^arn\\:"},{"type":"string","const":"*"}]},{"type":"array","items":{"anyOf":[{"type":"string","pattern":"^arn\\:"},{"type":"string","const":"*"}]}}]}},"required":["actions","resources"],"additionalProperties":false},{"type":"array","items":{"type":"object","properties":{"effect":{"type":"string","enum":["allow","deny"],"default":"allow"},"actions":{"anyOf":[{"type":"string"},{"type":"array","items":{"type":"string"}}]},"resources":{"anyOf":[{"anyOf":[{"type":"string","pattern":"^arn\\:"},{"type":"string","const":"*"}]},{"type":"array","items":{"anyOf":[{"type":"string","pattern":"^arn\\:"},{"type":"string","const":"*"}]}}]}},"required":["actions","resources"],"additionalProperties":false}}],"description":"Add IAM permissions to your function.","markdownDescription":"Add IAM permissions to your function."}},"required":["code"],"additionalProperties":false}],"description":"Defining a onFailure handler will add a global onFailure handler for the following resources:\n- CloudWatch Scheduler\n- Async lambda functions\n- SQS queues\n- DynamoDB streams","markdownDescription":"Defining a onFailure handler will add a global onFailure handler for the following resources:\n- CloudWatch Scheduler\n- Async lambda functions\n- SQS queues\n- DynamoDB streams"},"onLog":{"anyOf":[{"anyOf":[{"anyOf":[{"type":"string"},{"type":"object","properties":{"nocheck":{"type":"string","description":"Specifies a local file without checking if the file exists.","markdownDescription":"Specifies a local file without checking if the file exists."}},"required":["nocheck"],"additionalProperties":false}]},{"type":"object","properties":{"code":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"object","properties":{"nocheck":{"type":"string","description":"Specifies a local file without checking if the file exists.","markdownDescription":"Specifies a local file without checking if the file exists."}},"required":["nocheck"],"additionalProperties":false}]},{"type":"object","properties":{"file":{"anyOf":[{"type":"string"},{"type":"object","properties":{"nocheck":{"type":"string","description":"Specifies a local file without checking if the file exists.","markdownDescription":"Specifies a local file without checking if the file exists."}},"required":["nocheck"],"additionalProperties":false}],"description":"The file path of the function code.","markdownDescription":"The file path of the function code."},"minify":{"type":"boolean","description":"Minify the function code.","markdownDescription":"Minify the function code.","default":true},"external":{"type":"array","items":{"type":"string"},"description":"A list of external packages that won't be included in the bundle.","markdownDescription":"A list of external packages that won't be included in the bundle."},"importAsString":{"type":"array","items":{"type":"string"},"description":"A list of glob patterns, which specifies the files that should be imported as string.","markdownDescription":"A list of glob patterns, which specifies the files that should be imported as string."}},"required":["file"],"additionalProperties":false},{"type":"object","properties":{"bundle":{"anyOf":[{"type":"string"},{"type":"object","properties":{"nocheck":{"type":"string","description":"Specifies a local directory without checking if the directory exists.","markdownDescription":"Specifies a local directory without checking if the directory exists."}},"required":["nocheck"],"additionalProperties":false}],"description":"The directory that needs to be bundled.","markdownDescription":"The directory that needs to be bundled."}},"required":["bundle"],"additionalProperties":false}],"description":"Specify the code of your function.","markdownDescription":"Specify the code of your function."},"handler":{"type":"string","description":"The name of the exported method within your code that Lambda calls to run your function.","markdownDescription":"The name of the exported method within your code that Lambda calls to run your function."},"runtime":{"anyOf":[{"anyOf":[{"type":"string","enum":["nodejs18.x","nodejs20.x","nodejs22.x"]},{"type":"string","const":"container"}]},{"type":"string"}],"description":"The identifier of the function's runtime.","markdownDescription":"The identifier of the function's runtime."},"description":{"type":"string","description":"A description of the function.","markdownDescription":"A description of the function."},"warm":{"type":"integer","minimum":0,"maximum":10,"description":"Specify how many functions you want to warm up each 5 minutes. You can specify a number from 0 to 10.","markdownDescription":"Specify how many functions you want to warm up each 5 minutes. You can specify a number from 0 to 10."},"vpc":{"type":"boolean","description":"Put the function inside your global VPC.","markdownDescription":"Put the function inside your global VPC."},"log":{"anyOf":[{"type":"boolean"},{"type":"string","pattern":"^[0-9]+ (seconds?|minutes?|hours?|days?|weeks?)$","description":"The log retention duration.","markdownDescription":"The log retention duration."},{"type":"object","properties":{"retention":{"type":"string","pattern":"^[0-9]+ (seconds?|minutes?|hours?|days?|weeks?)$","description":"The log retention duration.","markdownDescription":"The log retention duration."},"format":{"type":"string","enum":["text","json"],"description":"The format in which Lambda sends your function's application and system logs to CloudWatch. Select between plain text and structured JSON.","markdownDescription":"The format in which Lambda sends your function's application and system logs to CloudWatch. Select between plain text and structured JSON."},"system":{"type":"string","enum":["debug","info","warn"],"description":"Set this property to filter the system logs for your function that Lambda sends to CloudWatch. Lambda only sends system logs at the selected level of detail and lower, where DEBUG is the highest level and WARN is the lowest.","markdownDescription":"Set this property to filter the system logs for your function that Lambda sends to CloudWatch. Lambda only sends system logs at the selected level of detail and lower, where DEBUG is the highest level and WARN is the lowest."},"level":{"type":"string","enum":["trace","debug","info","warn","error","fatal"],"description":"Set this property to filter the application logs for your function that Lambda sends to CloudWatch. Lambda only sends application logs at the selected level of detail and lower, where TRACE is the highest level and FATAL is the lowest.","markdownDescription":"Set this property to filter the application logs for your function that Lambda sends to CloudWatch. Lambda only sends application logs at the selected level of detail and lower, where TRACE is the highest level and FATAL is the lowest."}},"additionalProperties":false}],"description":"Enable logging to a CloudWatch log group. Providing a duration value will set the log retention time.","markdownDescription":"Enable logging to a CloudWatch log group. Providing a duration value will set the log retention time."},"timeout":{"type":"string","pattern":"^[0-9]+ (seconds?|minutes?|hours?|days?|weeks?)$","description":"The amount of time that Lambda allows a function to run before stopping it. You can specify a size value from 1 second to 15 minutes.","markdownDescription":"The amount of time that Lambda allows a function to run before stopping it. You can specify a size value from 1 second to 15 minutes."},"memorySize":{"type":"string","pattern":"^[0-9]+ (B|KB|MB|GB|TB|PB)$","description":"The amount of memory available to the function at runtime. Increasing the function memory also increases its CPU allocation. The value can be any multiple of 1 MB. You can specify a size value from 128 MB to 10 GB.","markdownDescription":"The amount of memory available to the function at runtime. Increasing the function memory also increases its CPU allocation. The value can be any multiple of 1 MB. You can specify a size value from 128 MB to 10 GB."},"architecture":{"type":"string","enum":["x86_64","arm64"],"description":"The instruction set architecture that the function supports.","markdownDescription":"The instruction set architecture that the function supports."},"ephemeralStorageSize":{"type":"string","pattern":"^[0-9]+ (B|KB|MB|GB|TB|PB)$","description":"The size of the function's /tmp directory. You can specify a size value from 512 MB to 10 GB.","markdownDescription":"The size of the function's /tmp directory. You can specify a size value from 512 MB to 10 GB."},"retryAttempts":{"type":"integer","minimum":0,"maximum":2,"description":"The maximum number of times to retry when the function returns an error. You can specify a number from 0 to 2.","markdownDescription":"The maximum number of times to retry when the function returns an error. You can specify a number from 0 to 2."},"reserved":{"type":"integer","minimum":0,"description":"The number of simultaneous executions to reserve for the function. You can specify a number from 0.","markdownDescription":"The number of simultaneous executions to reserve for the function. You can specify a number from 0."},"layers":{"type":"array","items":{"type":"string"},"description":"A list of function layers to add to the function's execution environment. Specify each layer by its ARN, including the version.","markdownDescription":"A list of function layers to add to the function's execution environment. Specify each layer by its ARN, including the version."},"environment":{"type":"object","additionalProperties":{"type":"string"},"description":"Environment variable key-value pairs.","markdownDescription":"Environment variable key-value pairs."},"permissions":{"anyOf":[{"type":"object","properties":{"effect":{"type":"string","enum":["allow","deny"],"default":"allow"},"actions":{"anyOf":[{"type":"string"},{"type":"array","items":{"type":"string"}}]},"resources":{"anyOf":[{"anyOf":[{"type":"string","pattern":"^arn\\:"},{"type":"string","const":"*"}]},{"type":"array","items":{"anyOf":[{"type":"string","pattern":"^arn\\:"},{"type":"string","const":"*"}]}}]}},"required":["actions","resources"],"additionalProperties":false},{"type":"array","items":{"type":"object","properties":{"effect":{"type":"string","enum":["allow","deny"],"default":"allow"},"actions":{"anyOf":[{"type":"string"},{"type":"array","items":{"type":"string"}}]},"resources":{"anyOf":[{"anyOf":[{"type":"string","pattern":"^arn\\:"},{"type":"string","const":"*"}]},{"type":"array","items":{"anyOf":[{"type":"string","pattern":"^arn\\:"},{"type":"string","const":"*"}]}}]}},"required":["actions","resources"],"additionalProperties":false}}],"description":"Add IAM permissions to your function.","markdownDescription":"Add IAM permissions to your function."}},"required":["code"],"additionalProperties":false}]},{"type":"object","properties":{"consumer":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"object","properties":{"nocheck":{"type":"string","description":"Specifies a local file without checking if the file exists.","markdownDescription":"Specifies a local file without checking if the file exists."}},"required":["nocheck"],"additionalProperties":false}]},{"type":"object","properties":{"code":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"object","properties":{"nocheck":{"type":"string","description":"Specifies a local file without checking if the file exists.","markdownDescription":"Specifies a local file without checking if the file exists."}},"required":["nocheck"],"additionalProperties":false}]},{"type":"object","properties":{"file":{"anyOf":[{"type":"string"},{"type":"object","properties":{"nocheck":{"type":"string","description":"Specifies a local file without checking if the file exists.","markdownDescription":"Specifies a local file without checking if the file exists."}},"required":["nocheck"],"additionalProperties":false}],"description":"The file path of the function code.","markdownDescription":"The file path of the function code."},"minify":{"type":"boolean","description":"Minify the function code.","markdownDescription":"Minify the function code.","default":true},"external":{"type":"array","items":{"type":"string"},"description":"A list of external packages that won't be included in the bundle.","markdownDescription":"A list of external packages that won't be included in the bundle."},"importAsString":{"type":"array","items":{"type":"string"},"description":"A list of glob patterns, which specifies the files that should be imported as string.","markdownDescription":"A list of glob patterns, which specifies the files that should be imported as string."}},"required":["file"],"additionalProperties":false},{"type":"object","properties":{"bundle":{"anyOf":[{"type":"string"},{"type":"object","properties":{"nocheck":{"type":"string","description":"Specifies a local directory without checking if the directory exists.","markdownDescription":"Specifies a local directory without checking if the directory exists."}},"required":["nocheck"],"additionalProperties":false}],"description":"The directory that needs to be bundled.","markdownDescription":"The directory that needs to be bundled."}},"required":["bundle"],"additionalProperties":false}],"description":"Specify the code of your function.","markdownDescription":"Specify the code of your function."},"handler":{"type":"string","description":"The name of the exported method within your code that Lambda calls to run your function.","markdownDescription":"The name of the exported method within your code that Lambda calls to run your function."},"runtime":{"anyOf":[{"anyOf":[{"type":"string","enum":["nodejs18.x","nodejs20.x","nodejs22.x"]},{"type":"string","const":"container"}]},{"type":"string"}],"description":"The identifier of the function's runtime.","markdownDescription":"The identifier of the function's runtime."},"description":{"type":"string","description":"A description of the function.","markdownDescription":"A description of the function."},"warm":{"type":"integer","minimum":0,"maximum":10,"description":"Specify how many functions you want to warm up each 5 minutes. You can specify a number from 0 to 10.","markdownDescription":"Specify how many functions you want to warm up each 5 minutes. You can specify a number from 0 to 10."},"vpc":{"type":"boolean","description":"Put the function inside your global VPC.","markdownDescription":"Put the function inside your global VPC."},"log":{"anyOf":[{"type":"boolean"},{"type":"string","pattern":"^[0-9]+ (seconds?|minutes?|hours?|days?|weeks?)$","description":"The log retention duration.","markdownDescription":"The log retention duration."},{"type":"object","properties":{"retention":{"type":"string","pattern":"^[0-9]+ (seconds?|minutes?|hours?|days?|weeks?)$","description":"The log retention duration.","markdownDescription":"The log retention duration."},"format":{"type":"string","enum":["text","json"],"description":"The format in which Lambda sends your function's application and system logs to CloudWatch. Select between plain text and structured JSON.","markdownDescription":"The format in which Lambda sends your function's application and system logs to CloudWatch. Select between plain text and structured JSON."},"system":{"type":"string","enum":["debug","info","warn"],"description":"Set this property to filter the system logs for your function that Lambda sends to CloudWatch. Lambda only sends system logs at the selected level of detail and lower, where DEBUG is the highest level and WARN is the lowest.","markdownDescription":"Set this property to filter the system logs for your function that Lambda sends to CloudWatch. Lambda only sends system logs at the selected level of detail and lower, where DEBUG is the highest level and WARN is the lowest."},"level":{"type":"string","enum":["trace","debug","info","warn","error","fatal"],"description":"Set this property to filter the application logs for your function that Lambda sends to CloudWatch. Lambda only sends application logs at the selected level of detail and lower, where TRACE is the highest level and FATAL is the lowest.","markdownDescription":"Set this property to filter the application logs for your function that Lambda sends to CloudWatch. Lambda only sends application logs at the selected level of detail and lower, where TRACE is the highest level and FATAL is the lowest."}},"additionalProperties":false}],"description":"Enable logging to a CloudWatch log group. Providing a duration value will set the log retention time.","markdownDescription":"Enable logging to a CloudWatch log group. Providing a duration value will set the log retention time."},"timeout":{"type":"string","pattern":"^[0-9]+ (seconds?|minutes?|hours?|days?|weeks?)$","description":"The amount of time that Lambda allows a function to run before stopping it. You can specify a size value from 1 second to 15 minutes.","markdownDescription":"The amount of time that Lambda allows a function to run before stopping it. You can specify a size value from 1 second to 15 minutes."},"memorySize":{"type":"string","pattern":"^[0-9]+ (B|KB|MB|GB|TB|PB)$","description":"The amount of memory available to the function at runtime. Increasing the function memory also increases its CPU allocation. The value can be any multiple of 1 MB. You can specify a size value from 128 MB to 10 GB.","markdownDescription":"The amount of memory available to the function at runtime. Increasing the function memory also increases its CPU allocation. The value can be any multiple of 1 MB. You can specify a size value from 128 MB to 10 GB."},"architecture":{"type":"string","enum":["x86_64","arm64"],"description":"The instruction set architecture that the function supports.","markdownDescription":"The instruction set architecture that the function supports."},"ephemeralStorageSize":{"type":"string","pattern":"^[0-9]+ (B|KB|MB|GB|TB|PB)$","description":"The size of the function's /tmp directory. You can specify a size value from 512 MB to 10 GB.","markdownDescription":"The size of the function's /tmp directory. You can specify a size value from 512 MB to 10 GB."},"retryAttempts":{"type":"integer","minimum":0,"maximum":2,"description":"The maximum number of times to retry when the function returns an error. You can specify a number from 0 to 2.","markdownDescription":"The maximum number of times to retry when the function returns an error. You can specify a number from 0 to 2."},"reserved":{"type":"integer","minimum":0,"description":"The number of simultaneous executions to reserve for the function. You can specify a number from 0.","markdownDescription":"The number of simultaneous executions to reserve for the function. You can specify a number from 0."},"layers":{"type":"array","items":{"type":"string"},"description":"A list of function layers to add to the function's execution environment. Specify each layer by its ARN, including the version.","markdownDescription":"A list of function layers to add to the function's execution environment. Specify each layer by its ARN, including the version."},"environment":{"type":"object","additionalProperties":{"type":"string"},"description":"Environment variable key-value pairs.","markdownDescription":"Environment variable key-value pairs."},"permissions":{"anyOf":[{"type":"object","properties":{"effect":{"type":"string","enum":["allow","deny"],"default":"allow"},"actions":{"anyOf":[{"type":"string"},{"type":"array","items":{"type":"string"}}]},"resources":{"anyOf":[{"anyOf":[{"type":"string","pattern":"^arn\\:"},{"type":"string","const":"*"}]},{"type":"array","items":{"anyOf":[{"type":"string","pattern":"^arn\\:"},{"type":"string","const":"*"}]}}]}},"required":["actions","resources"],"additionalProperties":false},{"type":"array","items":{"type":"object","properties":{"effect":{"type":"string","enum":["allow","deny"],"default":"allow"},"actions":{"anyOf":[{"type":"string"},{"type":"array","items":{"type":"string"}}]},"resources":{"anyOf":[{"anyOf":[{"type":"string","pattern":"^arn\\:"},{"type":"string","const":"*"}]},{"type":"array","items":{"anyOf":[{"type":"string","pattern":"^arn\\:"},{"type":"string","const":"*"}]}}]}},"required":["actions","resources"],"additionalProperties":false}}],"description":"Add IAM permissions to your function.","markdownDescription":"Add IAM permissions to your function."}},"required":["code"],"additionalProperties":false}]},"filter":{"type":"array","items":{"type":"string","enum":["trace","debug","info","warn","error","fatal"]},"description":"The log level that will gets delivered to the consumer.","markdownDescription":"The log level that will gets delivered to the consumer."}},"required":["consumer","filter"],"additionalProperties":false}],"description":"Define a subscription on all Lambda functions logs.","markdownDescription":"Define a subscription on all Lambda functions logs."},"auth":{"type":"object","additionalProperties":{"type":"object","properties":{"allowUserRegistration":{"type":"boolean","default":true,"description":"Specifies whether users can create an user account or if only the administrator can.","markdownDescription":"Specifies whether users can create an user account or if only the administrator can."},"username":{"type":"object","properties":{"caseSensitive":{"type":"boolean","default":false,"description":"Specifies whether username case sensitivity will be enabled. When usernames and email addresses are case insensitive, users can sign in as the same user when they enter a different capitalization of their user name.","markdownDescription":"Specifies whether username case sensitivity will be enabled. When usernames and email addresses are case insensitive, users can sign in as the same user when they enter a different capitalization of their user name."}},"additionalProperties":false,"default":{},"description":"The username policy.","markdownDescription":"The username policy."},"password":{"type":"object","properties":{"minLength":{"type":"integer","minimum":6,"maximum":99,"default":12,"description":"Required users to have at least the minimum password length.","markdownDescription":"Required users to have at least the minimum password length."},"uppercase":{"type":"boolean","default":true,"description":"Required users to use at least one uppercase letter in their password.","markdownDescription":"Required users to use at least one uppercase letter in their password."},"lowercase":{"type":"boolean","default":true,"description":"Required users to use at least one lowercase letter in their password.","markdownDescription":"Required users to use at least one lowercase letter in their password."},"numbers":{"type":"boolean","default":true,"description":"Required users to use at least one number in their password.","markdownDescription":"Required users to use at least one number in their password."},"symbols":{"type":"boolean","default":true,"description":"Required users to use at least one symbol in their password.","markdownDescription":"Required users to use at least one symbol in their password."},"temporaryPasswordValidity":{"type":"string","pattern":"^[0-9]+ (seconds?|minutes?|hours?|days?|weeks?)$","default":"7 days","description":"The duration a temporary password is valid. If the user doesn't sign in during this time, an administrator must reset their password.","markdownDescription":"The duration a temporary password is valid. If the user doesn't sign in during this time, an administrator must reset their password."}},"additionalProperties":false,"default":{},"description":"The password policy.","markdownDescription":"The password policy."},"validity":{"type":"object","properties":{"idToken":{"type":"string","pattern":"^[0-9]+ (seconds?|minutes?|hours?|days?|weeks?)$","default":"1 hour","description":"The ID token time limit. After this limit expires, your user can't use their ID token.","markdownDescription":"The ID token time limit. After this limit expires, your user can't use their ID token."},"accessToken":{"type":"string","pattern":"^[0-9]+ (seconds?|minutes?|hours?|days?|weeks?)$","default":"1 hour","description":"The access token time limit. After this limit expires, your user can't use their access token.","markdownDescription":"The access token time limit. After this limit expires, your user can't use their access token."},"refreshToken":{"type":"string","pattern":"^[0-9]+ (seconds?|minutes?|hours?|days?|weeks?)$","default":"365 days","description":"The refresh token time limit. After this limit expires, your user can't use their refresh token.","markdownDescription":"The refresh token time limit. After this limit expires, your user can't use their refresh token."}},"additionalProperties":false,"default":{},"description":"Specifies the validity duration for every JWT token.","markdownDescription":"Specifies the validity duration for every JWT token."}},"additionalProperties":false},"default":{},"description":"Define the authenticatable users in your app.","markdownDescription":"Define the authenticatable users in your app."},"domains":{"type":"object","additionalProperties":{"type":"object","properties":{"domain":{"type":"string","pattern":"[a-z\\-\\_\\.]","description":"Define the domain name","markdownDescription":"Define the domain name"},"dns":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string","pattern":"[a-z\\-\\_\\.]","description":"Enter a fully qualified domain name, for example, www.example.com. You can optionally include a trailing dot. If you omit the trailing dot, Amazon Route 53 assumes that the domain name that you specify is fully qualified. This means that Route 53 treats www.example.com (without a trailing dot) and www.example.com. (with a trailing dot) as identical.","markdownDescription":"Enter a fully qualified domain name, for example, www.example.com. You can optionally include a trailing dot. If you omit the trailing dot, Amazon Route 53 assumes that the domain name that you specify is fully qualified. This means that Route 53 treats www.example.com (without a trailing dot) and www.example.com. (with a trailing dot) as identical."},"type":{"type":"string","enum":["A","AAAA","CAA","CNAME","DS","MX","NAPTR","NS","PTR","SOA","SPF","SRV","TXT"],"description":"The DNS record type.","markdownDescription":"The DNS record type."},"ttl":{"type":"string","pattern":"^[0-9]+ (seconds?|minutes?|hours?|days?|weeks?)$","description":"The resource record cache time to live (TTL).","markdownDescription":"The resource record cache time to live (TTL)."},"records":{"type":"array","items":{"type":"string"},"description":"One or more values that correspond with the value that you specified for the Type property.","markdownDescription":"One or more values that correspond with the value that you specified for the Type property."}},"required":["type","ttl","records"],"additionalProperties":false},"description":"Define the domain dns records","markdownDescription":"Define the domain dns records"}},"required":["domain"],"additionalProperties":false},"description":"Define the domains for your application.","markdownDescription":"Define the domains for your application."},"function":{"type":"object","properties":{"runtime":{"anyOf":[{"anyOf":[{"type":"string","enum":["nodejs18.x","nodejs20.x","nodejs22.x"]},{"type":"string","const":"container"}]},{"type":"string"}],"description":"The identifier of the function's runtime.","markdownDescription":"The identifier of the function's runtime.","default":"nodejs20.x"},"handler":{"type":"string","description":"The name of the exported method within your code that Lambda calls to run your function.","markdownDescription":"The name of the exported method within your code that Lambda calls to run your function.","default":"index.default"},"warm":{"type":"integer","minimum":0,"maximum":10,"description":"Specify how many functions you want to warm up each 5 minutes. You can specify a number from 0 to 10.","markdownDescription":"Specify how many functions you want to warm up each 5 minutes. You can specify a number from 0 to 10.","default":0},"vpc":{"type":"boolean","description":"Put the function inside your global VPC.","markdownDescription":"Put the function inside your global VPC.","default":false},"log":{"anyOf":[{"type":"boolean"},{"type":"string","pattern":"^[0-9]+ (seconds?|minutes?|hours?|days?|weeks?)$","description":"The log retention duration.","markdownDescription":"The log retention duration."},{"type":"object","properties":{"retention":{"type":"string","pattern":"^[0-9]+ (seconds?|minutes?|hours?|days?|weeks?)$","description":"The log retention duration.","markdownDescription":"The log retention duration."},"format":{"type":"string","enum":["text","json"],"description":"The format in which Lambda sends your function's application and system logs to CloudWatch. Select between plain text and structured JSON.","markdownDescription":"The format in which Lambda sends your function's application and system logs to CloudWatch. Select between plain text and structured JSON."},"system":{"type":"string","enum":["debug","info","warn"],"description":"Set this property to filter the system logs for your function that Lambda sends to CloudWatch. Lambda only sends system logs at the selected level of detail and lower, where DEBUG is the highest level and WARN is the lowest.","markdownDescription":"Set this property to filter the system logs for your function that Lambda sends to CloudWatch. Lambda only sends system logs at the selected level of detail and lower, where DEBUG is the highest level and WARN is the lowest."},"level":{"type":"string","enum":["trace","debug","info","warn","error","fatal"],"description":"Set this property to filter the application logs for your function that Lambda sends to CloudWatch. Lambda only sends application logs at the selected level of detail and lower, where TRACE is the highest level and FATAL is the lowest.","markdownDescription":"Set this property to filter the application logs for your function that Lambda sends to CloudWatch. Lambda only sends application logs at the selected level of detail and lower, where TRACE is the highest level and FATAL is the lowest."}},"additionalProperties":false}],"description":"Enable logging to a CloudWatch log group. Providing a duration value will set the log retention time.","markdownDescription":"Enable logging to a CloudWatch log group. Providing a duration value will set the log retention time.","default":true},"timeout":{"type":"string","pattern":"^[0-9]+ (seconds?|minutes?|hours?|days?|weeks?)$","description":"The amount of time that Lambda allows a function to run before stopping it. You can specify a size value from 1 second to 15 minutes.","markdownDescription":"The amount of time that Lambda allows a function to run before stopping it. You can specify a size value from 1 second to 15 minutes.","default":"10 seconds"},"memorySize":{"type":"string","pattern":"^[0-9]+ (B|KB|MB|GB|TB|PB)$","description":"The amount of memory available to the function at runtime. Increasing the function memory also increases its CPU allocation. The value can be any multiple of 1 MB. You can specify a size value from 128 MB to 10 GB.","markdownDescription":"The amount of memory available to the function at runtime. Increasing the function memory also increases its CPU allocation. The value can be any multiple of 1 MB. You can specify a size value from 128 MB to 10 GB.","default":"128 MB"},"architecture":{"type":"string","enum":["x86_64","arm64"],"description":"The instruction set architecture that the function supports.","markdownDescription":"The instruction set architecture that the function supports.","default":"arm64"},"ephemeralStorageSize":{"type":"string","pattern":"^[0-9]+ (B|KB|MB|GB|TB|PB)$","description":"The size of the function's /tmp directory. You can specify a size value from 512 MB to 10 GB.","markdownDescription":"The size of the function's /tmp directory. You can specify a size value from 512 MB to 10 GB.","default":"512 MB"},"retryAttempts":{"type":"integer","minimum":0,"maximum":2,"description":"The maximum number of times to retry when the function returns an error. You can specify a number from 0 to 2.","markdownDescription":"The maximum number of times to retry when the function returns an error. You can specify a number from 0 to 2.","default":2},"reserved":{"type":"integer","minimum":0,"description":"The number of simultaneous executions to reserve for the function. You can specify a number from 0.","markdownDescription":"The number of simultaneous executions to reserve for the function. You can specify a number from 0."},"layers":{"type":"array","items":{"type":"string"},"description":"A list of function layers to add to the function's execution environment. Specify each layer by its ARN, including the version.","markdownDescription":"A list of function layers to add to the function's execution environment. Specify each layer by its ARN, including the version."},"environment":{"type":"object","additionalProperties":{"type":"string"},"description":"Environment variable key-value pairs.","markdownDescription":"Environment variable key-value pairs."},"permissions":{"anyOf":[{"type":"object","properties":{"effect":{"type":"string","enum":["allow","deny"],"default":"allow"},"actions":{"anyOf":[{"type":"string"},{"type":"array","items":{"type":"string"}}]},"resources":{"anyOf":[{"anyOf":[{"type":"string","pattern":"^arn\\:"},{"type":"string","const":"*"}]},{"type":"array","items":{"anyOf":[{"type":"string","pattern":"^arn\\:"},{"type":"string","const":"*"}]}}]}},"required":["actions","resources"],"additionalProperties":false},{"type":"array","items":{"type":"object","properties":{"effect":{"type":"string","enum":["allow","deny"],"default":"allow"},"actions":{"anyOf":[{"type":"string"},{"type":"array","items":{"type":"string"}}]},"resources":{"anyOf":[{"anyOf":[{"type":"string","pattern":"^arn\\:"},{"type":"string","const":"*"}]},{"type":"array","items":{"anyOf":[{"type":"string","pattern":"^arn\\:"},{"type":"string","const":"*"}]}}]}},"required":["actions","resources"],"additionalProperties":false}}],"description":"Add IAM permissions to your function.","markdownDescription":"Add IAM permissions to your function."}},"additionalProperties":false,"default":{}},"instance":{"type":"object","properties":{"image":{"type":"string","description":"The URL of the container image to use.","markdownDescription":"The URL of the container image to use."},"cpu":{"type":"number","enum":[0.25,0.5,1,2,4,8,16],"description":"The number of virtual CPU units (vCPU) used by the instance. Valid values: 0.25, 0.5, 1, 2, 4, 8, 16 vCPU.","markdownDescription":"The number of virtual CPU units (vCPU) used by the instance. Valid values: 0.25, 0.5, 1, 2, 4, 8, 16 vCPU.","default":0.25},"memorySize":{"type":"string","pattern":"^[0-9]+ (B|KB|MB|GB|TB|PB)$","description":"The amount of memory (in MiB) used by the instance. Valid memory values depend on the CPU configuration.","markdownDescription":"The amount of memory (in MiB) used by the instance. Valid memory values depend on the CPU configuration.","default":"512 MB"},"architecture":{"type":"string","enum":["x86_64","arm64"],"description":"The instruction set architecture that the instance supports.","markdownDescription":"The instruction set architecture that the instance supports.","default":"arm64"},"environment":{"type":"object","additionalProperties":{"type":"string"},"description":"Environment variable key-value pairs.","markdownDescription":"Environment variable key-value pairs."},"permissions":{"anyOf":[{"type":"object","properties":{"effect":{"type":"string","enum":["allow","deny"],"default":"allow"},"actions":{"anyOf":[{"type":"string"},{"type":"array","items":{"type":"string"}}]},"resources":{"anyOf":[{"anyOf":[{"type":"string","pattern":"^arn\\:"},{"type":"string","const":"*"}]},{"type":"array","items":{"anyOf":[{"type":"string","pattern":"^arn\\:"},{"type":"string","const":"*"}]}}]}},"required":["actions","resources"],"additionalProperties":false},{"type":"array","items":{"type":"object","properties":{"effect":{"type":"string","enum":["allow","deny"],"default":"allow"},"actions":{"anyOf":[{"type":"string"},{"type":"array","items":{"type":"string"}}]},"resources":{"anyOf":[{"anyOf":[{"type":"string","pattern":"^arn\\:"},{"type":"string","const":"*"}]},{"type":"array","items":{"anyOf":[{"type":"string","pattern":"^arn\\:"},{"type":"string","const":"*"}]}}]}},"required":["actions","resources"],"additionalProperties":false}}],"description":"Add IAM permissions to your instance.","markdownDescription":"Add IAM permissions to your instance."},"healthCheck":{"type":"object","properties":{"path":{"type":"string","description":"The path that the container runs to determine if it is healthy.","markdownDescription":"The path that the container runs to determine if it is healthy."},"interval":{"type":"string","pattern":"^[0-9]+ (seconds?|minutes?|hours?|days?|weeks?)$","description":"The time period in seconds between each health check execution.","markdownDescription":"The time period in seconds between each health check execution."},"retries":{"type":"integer","minimum":1,"maximum":10,"description":"The number of times to retry a failed health check before the container is considered unhealthy.","markdownDescription":"The number of times to retry a failed health check before the container is considered unhealthy."},"startPeriod":{"type":"string","pattern":"^[0-9]+ (seconds?|minutes?|hours?|days?|weeks?)$","description":"The optional grace period to provide containers time to bootstrap before failed health checks count towards the maximum number of retries.","markdownDescription":"The optional grace period to provide containers time to bootstrap before failed health checks count towards the maximum number of retries."},"timeout":{"type":"string","pattern":"^[0-9]+ (seconds?|minutes?|hours?|days?|weeks?)$","description":"The time period in seconds to wait for a health check to succeed before it is considered a failure.","markdownDescription":"The time period in seconds to wait for a health check to succeed before it is considered a failure."}},"required":["path","interval","retries","startPeriod","timeout"],"additionalProperties":false,"description":"The health check command and associated configuration parameters for the container.","markdownDescription":"The health check command and associated configuration parameters for the container."},"log":{"anyOf":[{"type":"boolean"},{"type":"string","pattern":"^[0-9]+ (seconds?|minutes?|hours?|days?|weeks?)$","description":"The log retention duration.","markdownDescription":"The log retention duration."},{"type":"object","properties":{"retention":{"type":"string","pattern":"^[0-9]+ (seconds?|minutes?|hours?|days?|weeks?)$","description":"The log retention duration.","markdownDescription":"The log retention duration."}},"additionalProperties":false}],"description":"Enable logging to a CloudWatch log group. Providing a duration value will set the log retention time.","markdownDescription":"Enable logging to a CloudWatch log group. Providing a duration value will set the log retention time.","default":true}},"additionalProperties":false,"default":{}},"queue":{"type":"object","properties":{"retentionPeriod":{"type":"string","pattern":"^[0-9]+ (seconds?|minutes?|hours?|days?|weeks?)$","description":"The number of seconds that Amazon SQS retains a message. You can specify a duration from 1 minute to 14 days.","markdownDescription":"The number of seconds that Amazon SQS retains a message. You can specify a duration from 1 minute to 14 days.","default":"7 days"},"visibilityTimeout":{"type":"string","pattern":"^[0-9]+ (seconds?|minutes?|hours?|days?|weeks?)$","description":"The length of time during which a message will be unavailable after a message is delivered from the queue. This blocks other components from receiving the same message and gives the initial component time to process and delete the message from the queue. You can specify a duration from 0 to 12 hours.","markdownDescription":"The length of time during which a message will be unavailable after a message is delivered from the queue. This blocks other components from receiving the same message and gives the initial component time to process and delete the message from the queue. You can specify a duration from 0 to 12 hours.","default":"30 seconds"},"deliveryDelay":{"type":"string","pattern":"^[0-9]+ (seconds?|minutes?|hours?|days?|weeks?)$","description":"The time in seconds for which the delivery of all messages in the queue is delayed. You can specify a duration from 0 to 15 minutes.","markdownDescription":"The time in seconds for which the delivery of all messages in the queue is delayed. You can specify a duration from 0 to 15 minutes.","default":"0 seconds"},"receiveMessageWaitTime":{"type":"string","pattern":"^[0-9]+ (seconds?|minutes?|hours?|days?|weeks?)$","description":"Specifies the duration, that the ReceiveMessage action call waits until a message is in the queue in order to include it in the response, rather than returning an empty response if a message isn't yet available. You can specify a duration from 1 to 20 seconds. Short polling is used as the default.","markdownDescription":"Specifies the duration, that the ReceiveMessage action call waits until a message is in the queue in order to include it in the response, rather than returning an empty response if a message isn't yet available. You can specify a duration from 1 to 20 seconds. Short polling is used as the default."},"maxMessageSize":{"type":"string","pattern":"^[0-9]+ (B|KB|MB|GB|TB|PB)$","description":"The limit of how many bytes that a message can contain before Amazon SQS rejects it. You can specify an size from 1 KB to 256 KB.","markdownDescription":"The limit of how many bytes that a message can contain before Amazon SQS rejects it. You can specify an size from 1 KB to 256 KB.","default":"256 KB"},"batchSize":{"type":"integer","minimum":1,"maximum":10000,"description":"The maximum number of records in each batch that Lambda pulls from your queue and sends to your function. Lambda passes all of the records in the batch to the function in a single call, up to the payload limit for synchronous invocation (6 MB). You can specify an integer from 1 to 10000.","markdownDescription":"The maximum number of records in each batch that Lambda pulls from your queue and sends to your function. Lambda passes all of the records in the batch to the function in a single call, up to the payload limit for synchronous invocation (6 MB). You can specify an integer from 1 to 10000.","default":10},"maxConcurrency":{"type":"integer","minimum":2,"maximum":1000,"description":"Limits the number of concurrent instances that the queue worker can invoke. You can specify an integer from 2 to 1000.","markdownDescription":"Limits the number of concurrent instances that the queue worker can invoke. You can specify an integer from 2 to 1000."},"maxBatchingWindow":{"type":"string","pattern":"^[0-9]+ (seconds?|minutes?|hours?|days?|weeks?)$","description":"The maximum amount of time, that Lambda spends gathering records before invoking the function. You can specify an duration from 0 seconds to 5 minutes.","markdownDescription":"The maximum amount of time, that Lambda spends gathering records before invoking the function. You can specify an duration from 0 seconds to 5 minutes."}},"additionalProperties":false,"default":{}},"rest":{"type":"object","additionalProperties":{"type":"object","properties":{"domain":{"type":"string","minLength":3,"maxLength":24,"pattern":"^[a-z0-9\\-]+$","description":"The domain id to link your API with.","markdownDescription":"The domain id to link your API with."},"subDomain":{"type":"string"}},"additionalProperties":false},"description":"Define your global REST API's.","markdownDescription":"Define your global REST API's."},"rpc":{"type":"object","additionalProperties":{"type":"object","properties":{"domain":{"type":"string","minLength":3,"maxLength":24,"pattern":"^[a-z0-9\\-]+$","description":"The domain id to link your RPC API with.","markdownDescription":"The domain id to link your RPC API with."},"subDomain":{"type":"string"},"auth":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"object","properties":{"nocheck":{"type":"string","description":"Specifies a local file without checking if the file exists.","markdownDescription":"Specifies a local file without checking if the file exists."}},"required":["nocheck"],"additionalProperties":false}]},{"type":"object","properties":{"code":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"object","properties":{"nocheck":{"type":"string","description":"Specifies a local file without checking if the file exists.","markdownDescription":"Specifies a local file without checking if the file exists."}},"required":["nocheck"],"additionalProperties":false}]},{"type":"object","properties":{"file":{"anyOf":[{"type":"string"},{"type":"object","properties":{"nocheck":{"type":"string","description":"Specifies a local file without checking if the file exists.","markdownDescription":"Specifies a local file without checking if the file exists."}},"required":["nocheck"],"additionalProperties":false}],"description":"The file path of the function code.","markdownDescription":"The file path of the function code."},"minify":{"type":"boolean","description":"Minify the function code.","markdownDescription":"Minify the function code.","default":true},"external":{"type":"array","items":{"type":"string"},"description":"A list of external packages that won't be included in the bundle.","markdownDescription":"A list of external packages that won't be included in the bundle."},"importAsString":{"type":"array","items":{"type":"string"},"description":"A list of glob patterns, which specifies the files that should be imported as string.","markdownDescription":"A list of glob patterns, which specifies the files that should be imported as string."}},"required":["file"],"additionalProperties":false},{"type":"object","properties":{"bundle":{"anyOf":[{"type":"string"},{"type":"object","properties":{"nocheck":{"type":"string","description":"Specifies a local directory without checking if the directory exists.","markdownDescription":"Specifies a local directory without checking if the directory exists."}},"required":["nocheck"],"additionalProperties":false}],"description":"The directory that needs to be bundled.","markdownDescription":"The directory that needs to be bundled."}},"required":["bundle"],"additionalProperties":false}],"description":"Specify the code of your function.","markdownDescription":"Specify the code of your function."},"handler":{"type":"string","description":"The name of the exported method within your code that Lambda calls to run your function.","markdownDescription":"The name of the exported method within your code that Lambda calls to run your function."},"runtime":{"anyOf":[{"anyOf":[{"type":"string","enum":["nodejs18.x","nodejs20.x","nodejs22.x"]},{"type":"string","const":"container"}]},{"type":"string"}],"description":"The identifier of the function's runtime.","markdownDescription":"The identifier of the function's runtime."},"description":{"type":"string","description":"A description of the function.","markdownDescription":"A description of the function."},"warm":{"type":"integer","minimum":0,"maximum":10,"description":"Specify how many functions you want to warm up each 5 minutes. You can specify a number from 0 to 10.","markdownDescription":"Specify how many functions you want to warm up each 5 minutes. You can specify a number from 0 to 10."},"vpc":{"type":"boolean","description":"Put the function inside your global VPC.","markdownDescription":"Put the function inside your global VPC."},"log":{"anyOf":[{"type":"boolean"},{"type":"string","pattern":"^[0-9]+ (seconds?|minutes?|hours?|days?|weeks?)$","description":"The log retention duration.","markdownDescription":"The log retention duration."},{"type":"object","properties":{"retention":{"type":"string","pattern":"^[0-9]+ (seconds?|minutes?|hours?|days?|weeks?)$","description":"The log retention duration.","markdownDescription":"The log retention duration."},"format":{"type":"string","enum":["text","json"],"description":"The format in which Lambda sends your function's application and system logs to CloudWatch. Select between plain text and structured JSON.","markdownDescription":"The format in which Lambda sends your function's application and system logs to CloudWatch. Select between plain text and structured JSON."},"system":{"type":"string","enum":["debug","info","warn"],"description":"Set this property to filter the system logs for your function that Lambda sends to CloudWatch. Lambda only sends system logs at the selected level of detail and lower, where DEBUG is the highest level and WARN is the lowest.","markdownDescription":"Set this property to filter the system logs for your function that Lambda sends to CloudWatch. Lambda only sends system logs at the selected level of detail and lower, where DEBUG is the highest level and WARN is the lowest."},"level":{"type":"string","enum":["trace","debug","info","warn","error","fatal"],"description":"Set this property to filter the application logs for your function that Lambda sends to CloudWatch. Lambda only sends application logs at the selected level of detail and lower, where TRACE is the highest level and FATAL is the lowest.","markdownDescription":"Set this property to filter the application logs for your function that Lambda sends to CloudWatch. Lambda only sends application logs at the selected level of detail and lower, where TRACE is the highest level and FATAL is the lowest."}},"additionalProperties":false}],"description":"Enable logging to a CloudWatch log group. Providing a duration value will set the log retention time.","markdownDescription":"Enable logging to a CloudWatch log group. Providing a duration value will set the log retention time."},"timeout":{"type":"string","pattern":"^[0-9]+ (seconds?|minutes?|hours?|days?|weeks?)$","description":"The amount of time that Lambda allows a function to run before stopping it. You can specify a size value from 1 second to 15 minutes.","markdownDescription":"The amount of time that Lambda allows a function to run before stopping it. You can specify a size value from 1 second to 15 minutes."},"memorySize":{"type":"string","pattern":"^[0-9]+ (B|KB|MB|GB|TB|PB)$","description":"The amount of memory available to the function at runtime. Increasing the function memory also increases its CPU allocation. The value can be any multiple of 1 MB. You can specify a size value from 128 MB to 10 GB.","markdownDescription":"The amount of memory available to the function at runtime. Increasing the function memory also increases its CPU allocation. The value can be any multiple of 1 MB. You can specify a size value from 128 MB to 10 GB."},"architecture":{"type":"string","enum":["x86_64","arm64"],"description":"The instruction set architecture that the function supports.","markdownDescription":"The instruction set architecture that the function supports."},"ephemeralStorageSize":{"type":"string","pattern":"^[0-9]+ (B|KB|MB|GB|TB|PB)$","description":"The size of the function's /tmp directory. You can specify a size value from 512 MB to 10 GB.","markdownDescription":"The size of the function's /tmp directory. You can specify a size value from 512 MB to 10 GB."},"retryAttempts":{"type":"integer","minimum":0,"maximum":2,"description":"The maximum number of times to retry when the function returns an error. You can specify a number from 0 to 2.","markdownDescription":"The maximum number of times to retry when the function returns an error. You can specify a number from 0 to 2."},"reserved":{"type":"integer","minimum":0,"description":"The number of simultaneous executions to reserve for the function. You can specify a number from 0.","markdownDescription":"The number of simultaneous executions to reserve for the function. You can specify a number from 0."},"layers":{"type":"array","items":{"type":"string"},"description":"A list of function layers to add to the function's execution environment. Specify each layer by its ARN, including the version.","markdownDescription":"A list of function layers to add to the function's execution environment. Specify each layer by its ARN, including the version."},"environment":{"type":"object","additionalProperties":{"type":"string"},"description":"Environment variable key-value pairs.","markdownDescription":"Environment variable key-value pairs."},"permissions":{"anyOf":[{"type":"object","properties":{"effect":{"type":"string","enum":["allow","deny"],"default":"allow"},"actions":{"anyOf":[{"type":"string"},{"type":"array","items":{"type":"string"}}]},"resources":{"anyOf":[{"anyOf":[{"type":"string","pattern":"^arn\\:"},{"type":"string","const":"*"}]},{"type":"array","items":{"anyOf":[{"type":"string","pattern":"^arn\\:"},{"type":"string","const":"*"}]}}]}},"required":["actions","resources"],"additionalProperties":false},{"type":"array","items":{"type":"object","properties":{"effect":{"type":"string","enum":["allow","deny"],"default":"allow"},"actions":{"anyOf":[{"type":"string"},{"type":"array","items":{"type":"string"}}]},"resources":{"anyOf":[{"anyOf":[{"type":"string","pattern":"^arn\\:"},{"type":"string","const":"*"}]},{"type":"array","items":{"anyOf":[{"type":"string","pattern":"^arn\\:"},{"type":"string","const":"*"}]}}]}},"required":["actions","resources"],"additionalProperties":false}}],"description":"Add IAM permissions to your function.","markdownDescription":"Add IAM permissions to your function."}},"required":["code"],"additionalProperties":false}]},"log":{"anyOf":[{"type":"boolean"},{"type":"string","pattern":"^[0-9]+ (seconds?|minutes?|hours?|days?|weeks?)$","description":"The log retention duration.","markdownDescription":"The log retention duration."},{"type":"object","properties":{"retention":{"type":"string","pattern":"^[0-9]+ (seconds?|minutes?|hours?|days?|weeks?)$","description":"The log retention duration.","markdownDescription":"The log retention duration."},"format":{"type":"string","enum":["text","json"],"description":"The format in which Lambda sends your function's application and system logs to CloudWatch. Select between plain text and structured JSON.","markdownDescription":"The format in which Lambda sends your function's application and system logs to CloudWatch. Select between plain text and structured JSON."},"system":{"type":"string","enum":["debug","info","warn"],"description":"Set this property to filter the system logs for your function that Lambda sends to CloudWatch. Lambda only sends system logs at the selected level of detail and lower, where DEBUG is the highest level and WARN is the lowest.","markdownDescription":"Set this property to filter the system logs for your function that Lambda sends to CloudWatch. Lambda only sends system logs at the selected level of detail and lower, where DEBUG is the highest level and WARN is the lowest."},"level":{"type":"string","enum":["trace","debug","info","warn","error","fatal"],"description":"Set this property to filter the application logs for your function that Lambda sends to CloudWatch. Lambda only sends application logs at the selected level of detail and lower, where TRACE is the highest level and FATAL is the lowest.","markdownDescription":"Set this property to filter the application logs for your function that Lambda sends to CloudWatch. Lambda only sends application logs at the selected level of detail and lower, where TRACE is the highest level and FATAL is the lowest."}},"additionalProperties":false}],"description":"Enable logging to a CloudWatch log group. Providing a duration value will set the log retention time.","markdownDescription":"Enable logging to a CloudWatch log group. Providing a duration value will set the log retention time."},"timeout":{"type":"string","pattern":"^[0-9]+ (seconds?|minutes?|hours?|days?|weeks?)$","description":"The amount of time that the RPC lambda is allowed run before stopping it. You can specify a size value from 1 second to 5 minutes. The timeouts of all inner RPC functions will be capped at 80% of this timeout.","markdownDescription":"The amount of time that the RPC lambda is allowed run before stopping it. You can specify a size value from 1 second to 5 minutes. The timeouts of all inner RPC functions will be capped at 80% of this timeout.","default":"1 minutes"},"geoRestrictions":{"type":"array","items":{"type":"string","minLength":2,"maxLength":2},"default":[],"description":"Specifies a blacklist of countries that should be blocked.","markdownDescription":"Specifies a blacklist of countries that should be blocked."}},"additionalProperties":false},"description":"Define the global RPC API's.","markdownDescription":"Define the global RPC API's."},"pubsub":{"type":"object","additionalProperties":{"type":"object","properties":{"auth":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"object","properties":{"nocheck":{"type":"string","description":"Specifies a local file without checking if the file exists.","markdownDescription":"Specifies a local file without checking if the file exists."}},"required":["nocheck"],"additionalProperties":false}]},{"type":"object","properties":{"code":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"object","properties":{"nocheck":{"type":"string","description":"Specifies a local file without checking if the file exists.","markdownDescription":"Specifies a local file without checking if the file exists."}},"required":["nocheck"],"additionalProperties":false}]},{"type":"object","properties":{"file":{"anyOf":[{"type":"string"},{"type":"object","properties":{"nocheck":{"type":"string","description":"Specifies a local file without checking if the file exists.","markdownDescription":"Specifies a local file without checking if the file exists."}},"required":["nocheck"],"additionalProperties":false}],"description":"The file path of the function code.","markdownDescription":"The file path of the function code."},"minify":{"type":"boolean","description":"Minify the function code.","markdownDescription":"Minify the function code.","default":true},"external":{"type":"array","items":{"type":"string"},"description":"A list of external packages that won't be included in the bundle.","markdownDescription":"A list of external packages that won't be included in the bundle."},"importAsString":{"type":"array","items":{"type":"string"},"description":"A list of glob patterns, which specifies the files that should be imported as string.","markdownDescription":"A list of glob patterns, which specifies the files that should be imported as string."}},"required":["file"],"additionalProperties":false},{"type":"object","properties":{"bundle":{"anyOf":[{"type":"string"},{"type":"object","properties":{"nocheck":{"type":"string","description":"Specifies a local directory without checking if the directory exists.","markdownDescription":"Specifies a local directory without checking if the directory exists."}},"required":["nocheck"],"additionalProperties":false}],"description":"The directory that needs to be bundled.","markdownDescription":"The directory that needs to be bundled."}},"required":["bundle"],"additionalProperties":false}],"description":"Specify the code of your function.","markdownDescription":"Specify the code of your function."},"handler":{"type":"string","description":"The name of the exported method within your code that Lambda calls to run your function.","markdownDescription":"The name of the exported method within your code that Lambda calls to run your function."},"runtime":{"anyOf":[{"anyOf":[{"type":"string","enum":["nodejs18.x","nodejs20.x","nodejs22.x"]},{"type":"string","const":"container"}]},{"type":"string"}],"description":"The identifier of the function's runtime.","markdownDescription":"The identifier of the function's runtime."},"description":{"type":"string","description":"A description of the function.","markdownDescription":"A description of the function."},"warm":{"type":"integer","minimum":0,"maximum":10,"description":"Specify how many functions you want to warm up each 5 minutes. You can specify a number from 0 to 10.","markdownDescription":"Specify how many functions you want to warm up each 5 minutes. You can specify a number from 0 to 10."},"vpc":{"type":"boolean","description":"Put the function inside your global VPC.","markdownDescription":"Put the function inside your global VPC."},"log":{"anyOf":[{"type":"boolean"},{"type":"string","pattern":"^[0-9]+ (seconds?|minutes?|hours?|days?|weeks?)$","description":"The log retention duration.","markdownDescription":"The log retention duration."},{"type":"object","properties":{"retention":{"type":"string","pattern":"^[0-9]+ (seconds?|minutes?|hours?|days?|weeks?)$","description":"The log retention duration.","markdownDescription":"The log retention duration."},"format":{"type":"string","enum":["text","json"],"description":"The format in which Lambda sends your function's application and system logs to CloudWatch. Select between plain text and structured JSON.","markdownDescription":"The format in which Lambda sends your function's application and system logs to CloudWatch. Select between plain text and structured JSON."},"system":{"type":"string","enum":["debug","info","warn"],"description":"Set this property to filter the system logs for your function that Lambda sends to CloudWatch. Lambda only sends system logs at the selected level of detail and lower, where DEBUG is the highest level and WARN is the lowest.","markdownDescription":"Set this property to filter the system logs for your function that Lambda sends to CloudWatch. Lambda only sends system logs at the selected level of detail and lower, where DEBUG is the highest level and WARN is the lowest."},"level":{"type":"string","enum":["trace","debug","info","warn","error","fatal"],"description":"Set this property to filter the application logs for your function that Lambda sends to CloudWatch. Lambda only sends application logs at the selected level of detail and lower, where TRACE is the highest level and FATAL is the lowest.","markdownDescription":"Set this property to filter the application logs for your function that Lambda sends to CloudWatch. Lambda only sends application logs at the selected level of detail and lower, where TRACE is the highest level and FATAL is the lowest."}},"additionalProperties":false}],"description":"Enable logging to a CloudWatch log group. Providing a duration value will set the log retention time.","markdownDescription":"Enable logging to a CloudWatch log group. Providing a duration value will set the log retention time."},"timeout":{"type":"string","pattern":"^[0-9]+ (seconds?|minutes?|hours?|days?|weeks?)$","description":"The amount of time that Lambda allows a function to run before stopping it. You can specify a size value from 1 second to 15 minutes.","markdownDescription":"The amount of time that Lambda allows a function to run before stopping it. You can specify a size value from 1 second to 15 minutes."},"memorySize":{"type":"string","pattern":"^[0-9]+ (B|KB|MB|GB|TB|PB)$","description":"The amount of memory available to the function at runtime. Increasing the function memory also increases its CPU allocation. The value can be any multiple of 1 MB. You can specify a size value from 128 MB to 10 GB.","markdownDescription":"The amount of memory available to the function at runtime. Increasing the function memory also increases its CPU allocation. The value can be any multiple of 1 MB. You can specify a size value from 128 MB to 10 GB."},"architecture":{"type":"string","enum":["x86_64","arm64"],"description":"The instruction set architecture that the function supports.","markdownDescription":"The instruction set architecture that the function supports."},"ephemeralStorageSize":{"type":"string","pattern":"^[0-9]+ (B|KB|MB|GB|TB|PB)$","description":"The size of the function's /tmp directory. You can specify a size value from 512 MB to 10 GB.","markdownDescription":"The size of the function's /tmp directory. You can specify a size value from 512 MB to 10 GB."},"retryAttempts":{"type":"integer","minimum":0,"maximum":2,"description":"The maximum number of times to retry when the function returns an error. You can specify a number from 0 to 2.","markdownDescription":"The maximum number of times to retry when the function returns an error. You can specify a number from 0 to 2."},"reserved":{"type":"integer","minimum":0,"description":"The number of simultaneous executions to reserve for the function. You can specify a number from 0.","markdownDescription":"The number of simultaneous executions to reserve for the function. You can specify a number from 0."},"layers":{"type":"array","items":{"type":"string"},"description":"A list of function layers to add to the function's execution environment. Specify each layer by its ARN, including the version.","markdownDescription":"A list of function layers to add to the function's execution environment. Specify each layer by its ARN, including the version."},"environment":{"type":"object","additionalProperties":{"type":"string"},"description":"Environment variable key-value pairs.","markdownDescription":"Environment variable key-value pairs."},"permissions":{"anyOf":[{"type":"object","properties":{"effect":{"type":"string","enum":["allow","deny"],"default":"allow"},"actions":{"anyOf":[{"type":"string"},{"type":"array","items":{"type":"string"}}]},"resources":{"anyOf":[{"anyOf":[{"type":"string","pattern":"^arn\\:"},{"type":"string","const":"*"}]},{"type":"array","items":{"anyOf":[{"type":"string","pattern":"^arn\\:"},{"type":"string","const":"*"}]}}]}},"required":["actions","resources"],"additionalProperties":false},{"type":"array","items":{"type":"object","properties":{"effect":{"type":"string","enum":["allow","deny"],"default":"allow"},"actions":{"anyOf":[{"type":"string"},{"type":"array","items":{"type":"string"}}]},"resources":{"anyOf":[{"anyOf":[{"type":"string","pattern":"^arn\\:"},{"type":"string","const":"*"}]},{"type":"array","items":{"anyOf":[{"type":"string","pattern":"^arn\\:"},{"type":"string","const":"*"}]}}]}},"required":["actions","resources"],"additionalProperties":false}}],"description":"Add IAM permissions to your function.","markdownDescription":"Add IAM permissions to your function."}},"required":["code"],"additionalProperties":false}]},"domain":{"type":"string","minLength":3,"maxLength":24,"pattern":"^[a-z0-9\\-]+$","description":"The domain id to link your Pubsub API with.","markdownDescription":"The domain id to link your Pubsub API with."},"subDomain":{"type":"string"}},"required":["auth"],"additionalProperties":false},"description":"Define the pubsub subscriber in your stack.","markdownDescription":"Define the pubsub subscriber in your stack."},"alerts":{"type":"object","additionalProperties":{"anyOf":[{"type":"string","format":"email"},{"type":"array","items":{"type":"string","format":"email"}}]},"description":"Define the alerts in your app. Alerts are a way to send messages to one or more email addresses.","markdownDescription":"Define the alerts in your app. Alerts are a way to send messages to one or more email addresses."},"topics":{"type":"array","items":{"type":"string","minLength":3,"maxLength":256,"pattern":"^[a-z0-9\\-]+$","description":"Define event topic name.","markdownDescription":"Define event topic name."},"description":"Define the event topics for your app.","markdownDescription":"Define the event topics for your app."},"layers":{"type":"object","additionalProperties":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"object","properties":{"nocheck":{"type":"string","description":"Specifies a local file without checking if the file exists.","markdownDescription":"Specifies a local file without checking if the file exists."}},"required":["nocheck"],"additionalProperties":false}]},{"type":"object","properties":{"file":{"anyOf":[{"type":"string"},{"type":"object","properties":{"nocheck":{"type":"string","description":"Specifies a local file without checking if the file exists.","markdownDescription":"Specifies a local file without checking if the file exists."}},"required":["nocheck"],"additionalProperties":false}]},"runtimes":{"type":"array","items":{"type":"string","enum":["nodejs18.x","nodejs20.x","nodejs22.x"],"description":"The identifier of the function's runtime.","markdownDescription":"The identifier of the function's runtime."}},"architecture":{"type":"string","enum":["x86_64","arm64"],"description":"The instruction set architecture that the function supports.","markdownDescription":"The instruction set architecture that the function supports."},"packages":{"type":"array","items":{"type":"string"},"description":"Define the package names that are available bundled in the layer. Those packages are not bundled while bundling the lambda.","markdownDescription":"Define the package names that are available bundled in the layer. Those packages are not bundled while bundling the lambda."}},"required":["file"],"additionalProperties":false}]},"description":"Define the lambda layers in your stack.","markdownDescription":"Define the lambda layers in your stack."}},"additionalProperties":false,"default":{},"description":"Default properties\n\n@default {}","markdownDescription":"Default properties\n\n@default ```{}```"}},"required":["name","region","profile"],"additionalProperties":false}},"$schema":"http://json-schema.org/draft-07/schema#","title":"Awsless App Config"}
|
package/dist/bin.js
CHANGED
|
@@ -994,36 +994,38 @@ var OnLogDefaultSchema = z17.union([
|
|
|
994
994
|
})
|
|
995
995
|
]).optional().describe("Define a subscription on all Lambda functions logs.");
|
|
996
996
|
|
|
997
|
-
// src/feature/pubsub/
|
|
997
|
+
// src/feature/pubsub/schema.ts
|
|
998
998
|
import { z as z18 } from "zod";
|
|
999
999
|
var DomainSchema = ResourceIdSchema.describe("The domain id to link your Pubsub API with.");
|
|
1000
1000
|
var PubSubDefaultSchema = z18.record(
|
|
1001
1001
|
ResourceIdSchema,
|
|
1002
1002
|
z18.object({
|
|
1003
|
-
auth: FunctionSchema
|
|
1003
|
+
auth: FunctionSchema,
|
|
1004
1004
|
domain: DomainSchema.optional(),
|
|
1005
|
-
subDomain: z18.string().optional()
|
|
1006
|
-
|
|
1007
|
-
|
|
1005
|
+
subDomain: z18.string().optional()
|
|
1006
|
+
// auth: z.union([
|
|
1007
|
+
// ResourceIdSchema,
|
|
1008
|
+
// z.object({
|
|
1009
|
+
// authorizer: FunctionSchema,
|
|
1010
|
+
// // ttl: AuthorizerTtl.default('1 hour'),
|
|
1011
|
+
// }),
|
|
1012
|
+
// ]),
|
|
1013
|
+
// policy: z
|
|
1014
|
+
// .object({
|
|
1015
|
+
// publish: z.array(z.string()).optional(),
|
|
1016
|
+
// subscribe: z.array(z.string()).optional(),
|
|
1017
|
+
// })
|
|
1018
|
+
// .optional(),
|
|
1008
1019
|
})
|
|
1009
|
-
).optional().describe("Define the pubsub
|
|
1020
|
+
).optional().describe("Define the pubsub subscriber in your stack.");
|
|
1010
1021
|
var PubSubSchema = z18.record(
|
|
1011
1022
|
ResourceIdSchema,
|
|
1012
1023
|
z18.object({
|
|
1013
|
-
|
|
1014
|
-
|
|
1015
|
-
|
|
1016
|
-
// Add more filter options as needed
|
|
1017
|
-
// userId: z.string().optional(),
|
|
1018
|
-
// custom: z.record(z.string(), z.any()).optional(),
|
|
1019
|
-
}).optional().describe("Event filtering options."),
|
|
1020
|
-
consumer: FunctionSchema.describe("The consuming lambda function properties."),
|
|
1021
|
-
batchSize: z18.number().int().min(1).max(100).default(1).describe("Number of events to batch before invoking the consumer function."),
|
|
1022
|
-
retryPolicy: z18.object({
|
|
1023
|
-
maxRetries: z18.number().int().min(0).max(3).default(2).describe("Maximum number of retry attempts.")
|
|
1024
|
-
}).optional().describe("Retry policy for failed event processing.")
|
|
1024
|
+
sql: z18.string().describe("The SQL statement used to query the IOT topic."),
|
|
1025
|
+
sqlVersion: z18.enum(["2015-10-08", "2016-03-23", "beta"]).default("2016-03-23").describe("The version of the SQL rules engine to use when evaluating the rule."),
|
|
1026
|
+
consumer: FunctionSchema.describe("The consuming lambda function properties.")
|
|
1025
1027
|
})
|
|
1026
|
-
).optional().describe("Define the pubsub
|
|
1028
|
+
).optional().describe("Define the pubsub subscriber in your stack.");
|
|
1027
1029
|
|
|
1028
1030
|
// src/feature/queue/schema.ts
|
|
1029
1031
|
import { days as days2, hours, minutes as minutes2, seconds as seconds2 } from "@awsless/duration";
|
|
@@ -3029,6 +3031,7 @@ var bundleTypeScript = async ({
|
|
|
3029
3031
|
}
|
|
3030
3032
|
const code = Buffer.from(item.code, "utf8");
|
|
3031
3033
|
const map = item.map ? Buffer.from(item.map.toString(), "utf8") : void 0;
|
|
3034
|
+
item.map?.version;
|
|
3032
3035
|
hash.update(code);
|
|
3033
3036
|
files.push({
|
|
3034
3037
|
name: item.fileName,
|