package awseks // Capacity type of the managed node group. // // Example: // var cluster cluster // // cluster.AddNodegroupCapacity(jsii.String("extra-ng-spot"), &NodegroupOptions{ // InstanceTypes: []instanceType{ // ec2.NewInstanceType(jsii.String("c5.large")), // ec2.NewInstanceType(jsii.String("c5a.large")), // ec2.NewInstanceType(jsii.String("c5d.large")), // }, // MinSize: jsii.Number(3), // CapacityType: eks.CapacityType_SPOT, // }) // type CapacityType string const ( // spot instances. CapacityType_SPOT CapacityType = "SPOT" // on-demand instances. CapacityType_ON_DEMAND CapacityType = "ON_DEMAND" )