Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

You can use the AWS Lambda Layer task to publish, delete, or entitle an AWS Lambda layer (see Deploying to AWS Lambda for an overview of the Lambda component lifecycle and deployment workflow).

Image Removed

Panel
borderColor#bbb
bgColor#eeeeee

Image Added

On this page:

Table of Contents
exclude(Common.*|Popular.*|Recent.*)
PanelborderColor#bbbbgColor#eeeeee

Related Pages:

Configuration

To configure an AWS Lambda Layer task:

1. Navigate to the Tasks configuration tab for the job (this will be the default job if creating a new plan).

2. Click the name of an existing AWS Lambda Layer task, or click Add Task and then AWS

Lambda Layer 

Lambda Layer to create a new task.

3. Complete the following settings:

a. Common to all tasks

Include Page
_CommonTaskParametersTable
_CommonTaskParametersTable

b. Actions supported by this task:

Publish Layer Version

Layer Name

Specify the layer name or ARN.

Compatible Runtimes

Specify the compatible runtimes array (JSON – inline or via URL).

  • Refer

to  for
  •  for details.

S3 Bucket

Specify the name of the S3 bucket where the layer content package is stored.

S3 Key

Specify the layer content package's S3 object key.

S3 Object Version

(Optional) Specify the layer content package's S3 object version.

Description

(Optional) Specify the description of the version.

License Info

(Optional) Specify the layers software license.

Delete Layer Version

Layer

Name 

Name 

see Publish Layer Version above

Version

Number 

Number 

Specify the layers version number.

Add Layer Version Permission


Layer Name

see Publish Layer Version above

Version Number

see Delete Layer Version above

Revision ID

(Optional) Specify the policy revision ID.

Action

Specify the API action that grants access to the layer.

  • (info) This is required and defaulted with the only currently available action lambda:GetLayerVersion

Organization ID

Specify the organization ID to grant permission to all accounts in the specified organization.

Principal

Specify an account ID, or '*' to grant permission to all AWS accounts (or all within a given organization).

Statement ID

Specify an identifier that distinguishes the policy from others on the same layer version..

Remove Layer Version Permission


Layer Name

see Publish Layer Version above

Version Number

see Delete Layer Version above

Revision ID

see Add Layer Version Permission above

Statement ID

see Add Layer Version Permission above

Variables

Include Page
_VariablesNote
_VariablesNote

Publish Layer Version

Code Block
languagetext
linenumberstrue
Creating common variables for 1 resources affected by task:
... bamboo.custom.aws.lambda.layer.resources: arn:aws:lambda:us-east-1:288727192237:layer:TAWS-IT2200-LFCP35-23-ubot-layer-1
Creating resource variables for published layer 'arn:aws:lambda:us-east-1:288727192237:layer:TAWS-IT2200-LFCP35-23-ubot-layer-1':
... bamboo.custom.aws.lambda.layer.resources.arn:aws:lambda:us-east-1:288727192237:layer:TAWS-IT2200-LFCP35-23-ubot-layer-1.LayerArn: arn:aws:lambda:us-east-1:288727192237:layer:TAWS-IT2200-LFCP35-23-ubot-layer-1
... bamboo.custom.aws.lambda.layer.resources.arn:aws:lambda:us-east-1:288727192237:layer:TAWS-IT2200-LFCP35-23-ubot-layer-1.Description: Sample layer published via Bamboo build TAWS-IT2200-LFCP35-23
... bamboo.custom.aws.lambda.layer.resources.arn:aws:lambda:us-east-1:288727192237:layer:TAWS-IT2200-LFCP35-23-ubot-layer-1.LicenseInfo: null
... bamboo.custom.aws.lambda.layer.resources.arn:aws:lambda:us-east-1:288727192237:layer:TAWS-IT2200-LFCP35-23-ubot-layer-1.Version: 1
... bamboo.custom.aws.lambda.layer.resources.arn:aws:lambda:us-east-1:288727192237:layer:TAWS-IT2200-LFCP35-23-ubot-layer-1.LayerVersionArn: arn:aws:lambda:us-east-1:288727192237:layer:TAWS-IT2200-LFCP35-23-ubot-layer-1:1
... bamboo.custom.aws.lambda.layer.resources.arn:aws:lambda:us-east-1:288727192237:layer:TAWS-IT2200-LFCP35-23-ubot-layer-1.CreatedDate: 2020-06-24T17:49:34.799+0000
Creating common variables for first resource affected by task:
Creating resource variables for published layer 'arn:aws:lambda:us-east-1:288727192237:layer:TAWS-IT2200-LFCP35-23-ubot-layer-1':
... bamboo.custom.aws.lambda.layer.first.LayerArn: arn:aws:lambda:us-east-1:288727192237:layer:TAWS-IT2200-LFCP35-23-ubot-layer-1
... bamboo.custom.aws.lambda.layer.first.Description: Sample layer published via Bamboo build TAWS-IT2200-LFCP35-23
... bamboo.custom.aws.lambda.layer.first.LicenseInfo: null
... bamboo.custom.aws.lambda.layer.first.Version: 1
... bamboo.custom.aws.lambda.layer.first.LayerVersionArn: arn:aws:lambda:us-east-1:288727192237:layer:TAWS-IT2200-LFCP35-23-ubot-layer-1:1
... bamboo.custom.aws.lambda.layer.first.CreatedDate: 2020-06-24T17:49:34.799+0000

Delete Layer Version

N/A

Add Layer Version Permission

Code Block
languagetext
linenumbers
true
Creating add layer permission result variables for layer 'TAWS-IT2200-LFCP35-23-ubot-layer-1':
... bamboo.custom.aws.lambda.layer.policy.Statement: {"Sid":"TAWS-IT2200-LFCP35-23","Effect":"Allow","Principal":"*","Action":"lambda:GetLayerVersion","Resource":"arn:aws:lambda:us-east-1:288727192237:layer:TAWS-IT2200-LFCP35-23-ubot-layer-1:1"}
... bamboo.custom.aws.lambda.layer.policy.RevisionId: f4fe809f-991f-4291-b129-078c39349401

Remove Layer Version Permission

N/A

How-to Articles

Filter by label (Content by label)
max8
showSpacefalse
sorttitle
excerptTypesimple
cqllabel in ( "aws-cli" , "aws-lambda" ) and label in ( "kb-how-to-article" , "kb-troubleshooting-article" )

Frequently Asked Questions (FAQ)

Include Page
UAA:_FAQHeaderQuestionsForConfluence
UAA:_FAQHeaderQuestionsForConfluence
Questionslist macro
filterpopular
asktrue
limit8
topicaws-lambda