You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::RDS::Types::ModifyEventSubscriptionMessage

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing ModifyEventSubscriptionMessage as input to an Aws::Client method, you can use a vanilla Hash:

{
  subscription_name: "String", # required
  sns_topic_arn: "String",
  source_type: "String",
  event_categories: ["String"],
  enabled: false,
}

Instance Attribute Summary collapse

Instance Attribute Details

#enabledBoolean

A value that indicates whether to activate the subscription.

Returns:

  • (Boolean)

    A value that indicates whether to activate the subscription.

#event_categoriesArray<String>

A list of event categories for a source type (SourceType) that you want to subscribe to. You can see a list of the categories for a given source type in Events in the Amazon RDS User Guide or by using the DescribeEventCategories operation.

Returns:

  • (Array<String>)

    A list of event categories for a source type (SourceType) that you want to subscribe to.

#sns_topic_arnString

The Amazon Resource Name (ARN) of the SNS topic created for event notification. The ARN is created by Amazon SNS when you create a topic and subscribe to it.

Returns:

  • (String)

    The Amazon Resource Name (ARN) of the SNS topic created for event notification.

#source_typeString

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 would set this parameter to db-instance. 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

Returns:

  • (String)

    The type of source that is generating the events.

#subscription_nameString

The name of the RDS event notification subscription.

Returns:

  • (String)

    The name of the RDS event notification subscription.