public static Set transformTags()

in statemachine/src/main/java/com/amazonaws/stepfunctions/cloudformation/statemachine/TaggingHelper.java [100:111]


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

        return filteredTags;
    }