Class: Aws::VerifiedPermissions::Types::EntityItem

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

Overview

Contains information about an entity that can be referenced in a Cedar policy.

This data type is used as one of the fields in the EntitiesDefinition structure.

{ "identifier": { "entityType": "Photo", "entityId": "VacationPhoto94.jpg" }, "attributes": {}, "parents": [ { "entityType": "Album", "entityId": "alice_folder" } ] }

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#attributesHash<String,Types::AttributeValue>

A list of attributes for the entity.

Returns:



1622
1623
1624
1625
1626
1627
1628
# File 'gems/aws-sdk-verifiedpermissions/lib/aws-sdk-verifiedpermissions/types.rb', line 1622

class EntityItem < Struct.new(
  :identifier,
  :attributes,
  :parents)
  SENSITIVE = []
  include Aws::Structure
end

#identifierTypes::EntityIdentifier

The identifier of the entity.



1622
1623
1624
1625
1626
1627
1628
# File 'gems/aws-sdk-verifiedpermissions/lib/aws-sdk-verifiedpermissions/types.rb', line 1622

class EntityItem < Struct.new(
  :identifier,
  :attributes,
  :parents)
  SENSITIVE = []
  include Aws::Structure
end

#parentsArray<Types::EntityIdentifier>

The parent entities in the hierarchy that contains the entity. A principal or resource entity can be defined with at most 99 transitive parents per authorization request.

A transitive parent is an entity in the hierarchy of entities including all direct parents, and parents of parents. For example, a user can be a member of 91 groups if one of those groups is a member of eight groups, for a total of 100: one entity, 91 entity parents, and eight parents of parents.

Returns:



1622
1623
1624
1625
1626
1627
1628
# File 'gems/aws-sdk-verifiedpermissions/lib/aws-sdk-verifiedpermissions/types.rb', line 1622

class EntityItem < Struct.new(
  :identifier,
  :attributes,
  :parents)
  SENSITIVE = []
  include Aws::Structure
end