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

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-rds/types.rb

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#enabledBoolean

Specifies whether to activate the subscription.

Returns:

  • (Boolean)


19947
19948
19949
19950
19951
19952
19953
19954
19955
# File 'lib/aws-sdk-rds/types.rb', line 19947

class ModifyEventSubscriptionMessage < Struct.new(
  :subscription_name,
  :sns_topic_arn,
  :source_type,
  :event_categories,
  :enabled)
  SENSITIVE = []
  include Aws::Structure
end

#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.

[1]: docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Events.html

Returns:

  • (Array<String>)


19947
19948
19949
19950
19951
19952
19953
19954
19955
# File 'lib/aws-sdk-rds/types.rb', line 19947

class ModifyEventSubscriptionMessage < Struct.new(
  :subscription_name,
  :sns_topic_arn,
  :source_type,
  :event_categories,
  :enabled)
  SENSITIVE = []
  include Aws::Structure
end

#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)


19947
19948
19949
19950
19951
19952
19953
19954
19955
# File 'lib/aws-sdk-rds/types.rb', line 19947

class ModifyEventSubscriptionMessage < Struct.new(
  :subscription_name,
  :sns_topic_arn,
  :source_type,
  :event_categories,
  :enabled)
  SENSITIVE = []
  include Aws::Structure
end

#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. 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 `

Returns:

  • (String)


19947
19948
19949
19950
19951
19952
19953
19954
19955
# File 'lib/aws-sdk-rds/types.rb', line 19947

class ModifyEventSubscriptionMessage < Struct.new(
  :subscription_name,
  :sns_topic_arn,
  :source_type,
  :event_categories,
  :enabled)
  SENSITIVE = []
  include Aws::Structure
end

#subscription_nameString

The name of the RDS event notification subscription.

Returns:

  • (String)


19947
19948
19949
19950
19951
19952
19953
19954
19955
# File 'lib/aws-sdk-rds/types.rb', line 19947

class ModifyEventSubscriptionMessage < Struct.new(
  :subscription_name,
  :sns_topic_arn,
  :source_type,
  :event_categories,
  :enabled)
  SENSITIVE = []
  include Aws::Structure
end