

# SkewProtectionConfig

The version skew protection settings for an environment.

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

 ** CookieMaxAgeSeconds **   <a name="amplifygen3-Type-SkewProtectionConfig-CookieMaxAgeSeconds"></a>
The maximum age, in seconds, of the version skew protection cookie.  
Type: Integer  
Valid Range: Minimum value of 0. Maximum value of 604800.  
Required: No

 ** Status **   <a name="amplifygen3-Type-SkewProtectionConfig-Status"></a>
Specifies whether version skew protection is enabled for the environment.  
Type: String  
Valid Values: `ENABLED | DISABLED`   
Required: No

## See Also
<a name="API_SkewProtectionConfig_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/amplifygen3-2025-09-18/SkewProtectionConfig) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/amplifygen3-2025-09-18/SkewProtectionConfig) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/amplifygen3-2025-09-18/SkewProtectionConfig) 