Skip to content

cloudNativeTagRules

Cloud native tag rules.

Arguments

Argument Type Description
objectType (required) CloudNativeTagObjectType! Type of managed object on which tag rule will be applied.
filters [CloudNativeFilter!] Fields and values according to which rules will be filtered.
sortBy CloudNativeTagRuleSortByFields
sortOrder SortOrder Sorts the order of results.

Returns

GetCloudNativeTagRulesReply!

Sample

query CloudNativeTagRules($objectType: CloudNativeTagObjectType!) {
  cloudNativeTagRules(objectType: $objectType)
}
{
  "objectType": "AWS_DYNAMODB_TABLE"
}
{
  "data": {
    "cloudNativeTagRules": {
      "tagRules": [
        {
          "applyToAllCloudAccounts": true,
          "hasPermissionToModify": true,
          "id": "example-string",
          "name": "example-string",
          "objectType": "ACTIVE_DIRECTORY_DOMAIN"
        }
      ]
    }
  }
}