Class: Aws::RDS::Types::AddSourceIdentifierToSubscriptionMessage
- Inherits:
-
Struct
- Object
- Struct
- Aws::RDS::Types::AddSourceIdentifierToSubscriptionMessage
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-rds/types.rb
Overview
When making an API call, you may pass AddSourceIdentifierToSubscriptionMessage data as a hash:
{
subscription_name: "String", # required
source_identifier: "String", # required
}
Instance Attribute Summary collapse
-
#source_identifier ⇒ String
The identifier of the event source to be added.
-
#subscription_name ⇒ String
The name of the RDS event notification subscription you want to add a source identifier to.
Instance Attribute Details
#source_identifier ⇒ String
The identifier of the event source to be added. An identifier must begin with a letter and must contain only ASCII letters, digits, and hyphens; it cannot end with a hyphen or contain two consecutive hyphens.
Constraints:
-
If the source type is a DB instance, then a ‘DBInstanceIdentifier` must be supplied.
-
If the source type is a DB security group, a ‘DBSecurityGroupName` must be supplied.
-
If the source type is a DB parameter group, a ‘DBParameterGroupName` must be supplied.
-
If the source type is a DB snapshot, a ‘DBSnapshotIdentifier` must be supplied.
112 113 114 115 116 |
# File 'lib/aws-sdk-rds/types.rb', line 112 class AddSourceIdentifierToSubscriptionMessage < Struct.new( :subscription_name, :source_identifier) include Aws::Structure end |
#subscription_name ⇒ String
The name of the RDS event notification subscription you want to add a source identifier to.
112 113 114 115 116 |
# File 'lib/aws-sdk-rds/types.rb', line 112 class AddSourceIdentifierToSubscriptionMessage < Struct.new( :subscription_name, :source_identifier) include Aws::Structure end |