# WebSocketAuthorizerAttributes

Reference to an WebSocket authorizer.

- Source: [`aws-apigatewayv2/lib/websocket/authorizer.ts`](https://github.com/aws/aws-cdk/blob/v2.275.0/packages/aws-cdk-lib/aws-apigatewayv2/lib/websocket/authorizer.ts#L68)
- Type last changed: v2.112.0 · 1 Dec 2023

## Example

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_apigatewayv2 as apigatewayv2 } from 'aws-cdk-lib';
const webSocketAuthorizerAttributes: apigatewayv2.WebSocketAuthorizerAttributes = {
  authorizerId: 'authorizerId',
  authorizerType: 'authorizerType',
};
```

## Properties

- `authorizerId`: string (required) — Id of the Authorizer.

- `authorizerType`: string (required) — Type of authorizer.

  Possible values are:
  - CUSTOM - Lambda Authorizer
  - NONE - No Authorization
