

# VersionPolicy

Specifies how a profile entry selects which extension version to use.

## Contents
<a name="API_VersionPolicy_Contents"></a>

 ** updateStrategy **   <a name="systemsmanagercloudextensions-Type-VersionPolicy-updateStrategy"></a>
The update strategy to use when a new extension version is available. `AUTOMATIC` updates the entry to newer versions that match the `versionSelector`. `MANUAL` doesn't apply any automatic updates. You set the version explicitly.  
Type: String  
Valid Values: `AUTOMATIC | MANUAL`   
Required: No

 ** versionSelector **   <a name="systemsmanagercloudextensions-Type-VersionPolicy-versionSelector"></a>
A version selector that limits which versions are eligible. If the update strategy is `AUTOMATIC`, you can use the selector to limit updates to patches within a minor version. If the update strategy is `MANUAL`, the value must correspond to a specific extension version.  
Type: String  
Pattern: `(0|[1-9]\d{0,7})(\.[xX*](\.[xX*])?|\.(0|[1-9]\d{0,7})(\.([xX*]|0|[1-9]\d{0,7}))?)?`   
Required: No

## See Also
<a name="API_VersionPolicy_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS SDK for C\+\+](https://docs.aws.amazon.com/goto/SdkForCpp/cloudextensions-2026-11-29/VersionPolicy) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/cloudextensions-2026-11-29/VersionPolicy) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/cloudextensions-2026-11-29/VersionPolicy) 