Versions in this module Expand all Collapse all v0 v0.0.1 Nov 15, 2025 Changes in this version + const Version + type Factory = func() (*mcp.Server, error) + type Function struct + Function awslambda.Function + func NewFunction[A, B any](scope constructs.Construct, id *string, spec *FunctionProps[A, B]) *Function[A, B] + func (c *Function[A, B]) AllowAccessApiKey(api *scud.AuthorizerBasic) + func (c *Function[A, B]) AllowAccessIAM(api *scud.AuthorizerIAM, principal awsiam.IGrantable) + func (c *Function[A, B]) AllowAccessJWT(api *scud.AuthorizerJwt, scope ...string) + func (c *Function[A, B]) AllowAccessPublic(api *scud.AuthorizerPublic) + type FunctionProps struct + About string + AutoGen bool + Handler Lambda[A, B] + func NewFunctionProps[A, B any](f Lambda[A, B], about string, props *scud.FunctionGoProps) *FunctionProps[A, B] + func (f *FunctionProps[A, B]) ForceAutoGen() *FunctionProps[A, B] + type Gateway struct + func New(f Factory) *Gateway + func (c *Gateway) AccessApiKey(access, secret string) *Gateway + func (c *Gateway) AccessAwsCognito(cognitoArn string, clients ...string) *Gateway + func (c *Gateway) AccessJWT(issuer string, audience ...string) *Gateway + func (c *Gateway) AccessPublic() *Gateway + func (c *Gateway) Build() + func (c *Gateway) Gateway(props *scud.GatewayProps) *Gateway + func (c *Gateway) Host(host, certificate string) *Gateway + func (c *Gateway) Hostless() *Gateway + type Lambda = func(context.Context, *mcp.CallToolRequest, A) (*mcp.CallToolResult, B, error) + type Server struct + Function awslambda.Function + func NewServer(scope constructs.Construct, id *string, spec *ServerProps) *Server + func (c *Server) AllowAccessApiKey(api *scud.AuthorizerBasic) + func (c *Server) AllowAccessIAM(api *scud.AuthorizerIAM, principal awsiam.IGrantable) + func (c *Server) AllowAccessJWT(api *scud.AuthorizerJwt, scope ...string) + func (c *Server) AllowAccessPublic(api *scud.AuthorizerPublic) + type ServerProps struct + AutoGen bool + Factory Factory + func NewServerProps(f Factory, props *scud.FunctionGoProps) *ServerProps + func (f *ServerProps) ForceAutoGen() *ServerProps