1. Packages
  2. LBr Labs EKS
  3. API Docs
  4. AttachedNodeGroup
LBr Labs EKS v0.22.0 published on Monday, Aug 19, 2024 by lbrlabs

lbrlabs-eks.AttachedNodeGroup

Explore with Pulumi AI

lbrlabs-eks logo
LBr Labs EKS v0.22.0 published on Monday, Aug 19, 2024 by lbrlabs

    Create AttachedNodeGroup Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new AttachedNodeGroup(name: string, args: AttachedNodeGroupArgs, opts?: CustomResourceOptions);
    @overload
    def AttachedNodeGroup(resource_name: str,
                          args: AttachedNodeGroupArgs,
                          opts: Optional[ResourceOptions] = None)
    
    @overload
    def AttachedNodeGroup(resource_name: str,
                          opts: Optional[ResourceOptions] = None,
                          cluster_name: Optional[str] = None,
                          subnet_ids: Optional[Sequence[str]] = None,
                          ami_type: Optional[str] = None,
                          capacity_type: Optional[str] = None,
                          disk_size: Optional[int] = None,
                          instance_types: Optional[Sequence[str]] = None,
                          labels: Optional[Mapping[str, str]] = None,
                          release_version: Optional[str] = None,
                          scaling_config: Optional[pulumi_aws.eks.NodeGroupScalingConfigArgs] = None,
                          tags: Optional[Mapping[str, str]] = None,
                          taints: Optional[Sequence[pulumi_aws.eks.NodeGroupTaintArgs]] = None)
    func NewAttachedNodeGroup(ctx *Context, name string, args AttachedNodeGroupArgs, opts ...ResourceOption) (*AttachedNodeGroup, error)
    public AttachedNodeGroup(string name, AttachedNodeGroupArgs args, CustomResourceOptions? opts = null)
    public AttachedNodeGroup(String name, AttachedNodeGroupArgs args)
    public AttachedNodeGroup(String name, AttachedNodeGroupArgs args, CustomResourceOptions options)
    
    type: lbrlabs-eks:AttachedNodeGroup
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args AttachedNodeGroupArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args AttachedNodeGroupArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args AttachedNodeGroupArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args AttachedNodeGroupArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args AttachedNodeGroupArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var attachedNodeGroupResource = new Eks.AttachedNodeGroup("attachedNodeGroupResource", new()
    {
        ClusterName = "string",
        SubnetIds = new[]
        {
            "string",
        },
        AmiType = "string",
        CapacityType = "string",
        DiskSize = 0,
        InstanceTypes = new[]
        {
            "string",
        },
        Labels = 
        {
            { "string", "string" },
        },
        ReleaseVersion = "string",
        ScalingConfig = new Aws.Eks.Inputs.NodeGroupScalingConfigArgs
        {
            DesiredSize = 0,
            MaxSize = 0,
            MinSize = 0,
        },
        Tags = 
        {
            { "string", "string" },
        },
        Taints = new[]
        {
            new Aws.Eks.Inputs.NodeGroupTaintArgs
            {
                Effect = "string",
                Key = "string",
                Value = "string",
            },
        },
    });
    
    example, err := lbrlabseks.NewAttachedNodeGroup(ctx, "attachedNodeGroupResource", &lbrlabseks.AttachedNodeGroupArgs{
    	ClusterName: pulumi.String("string"),
    	SubnetIds: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	AmiType:      pulumi.String("string"),
    	CapacityType: pulumi.String("string"),
    	DiskSize:     pulumi.Int(0),
    	InstanceTypes: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	Labels: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	ReleaseVersion: pulumi.String("string"),
    	ScalingConfig: &eks.NodeGroupScalingConfigArgs{
    		DesiredSize: pulumi.Int(0),
    		MaxSize:     pulumi.Int(0),
    		MinSize:     pulumi.Int(0),
    	},
    	Tags: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	Taints: eks.NodeGroupTaintArray{
    		&eks.NodeGroupTaintArgs{
    			Effect: pulumi.String("string"),
    			Key:    pulumi.String("string"),
    			Value:  pulumi.String("string"),
    		},
    	},
    })
    
    var attachedNodeGroupResource = new AttachedNodeGroup("attachedNodeGroupResource", AttachedNodeGroupArgs.builder()
        .clusterName("string")
        .subnetIds("string")
        .amiType("string")
        .capacityType("string")
        .diskSize(0)
        .instanceTypes("string")
        .labels(Map.of("string", "string"))
        .releaseVersion("string")
        .scalingConfig(NodeGroupScalingConfigArgs.builder()
            .desiredSize(0)
            .maxSize(0)
            .minSize(0)
            .build())
        .tags(Map.of("string", "string"))
        .taints(NodeGroupTaintArgs.builder()
            .effect("string")
            .key("string")
            .value("string")
            .build())
        .build());
    
    attached_node_group_resource = lbrlabs_eks.AttachedNodeGroup("attachedNodeGroupResource",
        cluster_name="string",
        subnet_ids=["string"],
        ami_type="string",
        capacity_type="string",
        disk_size=0,
        instance_types=["string"],
        labels={
            "string": "string",
        },
        release_version="string",
        scaling_config=aws.eks.NodeGroupScalingConfigArgs(
            desired_size=0,
            max_size=0,
            min_size=0,
        ),
        tags={
            "string": "string",
        },
        taints=[aws.eks.NodeGroupTaintArgs(
            effect="string",
            key="string",
            value="string",
        )])
    
    const attachedNodeGroupResource = new lbrlabs_eks.AttachedNodeGroup("attachedNodeGroupResource", {
        clusterName: "string",
        subnetIds: ["string"],
        amiType: "string",
        capacityType: "string",
        diskSize: 0,
        instanceTypes: ["string"],
        labels: {
            string: "string",
        },
        releaseVersion: "string",
        scalingConfig: {
            desiredSize: 0,
            maxSize: 0,
            minSize: 0,
        },
        tags: {
            string: "string",
        },
        taints: [{
            effect: "string",
            key: "string",
            value: "string",
        }],
    });
    
    type: lbrlabs-eks:AttachedNodeGroup
    properties:
        amiType: string
        capacityType: string
        clusterName: string
        diskSize: 0
        instanceTypes:
            - string
        labels:
            string: string
        releaseVersion: string
        scalingConfig:
            desiredSize: 0
            maxSize: 0
            minSize: 0
        subnetIds:
            - string
        tags:
            string: string
        taints:
            - effect: string
              key: string
              value: string
    

    AttachedNodeGroup Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The AttachedNodeGroup resource accepts the following input properties:

    ClusterName string
    The cluster name to attach the nodegroup tp.
    SubnetIds List<string>
    AmiType string
    The AMI Type for the nodegroup.
    CapacityType string
    The capacity type of the nodegroup.
    DiskSize int
    The size of the disk to attach to the nodes.
    InstanceTypes List<string>
    Labels Dictionary<string, 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.
    ReleaseVersion string
    The release version for the nodegroup.
    ScalingConfig Pulumi.Aws.Eks.Inputs.NodeGroupScalingConfig
    This type is defined in the AWS Classic package.
    Tags Dictionary<string, string>
    Key-value map of tags to apply to the nodegroup.
    Taints List<Pulumi.Aws.Eks.Inputs.NodeGroupTaint>
    ClusterName string
    The cluster name to attach the nodegroup tp.
    SubnetIds []string
    AmiType string
    The AMI Type for the nodegroup.
    CapacityType string
    The capacity type of the nodegroup.
    DiskSize int
    The size of the disk to attach to the nodes.
    InstanceTypes []string
    Labels map[string]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.
    ReleaseVersion string
    The release version for the nodegroup.
    ScalingConfig NodeGroupScalingConfigArgs
    This type is defined in the AWS Classic package.
    Tags map[string]string
    Key-value map of tags to apply to the nodegroup.
    Taints NodeGroupTaintArgs
    clusterName String
    The cluster name to attach the nodegroup tp.
    subnetIds List<String>
    amiType String
    The AMI Type for the nodegroup.
    capacityType String
    The capacity type of the nodegroup.
    diskSize Integer
    The size of the disk to attach to the nodes.
    instanceTypes List<String>
    labels Map<String,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.
    releaseVersion String
    The release version for the nodegroup.
    scalingConfig NodeGroupScalingConfig
    This type is defined in the AWS Classic package.
    tags Map<String,String>
    Key-value map of tags to apply to the nodegroup.
    taints List<NodeGroupTaint>
    clusterName string
    The cluster name to attach the nodegroup tp.
    subnetIds string[]
    amiType string
    The AMI Type for the nodegroup.
    capacityType string
    The capacity type of the nodegroup.
    diskSize number
    The size of the disk to attach to the nodes.
    instanceTypes string[]
    labels {[key: string]: 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.
    releaseVersion string
    The release version for the nodegroup.
    scalingConfig pulumiAwstypesinputeksNodeGroupScalingConfig
    This type is defined in the AWS Classic package.
    tags {[key: string]: string}
    Key-value map of tags to apply to the nodegroup.
    taints pulumiAwstypesinputeksNodeGroupTaint[]
    cluster_name str
    The cluster name to attach the nodegroup tp.
    subnet_ids Sequence[str]
    ami_type str
    The AMI Type for the nodegroup.
    capacity_type str
    The capacity type of the nodegroup.
    disk_size int
    The size of the disk to attach to the nodes.
    instance_types Sequence[str]
    labels Mapping[str, str]
    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.
    release_version str
    The release version for the nodegroup.
    scaling_config pulumi_aws.eks.NodeGroupScalingConfigArgs
    This type is defined in the AWS Classic package.
    tags Mapping[str, str]
    Key-value map of tags to apply to the nodegroup.
    taints Sequence[pulumi_aws.eks.NodeGroupTaintArgs]
    clusterName String
    The cluster name to attach the nodegroup tp.
    subnetIds List<String>
    amiType String
    The AMI Type for the nodegroup.
    capacityType String
    The capacity type of the nodegroup.
    diskSize Number
    The size of the disk to attach to the nodes.
    instanceTypes List<String>
    labels Map<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.
    releaseVersion String
    The release version for the nodegroup.
    scalingConfig Property Map
    This type is defined in the AWS Classic package.
    tags Map<String>
    Key-value map of tags to apply to the nodegroup.
    taints List<Property Map>

    Outputs

    All input properties are implicitly available as output properties. Additionally, the AttachedNodeGroup resource produces the following output properties:

    NodeGroup Pulumi.Aws.Eks.NodeGroup
    This type is defined in the AWS Classic package.
    NodeRole Pulumi.Aws.Iam.Role
    This type is defined in the AWS Classic package.
    NodeGroup NodeGroup
    This type is defined in the AWS Classic package.
    NodeRole Role
    This type is defined in the AWS Classic package.
    nodeGroup NodeGroup
    This type is defined in the AWS Classic package.
    nodeRole Role
    This type is defined in the AWS Classic package.
    nodeGroup pulumiAwseksNodeGroup
    This type is defined in the AWS Classic package.
    nodeRole pulumiAwsiamRole
    This type is defined in the AWS Classic package.
    node_group pulumi_aws.eks.NodeGroup
    This type is defined in the AWS Classic package.
    node_role pulumi_aws.iam.Role
    This type is defined in the AWS Classic package.
    nodeGroup aws:eks:NodeGroup
    This type is defined in the AWS Classic package.
    nodeRole aws:iam:Role
    This type is defined in the AWS Classic package.

    Package Details

    Repository
    lbrlabs-eks lbrlabs/pulumi-lbrlabs-eks
    License
    lbrlabs-eks logo
    LBr Labs EKS v0.22.0 published on Monday, Aug 19, 2024 by lbrlabs