

# VersionToPublish
<a name="API_VersionToPublish"></a>

A version of the named managed rule group, that the rule group's vendor publishes for use by customers. 

**Note**  
This is intended for use only by vendors of managed rule sets. Vendors are Amazon and Amazon Web Services Marketplace sellers.   
Vendors, you can use the managed rule set APIs to provide controlled rollout of your versioned managed rule group offerings for your customers. The APIs are `ListManagedRuleSets`, `GetManagedRuleSet`, `PutManagedRuleSetVersions`, and `UpdateManagedRuleSetVersionExpiryDate`.

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

 ** AssociatedRuleGroupArn **   <a name="WAF-Type-VersionToPublish-AssociatedRuleGroupArn"></a>
The Amazon Resource Name (ARN) of the vendor's rule group that's used in the published managed rule group version.   
Type: String  
Length Constraints: Minimum length of 20. Maximum length of 2048.  
Pattern: `.*\S.*`   
Required: No

 ** ForecastedLifetime **   <a name="WAF-Type-VersionToPublish-ForecastedLifetime"></a>
The amount of time the vendor expects this version of the managed rule group to last, in days.   
Type: Integer  
Valid Range: Minimum value of 1.  
Required: No

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

For more information about using this API in one of the language-specific Amazon SDKs, see the following:
+  [Amazon SDK for C\$1\$1](https://docs.amazonaws.cn/goto/SdkForCpp/wafv2-2019-07-29/VersionToPublish) 
+  [Amazon SDK for Java V2](https://docs.amazonaws.cn/goto/SdkForJavaV2/wafv2-2019-07-29/VersionToPublish) 
+  [Amazon SDK for Ruby V3](https://docs.amazonaws.cn/goto/SdkForRubyV3/wafv2-2019-07-29/VersionToPublish) 