UNPKG

@lbrlabs/pulumi-eks

Version:

This repo provides a [multi-language](https://www.pulumi.com/blog/pulumiup-pulumi-packages-multi-language-components/) component that creates a "batteries included" cluster ready for you to attach your EKS nodes to.

61 lines (60 loc) 2.33 kB
import * as pulumi from "@pulumi/pulumi"; import * as pulumiAws from "@pulumi/aws"; export declare class AttachedNodeGroup extends pulumi.ComponentResource { /** * Returns true if the given object is an instance of AttachedNodeGroup. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is AttachedNodeGroup; readonly nodeGroup: pulumi.Output<pulumiAws.eks.NodeGroup>; readonly nodeRole: pulumi.Output<pulumiAws.iam.Role>; /** * Create a AttachedNodeGroup resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: AttachedNodeGroupArgs, opts?: pulumi.ComponentResourceOptions); } /** * The set of arguments for constructing a AttachedNodeGroup resource. */ export interface AttachedNodeGroupArgs { /** * The AMI Type for the nodegroup. */ amiType?: pulumi.Input<string>; /** * The capacity type of the nodegroup. */ capacityType?: pulumi.Input<string>; /** * The cluster name to attach the nodegroup tp. */ clusterName: pulumi.Input<string>; /** * The size of the disk to attach to the nodes. */ diskSize?: pulumi.Input<number>; instanceTypes?: pulumi.Input<pulumi.Input<string>[]>; /** * Key-value map of Kubernetes labels. Only labels that are applied with the EKS API are managed by this argument. Other Kubernetes labels applied to the EKS Node Group will not be managed. */ labels?: pulumi.Input<{ [key: string]: pulumi.Input<string>; }>; /** * The release version for the nodegroup. */ releaseVersion?: pulumi.Input<string>; scalingConfig?: pulumi.Input<pulumiAws.types.input.eks.NodeGroupScalingConfig>; subnetIds: pulumi.Input<pulumi.Input<string>[]>; /** * Key-value map of tags to apply to the nodegroup. */ tags?: pulumi.Input<{ [key: string]: pulumi.Input<string>; }>; taints?: pulumi.Input<pulumi.Input<pulumiAws.types.input.eks.NodeGroupTaint>[]>; }