Skip to main content

notification_hubs

Creates, updates, deletes or gets a notification_hub resource or lists notification_hubs in a region

Overview

Namenotification_hubs
TypeResource
DescriptionResource Type definition for AWS::Notifications::NotificationHub
Idawscc.notifications.notification_hubs

Fields

NameDatatypeDescription
regionstringRegion that NotificationHub is present in.
notification_hub_status_summaryobject
creation_timestring
regionstringAWS region.

For more information, see AWS::Notifications::NotificationHub.

Methods

NameAccessible byRequired Params
create_resourceINSERTRegion, region
delete_resourceDELETEdata__Identifier, region
list_resourcesSELECTregion
get_resourceSELECTdata__Identifier, region

SELECT examples

Gets all properties from an individual notification_hub.

SELECT
region,
region,
notification_hub_status_summary,
creation_time
FROM awscc.notifications.notification_hubs
WHERE region = 'us-east-1' AND data__Identifier = '<Region>';

INSERT example

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

/*+ create */
INSERT INTO awscc.notifications.notification_hubs (
Region,
region
)
SELECT
'{{ Region }}',
'{{ region }}';

DELETE example

/*+ delete */
DELETE FROM awscc.notifications.notification_hubs
WHERE data__Identifier = '<Region>'
AND region = 'us-east-1';

Permissions

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

Read

notifications:ListNotificationHubs

Create

notifications:RegisterNotificationHub,
notifications:ListNotificationHubs,
iam:CreateServiceLinkedRole

Delete

notifications:DeregisterNotificationHub,
notifications:ListNotificationHubs

List

notifications:ListNotificationHubs