Class: Aws::IAM::Types::RoleUsageType

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-iam/types.rb

Overview

An object that contains details about how a service-linked role is used, if that information is returned by the service.

This data type is used as a response element in the GetServiceLinkedRoleDeletionStatus operation.

Instance Attribute Summary collapse

Instance Attribute Details

#regionString

The name of the region where the service-linked role is being used.

Returns:

  • (String)


7566
7567
7568
7569
7570
# File 'lib/aws-sdk-iam/types.rb', line 7566

class RoleUsageType < Struct.new(
  :region,
  :resources)
  include Aws::Structure
end

#resourcesArray<String>

The name of the resource that is using the service-linked role.

Returns:

  • (Array<String>)


7566
7567
7568
7569
7570
# File 'lib/aws-sdk-iam/types.rb', line 7566

class RoleUsageType < Struct.new(
  :region,
  :resources)
  include Aws::Structure
end