---
type: resource-type
title: XRayResourcePolicy
description: aws resource type AWS::XRay::ResourcePolicy
name: XRayResourcePolicy
lexicon: aws
resource_type: AWS::XRay::ResourcePolicy
---
`AWS::XRay::ResourcePolicy`, a resource type of the aws lexicon.

## Properties

- `PolicyDocument` (`string`, required): The resource policy document, which can be up to 5kb in size.
- `PolicyName` (`string`, required): The name of the resource policy. Must be unique within a specific AWS account.
- `BypassPolicyLockoutCheck` (`boolean`, optional): A flag to indicate whether to bypass the resource policy lockout safety check
