awscraft

package
v0.0.0-...-10e9721 Latest Latest
Warning

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

Go to latest
Published: Oct 3, 2024 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Craft

type Craft struct {
	awscdk.Stack
	// contains filtered or unexported fields
}

func New

func New(app awscdk.App, props *CraftProps) *Craft

type CraftProps

type CraftProps struct {
	*awscdk.StackProps
	Version tagver.Version

	// AWS S3 Bucket Identity for keeping source code
	SourceCodeBucket string

	// Max number of CPUs allocated for the cluster
	MaxvCpus *float64

	// The number of vCPUs reserved for the container.
	//
	// Default: 1.0
	Cpu *float64

	// The memory reserved for the container in GBs.
	// The memory have to be aligned with reserved CPUs
	// (e.g. 4 vCPU requires 8GB, 8 vCPU requires 16GB)
	//
	// Default: 4 GB
	Memory *float64

	// Enable spot instances
	Spot *bool
}

Jump to

Keyboard shortcuts

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