# AccessPolicyReference

A reference to a AccessPolicy resource.

- Source: Generated code
- Type last changed: v2.224.0 · 13 Nov 2025

## Example

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_opensearchserverless as interfaces_opensearchserverless } from 'aws-cdk-lib/interfaces';
const accessPolicyReference: interfaces_opensearchserverless.AccessPolicyReference = {
  accessPolicyName: 'accessPolicyName',
  type: 'type',
};
```

## Properties

- `accessPolicyName`: string (required) — The Name of the AccessPolicy resource.

- `type`: string (required) — The Type of the AccessPolicy resource.
