class Aws::DocDB::Types::CreateEventSubscriptionMessage
@see docs.aws.amazon.com/goto/WebAPI/docdb-2014-10-31/CreateEventSubscriptionMessage AWS API Documentation
@return [Array<Types::Tag>]
The tags to be assigned to the event subscription.
@!attribute [rw] tags
@return [Boolean]
‘false` to create the subscription but not active it.
A Boolean value; set to `true` to activate the subscription, set to
@!attribute [rw] enabled
@return [Array<String>]
provided.
* If the source type is a snapshot, a `DBSnapshotIdentifier` must be
must be provided.
* If the source type is a parameter group, a `DBParameterGroupName`
must be provided.
* If the source type is a security group, a `DBSecurityGroupName`
be provided.
* If the source type is an instance, a `DBInstanceIdentifier` must
* If `SourceIds` are provided, `SourceType` must also be provided.
Constraints:
or contain two consecutive hyphens.
only ASCII letters, digits, and hyphens; it can’t end with a hyphen
response. An identifier must begin with a letter and must contain
returned. If not specified, then all sources are included in the
The list of identifiers of the event sources for which events are
@!attribute [rw] source_ids
@return [Array<String>]
subscribe to.
A list of event categories for a ‘SourceType` that you want to
@!attribute [rw] event_categories
@return [String]
`db-security-group`, `db-cluster-snapshot`
Valid values: `db-instance`, `db-cluster`, `db-parameter-group`,
specified, all events are returned.
would set this parameter to `db-instance`. If this value is not
you want to be notified of events generated by an instance, you
The type of source that is generating the events. For example, if
@!attribute [rw] source_type
@return [String]
subscribe to it.
notification. Amazon SNS creates the ARN when you create a topic and
The Amazon Resource Name (ARN) of the SNS topic created for event
@!attribute [rw] sns_topic_arn
@return [String]
Constraints: The name must be fewer than 255 characters.
The name of the subscription.
@!attribute [rw] subscription_name
}
],
},
value: “String”,
key: “String”,
{
tags: [
enabled: false,
source_ids: [“String”],
event_categories: [“String”],
source_type: “String”,
sns_topic_arn: “String”, # required
subscription_name: “String”, # required
{
data as a hash:
@note When making an API call, you may pass CreateEventSubscriptionMessage
Represents the input to CreateEventSubscription.