PathElement
A single element in a path through the JSON representation of a policy.
Inheritors
Types
Refers to an index in a JSON array.
Refers to a key in a JSON object.
Refers to a substring of a literal string in a JSON object.
Refers to the value associated with a given key in a JSON object.
Functions
Casts this PathElement as a Index and retrieves its kotlin.Int value. Throws an exception if the PathElement is not a Index.
Casts this PathElement as a Index and retrieves its kotlin.Int value. Returns null if the PathElement is not a Index.
Casts this PathElement as a Key and retrieves its kotlin.String value. Throws an exception if the PathElement is not a Key.
Casts this PathElement as a Key and retrieves its kotlin.String value. Returns null if the PathElement is not a Key.
Casts this PathElement as a Substring and retrieves its aws.sdk.kotlin.services.accessanalyzer.model.Substring value. Throws an exception if the PathElement is not a Substring.
Casts this PathElement as a Substring and retrieves its aws.sdk.kotlin.services.accessanalyzer.model.Substring value. Returns null if the PathElement is not a Substring.
Casts this PathElement as a Value and retrieves its kotlin.String value. Throws an exception if the PathElement is not a Value.
Casts this PathElement as a Value and retrieves its kotlin.String value. Returns null if the PathElement is not a Value.