Skip to main content

source_identifier_to_subscriptions

Creates, updates, deletes, gets or lists a source_identifier_to_subscriptions resource.

Overview

Namesource_identifier_to_subscriptions
TypeResource
Idaws.docdb.source_identifier_to_subscriptions

Fields

The following fields are returned by SELECT queries:

SELECT not supported for this resource, use SHOW METHODS to view available operations for the resource.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
add_source_identifier_to_subscriptionupdateSubscriptionName, SourceIdentifier, regionAdds a source identifier to an existing event notification subscription.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
SourceIdentifierstringThe identifier of the event source to be added: If the source type is an instance, a DBInstanceIdentifier must be provided. If the source type is a security group, a DBSecurityGroupName must be provided. If the source type is a parameter group, a DBParameterGroupName must be provided. If the source type is a snapshot, a DBSnapshotIdentifier must be provided.
SubscriptionNamestringThe name of the Amazon DocumentDB event notification subscription that you want to add a source identifier to.
regionstringAWS region (default: us-east-1)

UPDATE examples

Adds a source identifier to an existing event notification subscription.

UPDATE aws.docdb.source_identifier_to_subscriptions
SET
-- No updatable properties
WHERE
SubscriptionName = '{{ SubscriptionName }}' --required
AND SourceIdentifier = '{{ SourceIdentifier }}' --required
AND region = '{{ region }}' --required
RETURNING
cust_subscription_id,
customer_aws_id,
enabled,
event_categories_list,
event_subscription_arn,
sns_topic_arn,
source_ids_list,
source_type,
status,
subscription_creation_time;