Skip to main content

event_bridge_rule_template_groups

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

Overview

Nameevent_bridge_rule_template_groups
TypeResource
Idaws.medialive.event_bridge_rule_template_groups

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
arnstringAn eventbridge rule template group's ARN (Amazon Resource Name)
created_atstring (date-time)Placeholder documentation for __timestampIso8601
descriptionstringPlaceholder documentation for __stringMin0Max1024
idstringPlaceholder documentation for __stringMin7Max11PatternAws097
modified_atstring (date-time)Placeholder documentation for __timestampIso8601
namestringPlaceholder documentation for __stringMin1Max255PatternS
tagsobject

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_event_bridge_rule_template_groupselectidentifier, regionRetrieves the specified eventbridge rule template group.
list_event_bridge_rule_template_groupsselectregionmaxResults, nextToken, signalMapIdentifierLists eventbridge rule template groups.
create_event_bridge_rule_template_groupinsertregionCreates an eventbridge rule template group to group your eventbridge rule templates and to attach to signal maps for dynamically creating notification rules.
update_event_bridge_rule_template_groupupdateidentifier, regionUpdates the specified eventbridge rule template group.
delete_event_bridge_rule_template_groupdeleteidentifier, regionDeletes an eventbridge rule template group. You must detach this group from all signal maps and ensure its existing templates are moved to another group or deleted.

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
identifierstringAn eventbridge rule template group's identifier. Can be either be its id or current name.
regionstringAWS region (default: us-east-1)
maxResultsinteger
nextTokenstringA token used to retrieve the next set of results in paginated list responses.
signalMapIdentifierstringA signal map's identifier. Can be either be its id or current name.

SELECT examples

Retrieves the specified eventbridge rule template group.

SELECT
arn,
created_at,
description,
id,
modified_at,
name,
tags
FROM aws.medialive.event_bridge_rule_template_groups
WHERE identifier = '{{ identifier }}' -- required
AND region = '{{ region }}' -- required
;

INSERT examples

Creates an eventbridge rule template group to group your eventbridge rule templates and to attach to signal maps for dynamically creating notification rules.

INSERT INTO aws.medialive.event_bridge_rule_template_groups (
Description,
Name,
Tags,
RequestId,
region
)
SELECT
'{{ Description }}',
'{{ Name }}',
'{{ Tags }}',
'{{ RequestId }}',
'{{ region }}'
RETURNING
arn,
created_at,
description,
id,
modified_at,
name,
tags
;

UPDATE examples

Updates the specified eventbridge rule template group.

UPDATE aws.medialive.event_bridge_rule_template_groups
SET
Description = '{{ Description }}'
WHERE
identifier = '{{ identifier }}' --required
AND region = '{{ region }}' --required
RETURNING
arn,
created_at,
description,
id,
modified_at,
name,
tags;

DELETE examples

Deletes an eventbridge rule template group. You must detach this group from all signal maps and ensure its existing templates are moved to another group or deleted.

DELETE FROM aws.medialive.event_bridge_rule_template_groups
WHERE identifier = '{{ identifier }}' --required
AND region = '{{ region }}' --required
;