Class: Aws::IAM::Types::PolicyRole

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

Overview

Contains information about a role that a managed policy is attached to.

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

For more information about managed policies, refer to Managed policies and inline policies in the IAM User Guide.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#role_idString

The stable and unique string identifying the role. For more information about IDs, see IAM identifiers in the IAM User Guide.

Returns:

  • (String)


8034
8035
8036
8037
8038
8039
# File 'gems/aws-sdk-iam/lib/aws-sdk-iam/types.rb', line 8034

class PolicyRole < Struct.new(
  :role_name,
  :role_id)
  SENSITIVE = []
  include Aws::Structure
end

#role_nameString

The name (friendly name, not ARN) identifying the role.

Returns:

  • (String)


8034
8035
8036
8037
8038
8039
# File 'gems/aws-sdk-iam/lib/aws-sdk-iam/types.rb', line 8034

class PolicyRole < Struct.new(
  :role_name,
  :role_id)
  SENSITIVE = []
  include Aws::Structure
end