Header menu logo FsCDK

ApiGatewayBuilders Module

Functions and values

Function or value Description

restApi name

Full Usage: restApi name

Parameters:
    name : string

Returns: RestApiBuilder

Creates a new REST API builder with best practices. Example: restApi "my-api" { description "My REST API" }

name : string
Returns: RestApiBuilder

tokenAuthorizer name

Full Usage: tokenAuthorizer name

Parameters:
    name : string

Returns: TokenAuthorizerBuilder

Creates a new Token Authorizer builder for Lambda authorization. Example: tokenAuthorizer "my-auth" { handler authFunction }

name : string
Returns: TokenAuthorizerBuilder

vpcLink name

Full Usage: vpcLink name

Parameters:
    name : string

Returns: VpcLinkBuilder

Creates a new VPC Link builder for private integrations. Example: vpcLink "my-link" { target nlb }

name : string
Returns: VpcLinkBuilder

Type something to start searching.