> **Experimental**
>
> `@aws-cdk/aws-bedrock-agentcore-alpha` is an [**experimental**](/stability) (alpha) package: its API may change in any release, without a major version bump.
# PolicyEngineAttributes

Attributes for importing an existing PolicyEngine.

- Stability: [Experimental](/cdk/api/stability.html)
- Source: [`lib/policy/policy-engine-base.ts`](https://github.com/aws/aws-cdk/blob/v2.274.0-alpha.0/packages/@aws-cdk/aws-bedrock-agentcore-alpha/lib/policy/policy-engine-base.ts#L146)

## Example

```ts
const importedEngine = agentcore.PolicyEngine.fromPolicyEngineAttributes(
  this,
  "ImportedEngine",
  {
    policyEngineArn: "policy-engine-arn",
    kmsKeyArn: "kms-arn",
  }
);

// Use the imported engine
const policy = new agentcore.Policy(this, "PolicyForImportedEngine", {
  policyEngine: importedEngine,
  definition: "permit(principal, action, resource);",
});
```

## Properties

- `kmsKeyArn`: string — The KMS key ARN used for encryption (optional).

  **Default:** No KMS key

- `policyEngineArn`: string (required) — The ARN of the policy engine.
