# HttpAuthorizerAttributes

Reference to an http authorizer.

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

## Example

```ts
import { HttpAuthorizer } from 'aws-cdk-lib/aws-apigatewayv2';
import { Fn } from 'aws-cdk-lib'

const authorizerId = Fn.importValue('authorizerId');
const authorizerType = Fn.importValue('authorizerType');

const authorizer = HttpAuthorizer.fromHttpAuthorizerAttributes(this, 'HttpAuthorizer', {
    authorizerId,
    authorizerType
});
```

## Properties

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

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

  Possible values are:
  - JWT - JSON Web Token Authorizer
  - CUSTOM - Lambda Authorizer
  - NONE - No Authorization
