

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

The resource policy object. Currently, you can use policies to share snapshots across AWS accounts.

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

 ** policy **   <a name="redshiftserverless-Type-ResourcePolicy-policy"></a>
The resource policy.  
Type: String  
Required: No

 ** resourceArn **   <a name="redshiftserverless-Type-ResourcePolicy-resourceArn"></a>
The Amazon Resource Name (ARN) of the policy.  
Type: String  
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/redshift-serverless-2021-04-21/ResourcePolicy) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/redshift-serverless-2021-04-21/ResourcePolicy) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/redshift-serverless-2021-04-21/ResourcePolicy) 