asArnOrNull

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