

# ResourcePolicy
<a name="API_ResourcePolicy"></a>

A structure that contains details about a resource policy.

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

 ** Content **   <a name="organizations-Type-ResourcePolicy-Content"></a>
The policy text of the resource policy.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 40000.  
Pattern: `[\s\S]*`   
Required: No

 ** ResourcePolicySummary **   <a name="organizations-Type-ResourcePolicy-ResourcePolicySummary"></a>
A structure that contains resource policy ID and Amazon Resource Name (ARN).  
Type: [ResourcePolicySummary](API_ResourcePolicySummary.md) object  
Required: No

## See Also
<a name="API_ResourcePolicy_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/organizations-2016-11-28/ResourcePolicy) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/organizations-2016-11-28/ResourcePolicy) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/organizations-2016-11-28/ResourcePolicy) 