# UrlRedirectionConfigProperty

The configuration for URL redirection.

- 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_appstream as appstream } from 'aws-cdk-lib';
const urlRedirectionConfigProperty: appstream.CfnStack.UrlRedirectionConfigProperty = {
  enabled: false,

  // the properties below are optional
  allowedUrls: ['allowedUrls'],
  deniedUrls: ['deniedUrls'],
};
```

## Properties

- `allowedUrls`: string[] — The URLs that are allowed for redirection.

- `deniedUrls`: string[] — The URLs that are denied for redirection.

- `enabled`: boolean | [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) (required) — Specifies whether URL redirection is enabled or disabled.
