EventSubscriptionArgs

data class EventSubscriptionArgs(val enabled: Output<Boolean>? = null, val eventCategories: Output<List<String>>? = null, val snsTopicArn: Output<String>? = null, val sourceIds: Output<List<String>>? = null, val sourceType: Output<String>? = null, val subscriptionName: Output<String>? = null, val tags: Output<List<TagArgs>>? = null) : ConvertibleToJava<EventSubscriptionArgs>

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 in the Amazon RDS User Guide.

Constructors

Link copied to clipboard
constructor(enabled: Output<Boolean>? = null, eventCategories: Output<List<String>>? = null, snsTopicArn: Output<String>? = null, sourceIds: Output<List<String>>? = null, sourceType: Output<String>? = null, subscriptionName: Output<String>? = null, tags: Output<List<TagArgs>>? = null)

Properties

Link copied to clipboard
val enabled: Output<Boolean>? = null

Specifies whether to activate the subscription. If the event notification subscription isn't activated, the subscription is created but not active.

Link copied to clipboard
val eventCategories: Output<List<String>>? = null

A list of event categories for a particular source type (`SourceType`) that you want to subscribe to. You can see a list of the categories for a given source type in the "Amazon RDS event categories and event messages" section of the Amazon RDS User Guide or the Amazon Aurora User Guide. You can also see this list by using the `DescribeEventCategories` operation.

Link copied to clipboard
val snsTopicArn: Output<String>? = null

The Amazon Resource Name (ARN) of the SNS topic created for event notification. SNS automatically creates the ARN when you create a topic and subscribe to it. RDS doesn't support FIFO (first in, first out) topics. For more information, see Message ordering and deduplication (FIFO topics) in the Amazon Simple Notification Service Developer Guide.

Link copied to clipboard
val sourceIds: Output<List<String>>? = null

The list of identifiers of the event sources for which events are returned. If not specified, then all sources are included in the response. An identifier must begin with a letter and must contain only ASCII letters, digits, and hyphens. It can't end with a hyphen or contain two consecutive hyphens. Constraints:

Link copied to clipboard
val sourceType: Output<String>? = null

The type of source that is generating the events. For example, if you want to be notified of events generated by a DB instance, you set this parameter to `db-instance`. For RDS Proxy events, specify `db-proxy`. If this value isn't specified, all events are returned. Valid Values:`db-instance | db-cluster | db-parameter-group | db-security-group | db-snapshot | db-cluster-snapshot | db-proxy | zero-etl | custom-engine-version | blue-green-deployment`

Link copied to clipboard
val subscriptionName: Output<String>? = null

The name of the subscription. Constraints: The name must be less than 255 characters.

Link copied to clipboard
val tags: Output<List<TagArgs>>? = null

An optional array of key-value pairs to apply to this subscription.

Functions

Link copied to clipboard
open override fun toJava(): EventSubscriptionArgs