Class: Aws::RDS::Types::AddRoleToDBInstanceMessage

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

Overview

Note:

When making an API call, you may pass AddRoleToDBInstanceMessage data as a hash:

{
  db_instance_identifier: "String", # required
  role_arn: "String", # required
  feature_name: "String", # required
}

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#db_instance_identifierString

The name of the DB instance to associate the IAM role with.

Returns:

  • (String)


207
208
209
210
211
212
213
# File 'gems/aws-sdk-rds/lib/aws-sdk-rds/types.rb', line 207

class AddRoleToDBInstanceMessage < Struct.new(
  :db_instance_identifier,
  :role_arn,
  :feature_name)
  SENSITIVE = []
  include Aws::Structure
end

#feature_nameString

The name of the feature for the DB instance that the IAM role is to be associated with. For the list of supported feature names, see DBEngineVersion.

Returns:

  • (String)


207
208
209
210
211
212
213
# File 'gems/aws-sdk-rds/lib/aws-sdk-rds/types.rb', line 207

class AddRoleToDBInstanceMessage < Struct.new(
  :db_instance_identifier,
  :role_arn,
  :feature_name)
  SENSITIVE = []
  include Aws::Structure
end

#role_arnString

The Amazon Resource Name (ARN) of the IAM role to associate with the DB instance, for example arn:aws:iam::123456789012:role/AccessRole.

Returns:

  • (String)


207
208
209
210
211
212
213
# File 'gems/aws-sdk-rds/lib/aws-sdk-rds/types.rb', line 207

class AddRoleToDBInstanceMessage < Struct.new(
  :db_instance_identifier,
  :role_arn,
  :feature_name)
  SENSITIVE = []
  include Aws::Structure
end