aws::lambda-layer¶
Creates a lambda layer.
Example¶
aws::lambda-layer lambda-layer-example
name: "lambda-layer-example"
description: "lambda-layer-example-desc"
content-zip-path: "example-function.zip"
compatible-runtimes: [
"nodejs20.x"
]
end
Attributes¶
Attribute | Description |
---|---|
name | The name of the Lambda Layer. (Required) |
description | The description of the Lambda Layer. |
license-info | The software license for the Lambda Layer. |
compatible-runtimes set | The list of runtime language for the function using this Lambda Layer. See Supported Runtimes for Lambda. (Required) |
s3-bucket | The S3 Bucket name where the code for the function using this Lambda Layer resides. Required if field ‘content-zip-path’ not set. |
s3-key | The S3 object key where the code for the function using this Lambda Layer resides. Required if field ‘content-zip-path’ not set. |
s3-object-version | The S3 object version where the code for the function using this Lambda Layer resides. Required if field ‘content-zip-path’ not set. |
content-zip-path | The zip file location where the code for the function using this Lambda Layer resides. Required if fields ‘s3-bucket’, ‘s3-key’ and ‘s3-object-version’ not set. |
permission set subresource | The list of permissions for the Lambda Layer.
|
Outputs¶
Attribute | Description |
---|---|
arn | The ARN of the Lambda Layer. |
version-arn | The ARN of the Lambda Layer version specific. |
version | The version of the Lambda Layer. |
created-date | The date that the Lambda Layer version was created. |