Skip to main content

event_subscription

Gets an individual event_subscription resource

Overview

Nameevent_subscription
TypeResource
Descriptionevent_subscription
Idawscc.redshift.event_subscription

Fields

NameDatatypeDescription
subscription_namestringThe name of the Amazon Redshift event notification subscription
sns_topic_arnstringThe Amazon Resource Name (ARN) of the Amazon SNS topic used to transmit the event notifications.
source_typestringThe type of source that will be generating the events.
source_idsarrayA list of one or more identifiers of Amazon Redshift source objects.
event_categoriesarraySpecifies the Amazon Redshift event categories to be published by the event notification subscription.
severitystringSpecifies the Amazon Redshift event severity to be published by the event notification subscription.
enabledbooleanA boolean value; set to true to activate the subscription, and set to false to create the subscription but not activate it.
tagsarrayAn array of key-value pairs to apply to this resource.
customer_aws_idstringThe AWS account associated with the Amazon Redshift event notification subscription.
cust_subscription_idstringThe name of the Amazon Redshift event notification subscription.
statusstringThe status of the Amazon Redshift event notification subscription.
subscription_creation_timestringThe date and time the Amazon Redshift event notification subscription was created.
source_ids_listarrayA list of the sources that publish events to the Amazon Redshift event notification subscription.
event_categories_listarrayThe list of Amazon Redshift event categories specified in the event notification subscription.
regionstringAWS region.

Methods

Currently only SELECT is supported for this resource resource.

Example

SELECT
region,
subscription_name,
sns_topic_arn,
source_type,
source_ids,
event_categories,
severity,
enabled,
tags,
customer_aws_id,
cust_subscription_id,
status,
subscription_creation_time,
source_ids_list,
event_categories_list
FROM awscc.redshift.event_subscription
WHERE data__Identifier = '<SubscriptionName>';

Permissions

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

Read

redshift:DescribeEventSubscriptions,
redshift:DescribeTags

Update

redshift:ModifyEventSubscription,
redshift:CreateTags,
redshift:DescribeTags,
redshift:DescribeEventSubscriptions,
redshift:DeleteTags

Delete

redshift:DescribeEventSubscriptions,
redshift:DeleteEventSubscription,
redshift:DescribeTags,
redshift:DeleteTags