1. Packages
  2. LBr Labs EKS
  3. API Docs
  4. AutoscaledNodeGroup
LBr Labs EKS v0.16.0 published on Tuesday, Apr 16, 2024 by lbrlabs

lbrlabs-eks.AutoscaledNodeGroup

Explore with Pulumi AI

lbrlabs-eks logo
LBr Labs EKS v0.16.0 published on Tuesday, Apr 16, 2024 by lbrlabs

    Create AutoscaledNodeGroup Resource

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

    Constructor syntax

    new AutoscaledNodeGroup(name: string, args: AutoscaledNodeGroupArgs, opts?: CustomResourceOptions);
    @overload
    def AutoscaledNodeGroup(resource_name: str,
                            args: AutoscaledNodeGroupArgs,
                            opts: Optional[ResourceOptions] = None)
    
    @overload
    def AutoscaledNodeGroup(resource_name: str,
                            opts: Optional[ResourceOptions] = None,
                            disk_size: Optional[str] = None,
                            node_role: Optional[str] = None,
                            requirements: Optional[Sequence[RequirementArgs]] = None,
                            security_group_ids: Optional[Sequence[str]] = None,
                            subnet_ids: Optional[Sequence[str]] = None,
                            ami_family: Optional[str] = None,
                            annotations: Optional[Mapping[str, str]] = None,
                            taints: Optional[Sequence[pulumi_kubernetes.core.v1.TaintArgs]] = None)
    func NewAutoscaledNodeGroup(ctx *Context, name string, args AutoscaledNodeGroupArgs, opts ...ResourceOption) (*AutoscaledNodeGroup, error)
    public AutoscaledNodeGroup(string name, AutoscaledNodeGroupArgs args, CustomResourceOptions? opts = null)
    public AutoscaledNodeGroup(String name, AutoscaledNodeGroupArgs args)
    public AutoscaledNodeGroup(String name, AutoscaledNodeGroupArgs args, CustomResourceOptions options)
    
    type: lbrlabs-eks:AutoscaledNodeGroup
    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 AutoscaledNodeGroupArgs
    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 AutoscaledNodeGroupArgs
    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 AutoscaledNodeGroupArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args AutoscaledNodeGroupArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args AutoscaledNodeGroupArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Example

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

    var autoscaledNodeGroupResource = new Eks.AutoscaledNodeGroup("autoscaledNodeGroupResource", new()
    {
        DiskSize = "string",
        NodeRole = "string",
        Requirements = new[]
        {
            new Eks.Inputs.RequirementArgs
            {
                Key = "string",
                Operator = "string",
                Values = new[]
                {
                    "string",
                },
            },
        },
        SecurityGroupIds = new[]
        {
            "string",
        },
        SubnetIds = new[]
        {
            "string",
        },
        AmiFamily = "string",
        Annotations = 
        {
            { "string", "string" },
        },
        Taints = new[]
        {
            new Kubernetes.Core.Inputs.TaintArgs
            {
                Effect = "string",
                Key = "string",
                TimeAdded = "string",
                Value = "string",
            },
        },
    });
    
    example, err := lbrlabseks.NewAutoscaledNodeGroup(ctx, "autoscaledNodeGroupResource", &lbrlabseks.AutoscaledNodeGroupArgs{
    	DiskSize: pulumi.String("string"),
    	NodeRole: pulumi.String("string"),
    	Requirements: eks.RequirementArray{
    		&eks.RequirementArgs{
    			Key:      pulumi.String("string"),
    			Operator: pulumi.String("string"),
    			Values: pulumi.StringArray{
    				pulumi.String("string"),
    			},
    		},
    	},
    	SecurityGroupIds: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	SubnetIds: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	AmiFamily: pulumi.String("string"),
    	Annotations: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	Taints: corev1.TaintArray{
    		&corev1.TaintArgs{
    			Effect:    pulumi.String("string"),
    			Key:       pulumi.String("string"),
    			TimeAdded: pulumi.String("string"),
    			Value:     pulumi.String("string"),
    		},
    	},
    })
    
    var autoscaledNodeGroupResource = new AutoscaledNodeGroup("autoscaledNodeGroupResource", AutoscaledNodeGroupArgs.builder()        
        .diskSize("string")
        .nodeRole("string")
        .requirements(RequirementArgs.builder()
            .key("string")
            .operator("string")
            .values("string")
            .build())
        .securityGroupIds("string")
        .subnetIds("string")
        .amiFamily("string")
        .annotations(Map.of("string", "string"))
        .taints(TaintArgs.builder()
            .effect("string")
            .key("string")
            .timeAdded("string")
            .value("string")
            .build())
        .build());
    
    autoscaled_node_group_resource = lbrlabs_eks.AutoscaledNodeGroup("autoscaledNodeGroupResource",
        disk_size="string",
        node_role="string",
        requirements=[lbrlabs_eks.RequirementArgs(
            key="string",
            operator="string",
            values=["string"],
        )],
        security_group_ids=["string"],
        subnet_ids=["string"],
        ami_family="string",
        annotations={
            "string": "string",
        },
        taints=[kubernetes.core.v1.TaintArgs(
            effect="string",
            key="string",
            time_added="string",
            value="string",
        )])
    
    const autoscaledNodeGroupResource = new lbrlabs_eks.AutoscaledNodeGroup("autoscaledNodeGroupResource", {
        diskSize: "string",
        nodeRole: "string",
        requirements: [{
            key: "string",
            operator: "string",
            values: ["string"],
        }],
        securityGroupIds: ["string"],
        subnetIds: ["string"],
        amiFamily: "string",
        annotations: {
            string: "string",
        },
        taints: [{
            effect: "string",
            key: "string",
            timeAdded: "string",
            value: "string",
        }],
    });
    
    type: lbrlabs-eks:AutoscaledNodeGroup
    properties:
        amiFamily: string
        annotations:
            string: string
        diskSize: string
        nodeRole: string
        requirements:
            - key: string
              operator: string
              values:
                - string
        securityGroupIds:
            - string
        subnetIds:
            - string
        taints:
            - effect: string
              key: string
              timeAdded: string
              value: string
    

    AutoscaledNodeGroup 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 AutoscaledNodeGroup resource accepts the following input properties:

    DiskSize string
    Disk size for the node group.
    NodeRole string
    Node role for the node group.
    Requirements List<Lbrlabs.PulumiPackage.Eks.Inputs.Requirement>
    List of requirements for the node group.
    SecurityGroupIds List<string>
    List of security group selector terms for the node group.
    SubnetIds List<string>
    List of subnet selector terms for the node group.
    AmiFamily string
    AMI family for the node group.
    Annotations Dictionary<string, string>
    Annotations to apply to the node group.
    Taints List<Pulumi.Kubernetes.Types.Inputs.Core.V1.Taint>
    Optional node taints.
    DiskSize string
    Disk size for the node group.
    NodeRole string
    Node role for the node group.
    Requirements []RequirementArgs
    List of requirements for the node group.
    SecurityGroupIds []string
    List of security group selector terms for the node group.
    SubnetIds []string
    List of subnet selector terms for the node group.
    AmiFamily string
    AMI family for the node group.
    Annotations map[string]string
    Annotations to apply to the node group.
    Taints TaintArgs
    Optional node taints.
    diskSize String
    Disk size for the node group.
    nodeRole String
    Node role for the node group.
    requirements List<Requirement>
    List of requirements for the node group.
    securityGroupIds List<String>
    List of security group selector terms for the node group.
    subnetIds List<String>
    List of subnet selector terms for the node group.
    amiFamily String
    AMI family for the node group.
    annotations Map<String,String>
    Annotations to apply to the node group.
    taints List<Taint>
    Optional node taints.
    diskSize string
    Disk size for the node group.
    nodeRole string
    Node role for the node group.
    requirements Requirement[]
    List of requirements for the node group.
    securityGroupIds string[]
    List of security group selector terms for the node group.
    subnetIds string[]
    List of subnet selector terms for the node group.
    amiFamily string
    AMI family for the node group.
    annotations {[key: string]: string}
    Annotations to apply to the node group.
    taints pulumiKubernetestypesinputcorev1Taint[]
    Optional node taints.
    disk_size str
    Disk size for the node group.
    node_role str
    Node role for the node group.
    requirements Sequence[RequirementArgs]
    List of requirements for the node group.
    security_group_ids Sequence[str]
    List of security group selector terms for the node group.
    subnet_ids Sequence[str]
    List of subnet selector terms for the node group.
    ami_family str
    AMI family for the node group.
    annotations Mapping[str, str]
    Annotations to apply to the node group.
    taints Sequence[pulumi_kubernetes.core.v1.TaintArgs]
    Optional node taints.
    diskSize String
    Disk size for the node group.
    nodeRole String
    Node role for the node group.
    requirements List<Property Map>
    List of requirements for the node group.
    securityGroupIds List<String>
    List of security group selector terms for the node group.
    subnetIds List<String>
    List of subnet selector terms for the node group.
    amiFamily String
    AMI family for the node group.
    annotations Map<String>
    Annotations to apply to the node group.
    taints List<Property Map>
    Optional node taints.

    Outputs

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

    Supporting Types

    Requirement, RequirementArgs

    Key string
    The key of the requirement.
    Operator string
    The operator for the requirement (e.g., In, Gt).
    Values List<string>
    The list of values for the requirement.
    Key string
    The key of the requirement.
    Operator string
    The operator for the requirement (e.g., In, Gt).
    Values []string
    The list of values for the requirement.
    key String
    The key of the requirement.
    operator String
    The operator for the requirement (e.g., In, Gt).
    values List<String>
    The list of values for the requirement.
    key string
    The key of the requirement.
    operator string
    The operator for the requirement (e.g., In, Gt).
    values string[]
    The list of values for the requirement.
    key str
    The key of the requirement.
    operator str
    The operator for the requirement (e.g., In, Gt).
    values Sequence[str]
    The list of values for the requirement.
    key String
    The key of the requirement.
    operator String
    The operator for the requirement (e.g., In, Gt).
    values List<String>
    The list of values for the requirement.

    Package Details

    Repository
    lbrlabs-eks lbrlabs/pulumi-lbrlabs-eks
    License
    lbrlabs-eks logo
    LBr Labs EKS v0.16.0 published on Tuesday, Apr 16, 2024 by lbrlabs