AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Class: Aws::RDS::Types::DBInstanceRole

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

Overview

Describes an Amazon Web Services Identity and Access Management (IAM) role that is associated with a DB instance.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#feature_nameString

The name of the feature associated with the Amazon Web Services Identity and Access Management (IAM) role. For information about supported feature names, see DBEngineVersion.

Returns:

  • (String)


8085
8086
8087
8088
8089
8090
8091
# File 'gems/aws-sdk-rds/lib/aws-sdk-rds/types.rb', line 8085

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

#role_arnString

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

Returns:

  • (String)


8085
8086
8087
8088
8089
8090
8091
# File 'gems/aws-sdk-rds/lib/aws-sdk-rds/types.rb', line 8085

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

#statusString

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

  • ACTIVE - the IAM role ARN is associated with the DB instance and can be used to access other Amazon Web Services services on your behalf.

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

  • INVALID - the IAM role ARN is associated with the DB instance, but the DB instance is unable to assume the IAM role in order to access other Amazon Web Services services on your behalf.

Returns:

  • (String)


8085
8086
8087
8088
8089
8090
8091
# File 'gems/aws-sdk-rds/lib/aws-sdk-rds/types.rb', line 8085

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