- Neueste
- Die meisten Stimmen
- Die meisten Kommentare
API GetResources
does not support listing only untagged resources or tags with empty values. In the invocation for GetResources
, If you don't specify a TagFilter
parameter, the response includes all resources that are currently tagged or ever had a tag. Resources that currently don't have tags are shown with an empty tag set, like this: "Tags": []
.
Additionally, If you don't specify a value for a key, the response returns all resources that are tagged with that key, with any or no value.
Also, this API may only list currently tagged resources or resources that were previously tagged, but may skip resources which were never tagged.
Filtering untagged resources is a functionality which is only available in Tag Editor console at the moment, with details listed in document - Finding resources to tag.
A workaround would be to use the GetResources
with no TagFilter
parameter, which will return all currently or previously tagged resources for given ResourceTypeFilters
, and then parse the resource list in response using client side filtering based on ResourceTagMappingList[].Tags[]
in the output.
Relevanter Inhalt
- AWS OFFICIALAktualisiert vor einem Jahr
- AWS OFFICIALAktualisiert vor einem Jahr