- unmigrated-wiki-markup
Documentation for Tasks for AWS 2.13 – other releases are available in the Tasks for AWS Documentation Directory.
View
or visit the current documentation home.
Using the AWS Lambda Event Source Mapping task in Bamboo
You can use the AWS Lambda Event Source Mapping task to create, update or delete an AWS Lambda event source mapping (see Deploying to AWS Lambda for an overview of the Lambda component lifecycle and deployment workflow).
On this page:
Configuration
To configure an AWS Lambda Event Source Mapping task:
Navigate to the Tasks configuration tab for the job (this will be the default job if creating a new plan).
Click the name of an existing AWS Lambda Event Source Mapping task, or click Add Task and then AWS Lambda Event Source Mapping to create a new task.
Complete the following settings:
Common to all tasks
Actions supported by this task:
Variables
All tasks support Bamboo Variable Substitution/Definition - this task's actions generate variables as follows:
Create Event Source Mapping
Creating event source mapping for source arn:aws:kinesis:eu-west-1:288727192237:stream/TAWS-IT280-LES1-21-ubot-KinesisStream-149952K3HB58G and function TAWS-IT280-LES1-21-ubot:
Waiting for event source mapping 'bbfe6abd-0976-46c4-bc2e-b2d233738151' to reach state 'Disabled' ...
... current event source mapping state: Disabled
Event source mapping 'bbfe6abd-0976-46c4-bc2e-b2d233738151' reached desired state 'Disabled'
Creating common variables for 1 resources affected by task:
... bamboo.custom.aws.lambda.eventsourcemapping.resources: bbfe6abd-0976-46c4-bc2e-b2d233738151
Creating resource variables for event source mapping 'bbfe6abd-0976-46c4-bc2e-b2d233738151':
... bamboo.custom.aws.lambda.eventsourcemapping.resources.bbfe6abd-0976-46c4-bc2e-b2d233738151.UUID: bbfe6abd-0976-46c4-bc2e-b2d233738151
... bamboo.custom.aws.lambda.eventsourcemapping.resources.bbfe6abd-0976-46c4-bc2e-b2d233738151.EventSourceArn: arn:aws:kinesis:eu-west-1:288727192237:stream/TAWS-IT280-LES1-21-ubot-KinesisStream-149952K3HB58G
... bamboo.custom.aws.lambda.eventsourcemapping.resources.bbfe6abd-0976-46c4-bc2e-b2d233738151.FunctionArn: arn:aws:lambda:eu-west-1:288727192237:function:TAWS-IT280-LES1-21-ubot
... bamboo.custom.aws.lambda.eventsourcemapping.resources.bbfe6abd-0976-46c4-bc2e-b2d233738151.BatchSize: 256
... bamboo.custom.aws.lambda.eventsourcemapping.resources.bbfe6abd-0976-46c4-bc2e-b2d233738151.LastProcessingResult: No records processed
... bamboo.custom.aws.lambda.eventsourcemapping.resources.bbfe6abd-0976-46c4-bc2e-b2d233738151.State: Disabled
... bamboo.custom.aws.lambda.eventsourcemapping.resources.bbfe6abd-0976-46c4-bc2e-b2d233738151.StateTransitionReason: User action
... bamboo.custom.aws.lambda.eventsourcemapping.resources.bbfe6abd-0976-46c4-bc2e-b2d233738151.LastModified: 2015-08-25T17:08.00.000Z
Creating common variables for first resource affected by task:
Creating resource variables for event source mapping 'bbfe6abd-0976-46c4-bc2e-b2d233738151':
... bamboo.custom.aws.lambda.eventsourcemapping.first.UUID: bbfe6abd-0976-46c4-bc2e-b2d233738151
... bamboo.custom.aws.lambda.eventsourcemapping.first.EventSourceArn: arn:aws:kinesis:eu-west-1:288727192237:stream/TAWS-IT280-LES1-21-ubot-KinesisStream-149952K3HB58G
... bamboo.custom.aws.lambda.eventsourcemapping.first.FunctionArn: arn:aws:lambda:eu-west-1:288727192237:function:TAWS-IT280-LES1-21-ubot
... bamboo.custom.aws.lambda.eventsourcemapping.first.BatchSize: 256
... bamboo.custom.aws.lambda.eventsourcemapping.first.LastProcessingResult: No records processed
... bamboo.custom.aws.lambda.eventsourcemapping.first.State: Disabled
... bamboo.custom.aws.lambda.eventsourcemapping.first.StateTransitionReason: User action
... bamboo.custom.aws.lambda.eventsourcemapping.first.LastModified: 2015-08-25T17:08.00.000ZUpdate Event Source Mapping
See Create Event Source Mapping above.
Delete Event Source Mapping
N/A