# GatewayConfig

Pair represents a gateway created by NAT Provider.

- Source: [`aws-ec2/lib/nat.ts`](https://github.com/aws/aws-cdk/blob/v2.274.0/packages/aws-cdk-lib/aws-ec2/lib/nat.ts#L46)

## Example

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_ec2 as ec2 } from 'aws-cdk-lib';
const gatewayConfig: ec2.GatewayConfig = {
  az: 'az',
  gatewayId: 'gatewayId',
};
```

## Properties

- `az`: string (required) — Availability Zone.

- `gatewayId`: string (required) — Identity of gateway spawned by the provider.
