# UniqueResourceNameOptions

Options for creating a unique resource name.

- Source: [`core/lib/names.ts`](https://github.com/aws/aws-cdk/blob/v2.275.0/packages/aws-cdk-lib/core/lib/names.ts#L12)
- Type last changed: v2.29.0 · 23 Jun 2022

## Example

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as cdk from 'aws-cdk-lib';
const uniqueResourceNameOptions: cdk.UniqueResourceNameOptions = {
  allowedSpecialCharacters: 'allowedSpecialCharacters',
  maxLength: 123,
  separator: 'separator',
};
```

## Properties

- `allowedSpecialCharacters`: string = none — Non-alphanumeric characters allowed in the unique resource name.

- `maxLength`: number = 256 — The maximum length of the unique resource name.

- `separator`: string = none — The separator used between the path components.
