

This is the new *CloudFormation Template Reference Guide*. Please update your bookmarks and links. For help getting started with CloudFormation, see the [AWS CloudFormation User Guide](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/Welcome.html).

# AWS::BedrockAgentCore::ResourcePolicy
<a name="aws-resource-bedrockagentcore-resourcepolicy"></a>

<a name="aws-resource-bedrockagentcore-resourcepolicy-description"></a>The `AWS::BedrockAgentCore::ResourcePolicy` resource Property description not available. for BedrockAgentCore.

## Syntax
<a name="aws-resource-bedrockagentcore-resourcepolicy-syntax"></a>

To declare this entity in your CloudFormation template, use the following syntax:

### JSON
<a name="aws-resource-bedrockagentcore-resourcepolicy-syntax.json"></a>

```
{
  "Type" : "AWS::BedrockAgentCore::ResourcePolicy",
  "Properties" : {
      "[Policy](#cfn-bedrockagentcore-resourcepolicy-policy)" : {{String}},
      "[ResourceArn](#cfn-bedrockagentcore-resourcepolicy-resourcearn)" : {{String}}
    }
}
```

### YAML
<a name="aws-resource-bedrockagentcore-resourcepolicy-syntax.yaml"></a>

```
Type: AWS::BedrockAgentCore::ResourcePolicy
Properties:
  [Policy](#cfn-bedrockagentcore-resourcepolicy-policy): {{String}}
  [ResourceArn](#cfn-bedrockagentcore-resourcepolicy-resourcearn): {{String}}
```

## Properties
<a name="aws-resource-bedrockagentcore-resourcepolicy-properties"></a>

`Policy`  <a name="cfn-bedrockagentcore-resourcepolicy-policy"></a>
Property description not available.  
*Required*: Yes  
*Type*: String  
*Minimum*: `1`  
*Maximum*: `20480`  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`ResourceArn`  <a name="cfn-bedrockagentcore-resourcepolicy-resourcearn"></a>
Property description not available.  
*Required*: Yes  
*Type*: String  
*Pattern*: `^arn:[a-z0-9-]+:bedrock-agentcore:[a-z0-9-]*:[0-9]{12}:.+$`  
*Minimum*: `20`  
*Maximum*: `1011`  
*Update requires*: [Replacement](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement)

## Return values
<a name="aws-resource-bedrockagentcore-resourcepolicy-return-values"></a>

### Ref
<a name="aws-resource-bedrockagentcore-resourcepolicy-return-values-ref"></a>