

# GeneratedPolicy
<a name="API_GeneratedPolicy"></a>

Contains the text for the generated policy.

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

 ** policy **   <a name="accessanalyzer-Type-GeneratedPolicy-policy"></a>
The text to use as the content for the new policy. The policy is created using the [CreatePolicy](https://docs.aws.amazon.com/IAM/latest/APIReference/API_CreatePolicy.html) action.  
Type: String  
Required: Yes

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

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