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/cloudformation/set-type-default-version.rst
**To set a type's default version**

The following ``set-type-default-version`` example sets the specified type version to be used as the default for this type. ::

    aws cloudformation set-type-default-version \
        --type RESOURCE \
        --type-name My::Logs::LogGroup \
        --version-id 00000003

This command produces no output.

For more information, see `Using the CloudFormation Registry <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/registry.html>`__ in the *AWS CloudFormation Users Guide*.