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 }
Click to show internal directories.
Click to hide internal directories.