event_subscription
Gets an individual event_subscription
resource
Overview
Name | event_subscription |
Type | Resource |
Description | event_subscription |
Id | awscc.redshift.event_subscription |
Fields
Name | Datatype | Description |
---|---|---|
subscription_name | string | The name of the Amazon Redshift event notification subscription |
sns_topic_arn | string | The Amazon Resource Name (ARN) of the Amazon SNS topic used to transmit the event notifications. |
source_type | string | The type of source that will be generating the events. |
source_ids | array | A list of one or more identifiers of Amazon Redshift source objects. |
event_categories | array | Specifies the Amazon Redshift event categories to be published by the event notification subscription. |
severity | string | Specifies the Amazon Redshift event severity to be published by the event notification subscription. |
enabled | boolean | A boolean value; set to true to activate the subscription, and set to false to create the subscription but not activate it. |
tags | array | An array of key-value pairs to apply to this resource. |
customer_aws_id | string | The AWS account associated with the Amazon Redshift event notification subscription. |
cust_subscription_id | string | The name of the Amazon Redshift event notification subscription. |
status | string | The status of the Amazon Redshift event notification subscription. |
subscription_creation_time | string | The date and time the Amazon Redshift event notification subscription was created. |
source_ids_list | array | A list of the sources that publish events to the Amazon Redshift event notification subscription. |
event_categories_list | array | The list of Amazon Redshift event categories specified in the event notification subscription. |
region | string | AWS 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