EntityReference
Contains information about a principal or resource that can be referenced in a Cedar policy.
This data type is used as part of the PolicyFilter structure that is used as a request parameter for the ListPolicies operation..
Inheritors
Types
The identifier of the entity. It can consist of either an EntityType and EntityId, a principal, or a resource.
Used to indicate that a principal or resource is not specified. This can be used to search for policies that are not associated with a specific principal or resource.
Functions
Casts this EntityReference as a Identifier and retrieves its aws.sdk.kotlin.services.verifiedpermissions.model.EntityIdentifier value. Throws an exception if the EntityReference is not a Identifier.
Casts this EntityReference as a Identifier and retrieves its aws.sdk.kotlin.services.verifiedpermissions.model.EntityIdentifier value. Returns null if the EntityReference is not a Identifier.
Casts this EntityReference as a Unspecified and retrieves its kotlin.Boolean value. Throws an exception if the EntityReference is not a Unspecified.
Casts this EntityReference as a Unspecified and retrieves its kotlin.Boolean value. Returns null if the EntityReference is not a Unspecified.