AWS Fundamentals Logo
AWS Fundamentals
AWS::DocDB::EventSubscription

DocDB EventSubscription

Resource Type definition for AWS::DocDB::EventSubscription

Properties

6 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

Sample CloudFormation Template

A minimal template with required properties and common optional ones.

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

Resources:
  MyResource:
    Type: AWS::DocDB::EventSubscription
    Properties:
      SnsTopicArn: "arn:aws:service:region:account:resource"

Required IAM Permissions

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

create

rds:CreateEventSubscription

delete

rds:DeleteEventSubscription

read

rds:DescribeEventSubscriptions

list

rds:DescribeEventSubscriptions

update

rds:ModifyEventSubscriptionrds:DescribeEventSubscriptionsrds:AddSourceIdentifierToSubscriptionrds:RemoveSourceIdentifierFromSubscription

Learn AWS the Practical Way

Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.

Subscribe to Newsletter

Quick Facts

ServiceDocDB
Properties6
Required1
TaggingNot supported
Primary IDSubscriptionName

Supported Operations

CreateDeleteReadListUpdate

Immutable After Creation

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

SnsTopicArnSubscriptionName

External Links