aws

package
v0.6.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 2, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Eks                                = "eks"
	Ecs                                = "ecs"
	Lambda                             = "lambda"
	Rds_postgres                       = "rds_postgres"
	Secrets_manager                    = "secrets_manager"
	S3                                 = "s3"
	Dynamodb                           = "dynamodb"
	Elasticache                        = "elasticache"
	Memorydb                           = "memorydb"
	Sns                                = "sns"
	Cockroachdb_serverless             = "cockroachdb_serverless"
	ApiGateway             GatewayType = "apigateway"
	Alb                    GatewayType = "alb"
)

Enums for the types we allow in the aws provider so that we can reuse the same string within the provider

Variables

View Source
var AwsTemplateDataKind = "aws_template_data"

Functions

This section is empty.

Types

type AWS

type AWS struct {
	Config *config.Application
}

func (*AWS) GenerateCloudfrontDistributions

func (a *AWS) GenerateCloudfrontDistributions(data *TemplateData, result *core.CompilationResult)

func (*AWS) GetDefaultConfig

func (a *AWS) GetDefaultConfig() config.Defaults

func (*AWS) GetKindTypeMappings

func (a *AWS) GetKindTypeMappings(kind string) ([]string, bool)

GetKindTypeMappings returns a list of valid types for the aws provider based on the kind passed in

func (*AWS) Name

func (c *AWS) Name() string

func (*AWS) Transform

func (a *AWS) Transform(result *core.CompilationResult, deps *core.Dependencies) error

type GatewayType added in v0.6.2

type GatewayType string

type TemplateConfig

type TemplateConfig struct {
	provider.TemplateConfig
	PayloadsBucketName string
}

type TemplateData

type TemplateData struct {
	provider.TemplateData
	TemplateConfig
	UseVPC                  bool
	CloudfrontDistributions []*resources.CloudfrontDistribution
	APIGateways             []provider.Gateway
	ALBs                    []provider.Gateway
	Buckets                 []provider.FS
	SecretManagerSecrets    []provider.Config
	RdsInstances            []provider.ORM
}

func NewTemplateData

func NewTemplateData(config *config.Application) *TemplateData

func (*TemplateData) Key

func (t *TemplateData) Key() core.ResourceKey

func (*TemplateData) Type

func (*TemplateData) Type() string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL