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

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
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
}

Instance Attribute Summary collapse

Instance Attribute Details

#db_instance_identifierString

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

Returns:

  • (String)


103
104
105
106
107
108
# File 'lib/aws-sdk-rds/types.rb', line 103

class AddRoleToDBInstanceMessage < Struct.new(
  :db_instance_identifier,
  :role_arn,
  :feature_name)
  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)


103
104
105
106
107
108
# File 'lib/aws-sdk-rds/types.rb', line 103

class AddRoleToDBInstanceMessage < Struct.new(
  :db_instance_identifier,
  :role_arn,
  :feature_name)
  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)


103
104
105
106
107
108
# File 'lib/aws-sdk-rds/types.rb', line 103

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