Skip to main content

event_integrations

Creates, updates, deletes, gets or lists an event_integrations resource.

Overview

Nameevent_integrations
TypeResource
Idaws.appintegrations.event_integrations

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
descriptionstringThe description of the event integration. (pattern: <code>.*</code>)
event_bridge_busstringThe EventBridge bus. (pattern: <code>^[a-zA-Z0-9/._-]+$</code>)
event_filterobjectThe event filter.
event_integration_arnstringThe Amazon Resource Name (ARN) for the event integration. (pattern: <code>^arn:aws:[A-Za-z0-9][A-Za-z0-9_/.-]{0,62}:[A-Za-z0-9_/.-]{0,63}:[A-Za-z0-9_/.-]{0,63}:[A-Za-z0-9][A-Za-z0-9:_/+=,@.-]{0,1023}$</code>)
namestringThe name of the event integration. (pattern: <code>^[a-zA-Z0-9/._-]+$</code>)
tagsobjectThe tags used to organize, track, or control access for this resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_event_integrationselectname, regionReturns information about the event integration.
list_event_integrationsselectregionnextToken, maxResultsReturns a paginated list of event integrations in the account.
create_event_integrationinsertregion, EventFilter, EventBridgeBusCreates an EventIntegration, given a specified name, description, and a reference to an Amazon EventBridge bus in your account and a partner event source that pushes events to that bus. No objects are created in the your account, only metadata that is persisted on the EventIntegration control plane.
update_event_integrationupdatename, regionUpdates the description of an event integration.
delete_event_integrationdeletename, regionDeletes the specified existing event integration. If the event integration is associated with clients, the request is rejected.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
namestringThe name of the event integration.
regionstringAWS region (default: us-east-1)
maxResultsintegerThe maximum number of results to return per page.
nextTokenstringThe token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.

SELECT examples

Returns information about the event integration.

SELECT
description,
event_bridge_bus,
event_filter,
event_integration_arn,
name,
tags
FROM aws.appintegrations.event_integrations
WHERE name = '{{ name }}' -- required
AND region = '{{ region }}' -- required
;

INSERT examples

Creates an EventIntegration, given a specified name, description, and a reference to an Amazon EventBridge bus in your account and a partner event source that pushes events to that bus. No objects are created in the your account, only metadata that is persisted on the EventIntegration control plane.

INSERT INTO aws.appintegrations.event_integrations (
Name,
Description,
EventFilter,
EventBridgeBus,
ClientToken,
Tags,
region
)
SELECT
'{{ Name }}',
'{{ Description }}',
'{{ EventFilter }}' /* required */,
'{{ EventBridgeBus }}' /* required */,
'{{ ClientToken }}',
'{{ Tags }}',
'{{ region }}'
RETURNING
event_integration_arn
;

UPDATE examples

Updates the description of an event integration.

UPDATE aws.appintegrations.event_integrations
SET
Description = '{{ Description }}'
WHERE
name = '{{ name }}' --required
AND region = '{{ region }}' --required;

DELETE examples

Deletes the specified existing event integration. If the event integration is associated with clients, the request is rejected.

DELETE FROM aws.appintegrations.event_integrations
WHERE name = '{{ name }}' --required
AND region = '{{ region }}' --required
;