package
Version:
v0.1.1
Opens a new window with list of versions in this module.
Published: Feb 19, 2024
License: MIT
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type APIGateway struct {
StackName string `yaml:"stack_name"`
APIDomain string `yaml:"api_domain"`
APIG bool `yaml:"apig"`
Lambdas []APIGatewayLambda `yaml:"lambdas"`
}
type APIGatewayLambda struct {
Name string `yaml:"name"`
Description string `yaml:"description"`
Envars []map[string]string `yaml:"envars,omitempty"`
Verb string `yaml:"verb"`
Path string `yaml:"path"`
Code []Code `yaml:"code,omitempty"`
}
type Code struct {
Key string `yaml:"key"`
Tmpl string `yaml:"tmpl,omitempty"`
Imports []string `yaml:"imports,omitempty"`
}
type Config struct {
Structure Structure `yaml:"structure,omitempty"`
Lambdas []Lambda `yaml:"lambdas,omitempty"`
APIGateways []APIGateway `yaml:"apigateways,omitempty"`
SQSs []SQS `yaml:"sqs,omitempty"`
Buckets []S3 `yaml:"buckets,omitempty"`
RestfulAPIs []RestfulAPI `yaml:"restfulapis,omitempty"`
}
type Cron struct {
ScheduleExpression string `yaml:"schedule_expression"`
IsEnabled string `yaml:"is_enabled"`
}
type File struct {
Name string `yaml:"name"`
Tmpl string `yaml:"tmpl,omitempty"`
}
type Folder struct {
Name string `yaml:"name"`
Files []File `yaml:"files"`
}
type Lambda struct {
Name string `yaml:"name"`
Description string `yaml:"description"`
Envars []map[string]string `yaml:"envars,omitempty"`
SQSTriggers []SQSTrigger `yaml:"sqs-triggers,omitempty"`
Crons []Cron `yaml:"crons,omitempty"`
Code []Code `yaml:"code,omitempty"`
}
type RestfulAPI struct {
Name string `yaml:"name"`
}
type S3 struct {
Name string `yaml:"name"`
Key string `yaml:"key,omitempty"`
Source string `yaml:"source,omitempty"`
}
type SQS struct {
Name string `yaml:"name"`
MaxReceiveCount int32 `yaml:"max_receive_count"`
}
type SQSTrigger struct {
SourceARN string `yaml:"source_arn"`
}
type Stack struct {
StackName string `yaml:"stack_name"`
Folders []Folder `yaml:"folders"`
}
type Structure struct {
Stacks []Stack `yaml:"stacks"`
DefaultTemplates []map[string]string `yaml:"default_templates"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.