stacks

package
v0.2.5 Latest Latest
Warning

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

Go to latest
Published: Jul 30, 2023 License: MIT Imports: 4 Imported by: 0

README

stacks

import "github.com/slalombuild/fusion/templates/aws/stacks"

Index

Variables

go:embed aws_serverless_website.tmpl

var TEMPLATE_AWS_SERVERLESS_WEBSITE string

type ServerlessWebsite

View the Kong CLI docs to see options for your command's flags and arguments https://github.com/alecthomas/kong#flags

type ServerlessWebsite struct {
    Route53Zone             string `help:"Name of the Route53 Zone" default:"Route53Zone"`
    Route53Target           string `help:"Target for Route53" default:"Route53Target"`
    APIGatewayName          string `help:"Name of the API Gateway" default:"APIGatewayName"`
    LambdaName              string `help:"Name of the Lambda function" default:"LambdaName"`
    VpcName                 string `help:"Name of the VPC" default:"fusion-vpc"`
    CloudfrontLoggingBucket string `help:"Name of the Cloudfront S3 logging bucket" default:"CloudfrontLoggingBucket"`
    CloudfrontAlias         string `help:"Alias for Cloudfront" default:"CloudfrontAlias"`
    AwsRegion               string `help:"Provider Region" default:"us-east-1"`
    VpcCiderBlock           string `help:"Initial CIDR block for the VPC" default:"VPCCiderBlock"`
    VpcAzCount              int    `help:"Number of AZs" default:"2"`
    VpcSubnetCapacity       int    `help:"Capacity in the created subnet" default:"256"`
    LambdaFilePath          string `help:"Filepath for the Lambda Function" default:"LambdaFilePath"`
    CloudfrontOriginBucket  string `help:"Name of the Cloudfront S3 origin bucket" default:"CloudfrontOriginBucket"`
}
func (*ServerlessWebsite) Render
func (resource *ServerlessWebsite) Render(w io.Writer, skipColor bool) error

Render generates the Terraform code for the ServerlessStack

Generated by gomarkdoc

Documentation

Index

Constants

This section is empty.

Variables

View Source
var TEMPLATE_AWS_SERVERLESS_WEBSITE string

Functions

This section is empty.

Types

type ServerlessWebsite

type ServerlessWebsite struct {
	Route53Zone             string `help:"Name of the Route53 Zone" default:"Route53Zone"`
	Route53Target           string `help:"Target for Route53" default:"Route53Target"`
	APIGatewayName          string `help:"Name of the API Gateway" default:"APIGatewayName"`
	LambdaName              string `help:"Name of the Lambda function" default:"LambdaName"`
	VpcName                 string `help:"Name of the VPC" default:"fusion-vpc"`
	CloudfrontLoggingBucket string `help:"Name of the Cloudfront S3 logging bucket" default:"CloudfrontLoggingBucket"`
	CloudfrontAlias         string `help:"Alias for Cloudfront" default:"CloudfrontAlias"`
	AwsRegion               string `help:"Provider Region" default:"us-east-1"`
	VpcCiderBlock           string `help:"Initial CIDR block for the VPC" default:"VPCCiderBlock"`
	VpcAzCount              int    `help:"Number of AZs" default:"2"`
	VpcSubnetCapacity       int    `help:"Capacity in the created subnet" default:"256"`
	LambdaFilePath          string `help:"Filepath for the Lambda Function" default:"LambdaFilePath"`
	CloudfrontOriginBucket  string `help:"Name of the Cloudfront S3 origin bucket" default:"CloudfrontOriginBucket"`
}

View the Kong CLI docs to see options for your command's flags and arguments https://github.com/alecthomas/kong#flags

func (*ServerlessWebsite) Render

func (resource *ServerlessWebsite) Render(w io.Writer, skipColor bool) error

Render generates the Terraform code for the ServerlessStack

Jump to

Keyboard shortcuts

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