Skip to main content

Authorizer

Manages an API Gateway Authorizer.

Sample code#

const restApi = provider.APIGateway.makeRestApi({
name: "myRestApi",
properties: () => ({ endpointConfiguration: { types: ["REGIONAL"] } }),
});
const authorizer = provider.APIGateway.makeAuthorizer({
name: "my-authorizer-stage-dev",
dependencies: { restApi },
properties: () => ({}),
});

Properties#

Dependencies#

Full Examples#

List#

The Authorizers can be filtered with the Authorizer type:

gc l -t Authorizer