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


13808
13809
13810
13811
13812
13813
13814
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 13808

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

#role_arnString

The ARN of the IAM role that is associated with the DB instance.

Returns:

  • (String)


13808
13809
13810
13811
13812
13813
13814
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 13808

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


13808
13809
13810
13811
13812
13813
13814
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 13808

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