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:



1419
1420
1421
1422
1423
1424
1425
# File 'gems/aws-sdk-verifiedpermissions/lib/aws-sdk-verifiedpermissions/types.rb', line 1419

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

#identifierTypes::EntityIdentifier

The identifier of the entity.



1419
1420
1421
1422
1423
1424
1425
# File 'gems/aws-sdk-verifiedpermissions/lib/aws-sdk-verifiedpermissions/types.rb', line 1419

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

#parentsArray<Types::EntityIdentifier>

The parents in the hierarchy that contains the entity.

Returns:



1419
1420
1421
1422
1423
1424
1425
# File 'gems/aws-sdk-verifiedpermissions/lib/aws-sdk-verifiedpermissions/types.rb', line 1419

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