Class: Aws::IAM::Types::PolicyGrantingServiceAccess

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

Overview

Contains details about the permissions policies that are attached to the specified identity (user, group, or role).

This data type is an element of the ListPoliciesGrantingServiceAccessEntry object.

Instance Attribute Summary collapse

Instance Attribute Details

#entity_nameString

The name of the entity (user or role) to which the inline policy is attached.

This field is null for managed policies. For more information about these policy types, see [Managed Policies and Inline Policies] in the *IAM User Guide*.

[1]: docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_managed-vs-inline.html

Returns:

  • (String)


7165
7166
7167
7168
7169
7170
7171
7172
# File 'lib/aws-sdk-iam/types.rb', line 7165

class PolicyGrantingServiceAccess < Struct.new(
  :policy_name,
  :policy_type,
  :policy_arn,
  :entity_type,
  :entity_name)
  include Aws::Structure
end

#entity_typeString

The type of entity (user or role) that used the policy to access the service to which the inline policy is attached.

This field is null for managed policies. For more information about these policy types, see [Managed Policies and Inline Policies] in the *IAM User Guide*.

[1]: docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_managed-vs-inline.html

Returns:

  • (String)


7165
7166
7167
7168
7169
7170
7171
7172
# File 'lib/aws-sdk-iam/types.rb', line 7165

class PolicyGrantingServiceAccess < Struct.new(
  :policy_name,
  :policy_type,
  :policy_arn,
  :entity_type,
  :entity_name)
  include Aws::Structure
end

#policy_arnString

The Amazon Resource Name (ARN). ARNs are unique identifiers for AWS resources.

For more information about ARNs, go to [Amazon Resource Names (ARNs) and AWS Service Namespaces] in the *AWS General Reference*.

[1]: docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html

Returns:

  • (String)


7165
7166
7167
7168
7169
7170
7171
7172
# File 'lib/aws-sdk-iam/types.rb', line 7165

class PolicyGrantingServiceAccess < Struct.new(
  :policy_name,
  :policy_type,
  :policy_arn,
  :entity_type,
  :entity_name)
  include Aws::Structure
end

#policy_nameString

The policy name.

Returns:

  • (String)


7165
7166
7167
7168
7169
7170
7171
7172
# File 'lib/aws-sdk-iam/types.rb', line 7165

class PolicyGrantingServiceAccess < Struct.new(
  :policy_name,
  :policy_type,
  :policy_arn,
  :entity_type,
  :entity_name)
  include Aws::Structure
end

#policy_typeString

The policy type. For more information about these policy types, see

Managed Policies and Inline Policies][1

in the *IAM User Guide*.

[1]: docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_managed-vs-inline.html

Returns:

  • (String)


7165
7166
7167
7168
7169
7170
7171
7172
# File 'lib/aws-sdk-iam/types.rb', line 7165

class PolicyGrantingServiceAccess < Struct.new(
  :policy_name,
  :policy_type,
  :policy_arn,
  :entity_type,
  :entity_name)
  include Aws::Structure
end