asStringOrNull

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