Using the Put EventBridge/CloudWatch Events action

Integrations

You can use the Put EventBridge/CloudWatch Events action with the following integrations:

Requirements

The Put EventBridge/CloudWatch Events action requires sufficient IAM permissions - an adequate IAM policy similar to the one provisioned by the Automation with AWS (Core) CloudFormation template might look as follows:

1 2 3 4 5 6 7 8 9 10 11 12 13 14 { "Version": "2012-10-17", "Statement": [ { "Action": [ "events:PutEvents", "events:TestEventPattern" ], "Resource": "*", "Effect": "Allow", "Sid": "CloudWatchPutAndTestEvents" } ] }

 Refer to Using Identity-Based Policies (IAM Policies) for EventBridge for details on how to create more granular/secure policies.

Configuration

To configure an Put EventBridge/CloudWatch Events action:

Complete the following settings:

 

Parameters

Specify the action parameters according to the following skeleton in JSON format – refer to events . put-events for details:

You can inject contextual variables into the remote action payload, refer to Entity Variables for details.

Event Patterns in EventBridge (CloudWatch Events)

This is an opinionated brief skeleton that works well for ingesting custom events from Atlassian products – refer to Events and Event Patterns in EventBridge (CloudWatch Events) for details on these and other available fields.


Put EventBridge/CloudWatch Events skeleton - Atlassian Workflow Event

1 2 3 4 5 6 7 8 9 10 {   "Entries": [     {       "Time": "$event.timestamp",       "Source": "",       "DetailType": "",       "Detail": ""     }   ] }

Entity Variables

You can inject contextual workflow variables with workflow entities into the remote action payload template – currently available entities are:

Examples

How-to Articles

Frequently Asked Questions (FAQ)