# CfnResourcePolicyProps

Properties for defining a `CfnResourcePolicy`.

Extends: CfnResourcePolicyProps
Used as props by: CfnResourcePolicy

- Source: Generated code
- Type last changed: v2.260.0 · 16 Jun 2026

## Example

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_bedrockagentcore as bedrockagentcore } from 'aws-cdk-lib';
const cfnResourcePolicyProps: bedrockagentcore.CfnResourcePolicyProps = {
  policy: 'policy',
  resourceArn: 'resourceArn',
};
```

## Properties

- `policy`: string (required) — The resource policy to create or update.

- `resourceArn`: string (required) — The Amazon Resource Name (ARN) of the resource for which to create or update the resource policy.
