GetEventSubscriptionResult

data class GetEventSubscriptionResult(val enabled: Boolean? = null, val eventCategories: List<String>? = null, val sourceIds: List<String>? = null, val sourceType: String? = null, val tags: List<Tag>? = null)

Constructors

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

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val enabled: 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

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 sourceIds: 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: 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 tags: List<Tag>? = null

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