# GlobalAcceleratorForDirectoryProperty

Describes the Global Accelerator for directory.

- Source: Generated code
- Type last changed: v2.274.0 · 20 Oct 2026

## Example

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_workspaces as workspaces } from 'aws-cdk-lib';
const globalAcceleratorForDirectoryProperty: workspaces.CfnDirectory.GlobalAcceleratorForDirectoryProperty = {
  mode: 'mode',

  // the properties below are optional
  preferredProtocol: 'preferredProtocol',
};
```

## Properties

- `mode`: string (required) — Indicates if Global Accelerator for directory is enabled or disabled.

- `preferredProtocol`: string — Indicates the preferred protocol for Global Accelerator.
