asPolicyArnOrNull

Casts this PolicyIdentifier as a PolicyArn and retrieves its kotlin.String value. Returns null if the PolicyIdentifier is not a PolicyArn.