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

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

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

Instance Attribute Summary collapse

Instance Attribute Details

#db_cluster_identifierString

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

Returns:

  • (String)


70
71
72
73
74
# File 'lib/aws-sdk-rds/types.rb', line 70

class AddRoleToDBClusterMessage < Struct.new(
  :db_cluster_identifier,
  :role_arn)
  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)


70
71
72
73
74
# File 'lib/aws-sdk-rds/types.rb', line 70

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