Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type APIGateway ¶
type APIGateway struct { StackName string `yaml:"stack_name"` APIDomain string `yaml:"api_domain"` APIG bool `yaml:"apig"` Lambdas []APIGatewayLambda `yaml:"lambdas"` }
type APIGatewayLambda ¶
type Config ¶
type Config struct { Diagram Diagram `yaml:"diagram,omitempty"` Structure Structure `yaml:"structure,omitempty"` Lambdas []Lambda `yaml:"lambdas,omitempty"` APIGateways []APIGateway `yaml:"apigateways,omitempty"` SQSs []SQS `yaml:"sqs,omitempty"` SNSs []SNS `yaml:"sns,omitempty"` Buckets []S3 `yaml:"buckets,omitempty"` RestfulAPIs []RestfulAPI `yaml:"restfulapis,omitempty"` }
type DefaultConfig ¶
type Lambda ¶
type Lambda struct { Source string `yaml:"source"` 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"` Files []File `yaml:"files,omitempty"` }
type RestfulAPI ¶
type RestfulAPI struct {
Name string `yaml:"name"`
}
type SNS ¶
type SNS struct { Name string `yaml:"name"` BucketName string `yaml:"bucket_name"` Lambdas []SNSResource `yaml:"lambdas,omitempty"` SQSs []SNSResource `yaml:"sqs,omitempty"` Files []File `yaml:"files,omitempty"` }
SNS represents the configuration for SNS (Simple Notification Service).
type SNSResource ¶
type SNSResource struct { Name string `yaml:"name"` Events []string `yaml:"events"` FilterPrefix string `yaml:"filter_prefix,omitempty"` FilterSuffix string `yaml:"filter_suffix,omitempty"` }
SNSResource represents a Lambda function or SQS configuration.
type SQSTrigger ¶
type SQSTrigger struct {
SourceARN string `yaml:"source_arn"`
}
type Structure ¶
type Structure struct { Stacks []Stack `yaml:"stacks"` DefaultTemplates []DefaultConfig `yaml:"default_templates"` }
Click to show internal directories.
Click to hide internal directories.