Skip to main content

notification_channels

Creates, updates, deletes or gets a notification_channel resource or lists notification_channels in a region

Overview

Namenotification_channels
TypeResource
DescriptionThis resource schema represents the NotificationChannel resource in the Amazon DevOps Guru.
Idawscc.devopsguru.notification_channels

Fields

NameDatatypeDescription
configobjectInformation about notification channels you have configured with DevOps Guru.
idstringThe ID of a notification channel.
regionstringAWS region.

For more information, see AWS::DevOpsGuru::NotificationChannel.

Methods

NameResourceAccessible byRequired Params
create_resourcenotification_channelsINSERTConfig, region
delete_resourcenotification_channelsDELETEIdentifier, region
list_resourcesnotification_channels_list_onlySELECTregion
get_resourcenotification_channelsSELECTIdentifier, region

SELECT examples

Gets all properties from an individual notification_channel.

SELECT
region,
config,
id
FROM awscc.devopsguru.notification_channels
WHERE
region = 'us-east-1' AND
Identifier = '{{ id }}';

INSERT example

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

/*+ create */
INSERT INTO awscc.devopsguru.notification_channels (
Config,
region
)
SELECT
'{{ config }}',
'{{ region }}';

DELETE example

/*+ delete */
DELETE FROM awscc.devopsguru.notification_channels
WHERE
Identifier = '{{ id }}' AND
region = 'us-east-1';

Permissions

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

devops-guru:AddNotificationChannel,
devops-guru:ListNotificationChannels,
sns:Publish,
sns:GetTopicAttributes,
sns:SetTopicAttributes