static boolean isArnMemberDesiredName(String memberName) {
        if (StringUtils.isEmpty(memberName)) {
            return false;
        }

        return memberName
                .replaceFirst("^[R|r]esource", "")
                .replaceFirst("[A|a]rn|ARN$", "")
                .isEmpty();
    }
Logic for validating that a shape looks like a tag.
smithy-aws-traits/src/main/java/software/amazon/smithy/aws/traits/tagging/TaggingShapeUtils.java