HEX
Server: Apache
System: Linux pdx1-shared-a1-38 6.6.104-grsec-jammy+ #3 SMP Tue Sep 16 00:28:11 UTC 2025 x86_64
User: mmickelson (3396398)
PHP: 8.1.31
Disabled: NONE
Upload Files
File: //usr/share/doc/awscli/examples/ce/get-tags.rst
**To retrieve keys and values for a cost allocation tag**

This example retrieves all cost allocation tags with a key of "Project" and a value that contains "secretProject".

Command::

  aws ce get-tags --search-string secretProject --time-period Start=2017-01-01,End=2017-05-18 --tag-key Project
  
Output::
	
  {
    "ReturnSize": 2,
    "Tags": [
      "secretProject1",
      "secretProject2"
    ],
    "TotalSize": 2
  }