Class: Aws::SecurityHub::Types::AwsRdsDbInstanceAssociatedRole

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

Overview

Note:

When making an API call, you may pass AwsRdsDbInstanceAssociatedRole data as a hash:

{
  role_arn: "NonEmptyString",
  feature_name: "NonEmptyString",
  status: "NonEmptyString",
}

An AWS Identity and Access Management (IAM) role associated with the DB instance.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#feature_nameString

The name of the feature associated with the IAM)role.

Returns:

  • (String)


2304
2305
2306
2307
2308
2309
2310
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 2304

class AwsRdsDbInstanceAssociatedRole < 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)


2304
2305
2306
2307
2308
2309
2310
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 2304

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

#statusString

Describes the state of the 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 AWS 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 AWS services on your behalf.

Returns:

  • (String)


2304
2305
2306
2307
2308
2309
2310
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 2304

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