| Server IP : 69.72.244.102 / Your IP : 216.73.216.164 Web Server : LiteSpeed System : Linux s3434.fra1.stableserver.net 4.18.0-513.24.1.lve.2.el8.x86_64 #1 SMP Fri May 24 12:42:50 UTC 2024 x86_64 User : konzalta ( 1271) PHP Version : 7.4.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /proc/1621799/root/usr/lib/python3.6/site-packages/awscli/examples/ssm/ |
Upload File : |
**Example 1: To add a label to latest version of a parameter**
This ``label-parameter-version`` example adds a label to the latest version of the specified parameter. ::
aws ssm label-parameter-version \
--name "MyStringParameter" \
--labels "ProductionReady"
Output::
{
"InvalidLabels": [],
"ParameterVersion": 3
}
**Example 2: To add a label to a specific version of a parameter**
This ``label-parameter-version`` example adds a label to the specified version of a parameter. ::
aws ssm label-parameter-version \
--name "MyStringParameter" \
--labels "ProductionReady" \
--parameter-version "2" --labels "DevelopmentReady"
For more information, see `Labeling Parameters <https://docs.aws.amazon.com/systems-manager/latest/userguide/sysman-paramstore-labels.html>`_ in the *AWS Systems Manager User Guide*.