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/ec2/modify-id-format.rst
**To enable the longer ID format for a resource**

The following ``modify-id-format`` example enables the longer ID format for the ``instance`` resource type. ::

    aws ec2 modify-id-format \
        --resource instance \
        --use-long-ids

**To disable the longer ID format for a resource**

The following ``modify-id-format`` example disables the longer ID format for the ``instance`` resource type. ::

    aws ec2 modify-id-format \
        --resource instance \
        --no-use-long-ids

The following ``modify-id-format`` example enables the longer ID format for all supported resource types that are within their opt-in period. ::

    aws ec2 modify-id-format \
        --resource all-current \
        --use-long-ids