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

Class: Aws::RDS::Types::AddRoleToDBClusterMessage

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 AddRoleToDBClusterMessage data as a hash:

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

Instance Attribute Summary collapse

Instance Attribute Details

#db_cluster_identifierString

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

Returns:

  • (String)


160
161
162
163
164
165
# File 'gems/aws-sdk-rds/lib/aws-sdk-rds/types.rb', line 160

class AddRoleToDBClusterMessage < Struct.new(
  :db_cluster_identifier,
  :role_arn,
  :feature_name)
  include Aws::Structure
end

#feature_nameString

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

Returns:

  • (String)


160
161
162
163
164
165
# File 'gems/aws-sdk-rds/lib/aws-sdk-rds/types.rb', line 160

class AddRoleToDBClusterMessage < Struct.new(
  :db_cluster_identifier,
  :role_arn,
  :feature_name)
  include Aws::Structure
end

#role_arnString

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

Returns:

  • (String)


160
161
162
163
164
165
# File 'gems/aws-sdk-rds/lib/aws-sdk-rds/types.rb', line 160

class AddRoleToDBClusterMessage < Struct.new(
  :db_cluster_identifier,
  :role_arn,
  :feature_name)
  include Aws::Structure
end