AWS Fundamentals Logo
AWS Fundamentals
AWS::RDS::EventSubscription

RDS EventSubscription

The AWS::RDS::EventSubscription resource allows you to receive notifications for Amazon Relational Database Service events through the Amazon Simple Notification Service (Amazon SNS). For more information, see [Using Amazon RDS Event Notification](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Events.html) in the *Amazon RDS User Guide*.

Properties

7 configurable properties. 1 required. Click a row to see details.

Filter:
PropertyTypeFlags
SnsTopicArn
string
RequiredCreate-only
Enabled
boolean
EventCategories
Array<string>
SourceIds
Array<string>
SourceType
string
SubscriptionName
string
Create-only
Tags
Array<Tag>

Sample CloudFormation Template

A minimal template with required properties and common optional ones.

template.yaml
AWSTemplateFormatVersion: "2010-09-09"
Description: Sample template for AWS::RDS::EventSubscription

Resources:
  MyResource:
    Type: AWS::RDS::EventSubscription
    Properties:
      SnsTopicArn: "arn:aws:service:region:account:resource"
      Tags:
        - Key: Environment
          Value: Production

Required IAM Permissions

Permissions CloudFormation needs in your IAM role to manage this resource.

create

iam:CreateServiceLinkedRolerds:CreateEventSubscriptionrds:DescribeEventSubscriptionsrds:ListTagsForResourcerds:AddTagsToResourcerds:RemoveTagsFromResource

read

rds:DescribeEventSubscriptionsrds:ListTagsForResource

update

rds:ModifyEventSubscriptionrds:AddSourceIdentifierToSubscriptionrds:RemoveSourceIdentifierFromSubscriptionrds:DescribeEventSubscriptionsrds:ListTagsForResourcerds:AddTagsToResourcerds:RemoveTagsFromResource

delete

rds:DeleteEventSubscriptionrds:DescribeEventSubscriptions

list

rds:DescribeEventSubscriptions

Get the RDS Cheat Sheet

Everything you need to know about RDS on one page. HD quality, print-friendly.

Download Free Infographic

Quick Facts

ServiceRDS
Properties7
Required1
TaggingSupported
Primary IDSubscriptionName

Supported Operations

CreateReadUpdateDeleteList

Immutable After Creation

These properties cannot be changed after the resource is created. Updating them triggers a replacement.

SubscriptionNameSnsTopicArn

External Links