private static String getTagMemberName(CfnConfig config, ResourceShape resource) {
        return resource.getTrait(TaggableTrait.class)
                .flatMap(TaggableTrait::getProperty)
                .map(property -> {
                    if (config.getDisableCapitalizedProperties()) {
                        return property;
                    }
                    return StringUtils.capitalize(property);
                })
                .orElse(DEFAULT_TAGS_NAME);
    }
Generates the resource's Tagging configuration based on the AwsTagIndex, including
the tagging property and operations that interact with tags.

@see <a href="https://github.com/aws-cloudformation/cloudformation-cli/blob/master/src/rpdk/core/data/schema/provider.definition.schema.v1.json#L198">permissions property definition</a>
smithy-aws-cloudformation/src/main/java/software/amazon/smithy/aws/cloudformation/schema/fromsmithy/mappers/TaggingMapper.java