Skip to main content

event_integrations

Creates, updates, deletes or gets an event_integration resource or lists event_integrations in a region

Overview

Nameevent_integrations
TypeResource
DescriptionResource Type definition for AWS::AppIntegrations::EventIntegration
Idaws.appintegrations.event_integrations

Fields

NameDatatypeDescription
descriptionstringThe event integration description.
event_integration_arnstringThe Amazon Resource Name (ARN) of the event integration.
namestringThe name of the event integration.
event_bridge_busstringThe Amazon Eventbridge bus for the event integration.
event_filterobjectThe EventFilter (source) associated with the event integration.
tagsarrayThe tags (keys and values) associated with the event integration.
regionstringAWS region.

Methods

NameAccessible byRequired Params
create_resourceINSERTName, EventBridgeBus, EventFilter, region
delete_resourceDELETEdata__Identifier, region
update_resourceUPDATEdata__Identifier, data__PatchDocument, region
list_resourcesSELECTregion
get_resourceSELECTdata__Identifier, region

SELECT examples

Gets all event_integrations in a region.

SELECT
region,
description,
event_integration_arn,
name,
event_bridge_bus,
event_filter,
tags
FROM aws.appintegrations.event_integrations
WHERE region = 'us-east-1';

Gets all properties from an individual event_integration.

SELECT
region,
description,
event_integration_arn,
name,
event_bridge_bus,
event_filter,
tags
FROM aws.appintegrations.event_integrations
WHERE region = 'us-east-1' AND data__Identifier = '<Name>';

INSERT example

Use the following StackQL query and manifest file to create a new event_integration resource, using stack-deploy.

/*+ create */
INSERT INTO aws.appintegrations.event_integrations (
Name,
EventBridgeBus,
EventFilter,
region
)
SELECT
'{{ Name }}',
'{{ EventBridgeBus }}',
'{{ EventFilter }}',
'{{ region }}';

DELETE example

/*+ delete */
DELETE FROM aws.appintegrations.event_integrations
WHERE data__Identifier = '<Name>'
AND region = 'us-east-1';

Permissions

To operate on the event_integrations resource, the following permissions are required:

Create

app-integrations:CreateEventIntegration,
app-integrations:TagResource

Read

app-integrations:GetEventIntegration,
app-integrations:ListTagsForResource

List

app-integrations:ListEventIntegrations

Update

app-integrations:GetEventIntegration,
app-integrations:UpdateEventIntegration,
app-integrations:TagResource,
app-integrations:UntagResource

Delete

app-integrations:DeleteEventIntegration