https://t.me/RX1948
Server : Apache
System : Linux iad1-shared-b8-43 6.6.49-grsec-jammy+ #10 SMP Thu Sep 12 23:23:08 UTC 2024 x86_64
User : dh_edsupp ( 6597262)
PHP Version : 8.2.26
Disable Function : NONE
Directory :  /lib/python3/dist-packages/awscli/examples/redshift/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //lib/python3/dist-packages/awscli/examples/redshift/create-event-subscription.rst
**To create a notification subscription for an event**

The following ``create-event-subscription`` example creates an event notification subscription. ::

    aws redshift create-event-subscription \
        --subscription-name mysubscription \
        --sns-topic-arn arn:aws:sns:us-west-2:123456789012:MySNStopic \
        --source-type cluster \
        --source-ids mycluster

Output::

    {
            "EventSubscription": {
            "CustomerAwsId": "123456789012",
            "CustSubscriptionId": "mysubscription",
            "SnsTopicArn": "arn:aws:sns:us-west-2:123456789012:MySNStopic",
            "Status": "active",
            "SubscriptionCreationTime": "2019-12-09T20:05:19.365Z",
            "SourceType": "cluster",
            "SourceIdsList": [
                "mycluster"
            ],
            "EventCategoriesList": [],
            "Severity": "INFO",
            "Enabled": true,
            "Tags": []
        }
    }

For more information, see `Subscribing to Amazon Redshift Event Notifications <https://docs.aws.amazon.com/redshift/latest/mgmt/working-with-event-notifications.html>`__ in the *Amazon Redshift Cluster Management Guide*.

https://t.me/RX1948 - 2025