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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-iam/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.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#entity_name ⇒ String

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.

Returns:

  • (String)


11244
11245
11246
11247
11248
11249
11250
11251
11252
# File 'gems/aws-sdk-iam/lib/aws-sdk-iam/types.rb', line 11244

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

#entity_type ⇒ String

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.

Returns:

  • (String)


11244
11245
11246
11247
11248
11249
11250
11251
11252
# File 'gems/aws-sdk-iam/lib/aws-sdk-iam/types.rb', line 11244

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

#policy_arn ⇒ String

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

For more information about ARNs, go to Amazon Resource Names (ARNs) in the Amazon Web Services General Reference.

Returns:

  • (String)


11244
11245
11246
11247
11248
11249
11250
11251
11252
# File 'gems/aws-sdk-iam/lib/aws-sdk-iam/types.rb', line 11244

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

#policy_name ⇒ String

The policy name.

Returns:

  • (String)


11244
11245
11246
11247
11248
11249
11250
11251
11252
# File 'gems/aws-sdk-iam/lib/aws-sdk-iam/types.rb', line 11244

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

#policy_type ⇒ String

The policy type. For more information about these policy types, see Managed policies and inline policies in the IAM User Guide.

Returns:

  • (String)


11244
11245
11246
11247
11248
11249
11250
11251
11252
# File 'gems/aws-sdk-iam/lib/aws-sdk-iam/types.rb', line 11244

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