public static Set transformTags()

in activity/src/main/java/com/amazonaws/stepfunctions/cloudformation/activity/TaggingHelper.java [113:124]


    public static Set<Tag> transformTags(Map<String, String> tags) {
        Set<Tag> filteredTags = new HashSet<>();
        if (tags != null) {
            for (Map.Entry<String, String> e : tags.entrySet()) {
                if (!e.getKey().toLowerCase().startsWith("aws:")) {
                    filteredTags.add(new Tag().withKey(e.getKey()).withValue(e.getValue()));
                }
            }
        }

        return filteredTags;
    }