Class: Aws::VerifiedPermissions::Types::EntityItem
- Inherits:
-
Struct
- Object
- Struct
- Aws::VerifiedPermissions::Types::EntityItem
- 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
-
#attributes ⇒ Hash<String,Types::AttributeValue>
A list of attributes for the entity.
-
#identifier ⇒ Types::EntityIdentifier
The identifier of the entity.
-
#parents ⇒ Array<Types::EntityIdentifier>
The parent entities in the hierarchy that contains the entity.
Instance Attribute Details
#attributes ⇒ Hash<String,Types::AttributeValue>
A list of attributes for the entity.
1467 1468 1469 1470 1471 1472 1473 |
# File 'gems/aws-sdk-verifiedpermissions/lib/aws-sdk-verifiedpermissions/types.rb', line 1467 class EntityItem < Struct.new( :identifier, :attributes, :parents) SENSITIVE = [] include Aws::Structure end |
#identifier ⇒ Types::EntityIdentifier
The identifier of the entity.
1467 1468 1469 1470 1471 1472 1473 |
# File 'gems/aws-sdk-verifiedpermissions/lib/aws-sdk-verifiedpermissions/types.rb', line 1467 class EntityItem < Struct.new( :identifier, :attributes, :parents) SENSITIVE = [] include Aws::Structure end |
#parents ⇒ Array<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.
1467 1468 1469 1470 1471 1472 1473 |
# File 'gems/aws-sdk-verifiedpermissions/lib/aws-sdk-verifiedpermissions/types.rb', line 1467 class EntityItem < Struct.new( :identifier, :attributes, :parents) SENSITIVE = [] include Aws::Structure end |