Class: Aws::DocDB::Types::DBClusterRole

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

Overview

Describes an AWS Identity and Access Management (IAM) role that is associated with a cluster.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#role_arnString

The Amazon Resource Name (ARN) of the IAM role that is associated with the DB cluster.

Returns:

  • (String)


1433
1434
1435
1436
1437
1438
# File 'gems/aws-sdk-docdb/lib/aws-sdk-docdb/types.rb', line 1433

class DBClusterRole < Struct.new(
  :role_arn,
  :status)
  SENSITIVE = []
  include Aws::Structure
end

#statusString

Describes the state of association between the IAM role and the cluster. The Status property returns one of the following values:

  • ACTIVE - The IAM role ARN is associated with the cluster and can be used to access other AWS services on your behalf.

  • PENDING - The IAM role ARN is being associated with the DB cluster.

  • INVALID - The IAM role ARN is associated with the cluster, but the cluster cannot assume the IAM role to access other AWS services on your behalf.

Returns:

  • (String)


1433
1434
1435
1436
1437
1438
# File 'gems/aws-sdk-docdb/lib/aws-sdk-docdb/types.rb', line 1433

class DBClusterRole < Struct.new(
  :role_arn,
  :status)
  SENSITIVE = []
  include Aws::Structure
end