Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AssetCodeGo ¶
AssetCodeGo bundles lambda function from source code
func NewFunctionGo ¶
func NewFunctionGo(scope constructs.Construct, id *string, spec *FunctionGoProps) awslambda.Function
NewFunctionGo creates Golang Lambda Function from "inline" code
Types ¶
type FunctionGoProps ¶
type FunctionGoProps struct {
*awslambda.FunctionProps
SourceCodePackage string
SourceCodeLambda string
GoEnv map[string]string
}
FunctionGoProps is properties of the function
type Gateway ¶
type Gateway interface {
constructs.Construct
ConfigRoute53(host string, tlsArn string) Gateway
ConfigAuthorizer(cognitoUserPools ...string) Gateway
AddResource(resourceRootPath string, resourceHandler awslambda.Function, requiredAccessScope ...string) Gateway
}
Gateway is RESTful API Gateway Construct pattern
func NewGateway ¶
func NewGateway(scope constructs.Construct, id *string, props *awsapigateway.RestApiProps) Gateway
NewGateway creates new instance of Gateway
type GoCompiler ¶ added in v0.6.0
type GoCompiler struct {
// contains filtered or unexported fields
}
func NewGoCompiler ¶ added in v0.6.0
func NewGoCompiler( sourceCodePackage string, sourceCodeLambda string, env map[string]string, ) *GoCompiler
func (*GoCompiler) SourceCodeLambda ¶ added in v0.6.0
func (g *GoCompiler) SourceCodeLambda() string
func (*GoCompiler) SourceCodePackage ¶ added in v0.6.0
func (g *GoCompiler) SourceCodePackage() string
func (*GoCompiler) TryBundle ¶ added in v0.6.0
func (g *GoCompiler) TryBundle(outputDir *string, options *awscdk.BundlingOptions) *bool
Click to show internal directories.
Click to hide internal directories.