Class NodeGroupArgs.Builder

  • Enclosing class:
    NodeGroupArgs

    public static final class NodeGroupArgs.Builder
    extends java.lang.Object
    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • amiType

        public NodeGroupArgs.Builder amiType​(@Nullable
                                             com.pulumi.core.Output<java.lang.String> amiType)
        Parameters:
        amiType - Type of AMI associated with the EKS Node Group. See the [AWS documentation](https://docs.aws.amazon.com/eks/latest/APIReference/API_Nodegroup.html#AmazonEKS-Type-Nodegroup-amiType) for valid values. The provider will only perform drift detection if a configuration value is provided.
        Returns:
        builder
      • amiType

        public NodeGroupArgs.Builder amiType​(java.lang.String amiType)
        Parameters:
        amiType - Type of AMI associated with the EKS Node Group. See the [AWS documentation](https://docs.aws.amazon.com/eks/latest/APIReference/API_Nodegroup.html#AmazonEKS-Type-Nodegroup-amiType) for valid values. The provider will only perform drift detection if a configuration value is provided.
        Returns:
        builder
      • capacityType

        public NodeGroupArgs.Builder capacityType​(@Nullable
                                                  com.pulumi.core.Output<java.lang.String> capacityType)
        Parameters:
        capacityType - Type of capacity associated with the EKS Node Group. Valid values: `ON_DEMAND`, `SPOT`. This provider will only perform drift detection if a configuration value is provided.
        Returns:
        builder
      • capacityType

        public NodeGroupArgs.Builder capacityType​(java.lang.String capacityType)
        Parameters:
        capacityType - Type of capacity associated with the EKS Node Group. Valid values: `ON_DEMAND`, `SPOT`. This provider will only perform drift detection if a configuration value is provided.
        Returns:
        builder
      • clusterName

        public NodeGroupArgs.Builder clusterName​(com.pulumi.core.Output<java.lang.String> clusterName)
        Parameters:
        clusterName - Name of the EKS Cluster.
        Returns:
        builder
      • clusterName

        public NodeGroupArgs.Builder clusterName​(java.lang.String clusterName)
        Parameters:
        clusterName - Name of the EKS Cluster.
        Returns:
        builder
      • diskSize

        public NodeGroupArgs.Builder diskSize​(@Nullable
                                              com.pulumi.core.Output<java.lang.Integer> diskSize)
        Parameters:
        diskSize - Disk size in GiB for worker nodes. Defaults to `50` for Windows, `20` all other node groups. The provider will only perform drift detection if a configuration value is provided.
        Returns:
        builder
      • diskSize

        public NodeGroupArgs.Builder diskSize​(java.lang.Integer diskSize)
        Parameters:
        diskSize - Disk size in GiB for worker nodes. Defaults to `50` for Windows, `20` all other node groups. The provider will only perform drift detection if a configuration value is provided.
        Returns:
        builder
      • forceUpdateVersion

        public NodeGroupArgs.Builder forceUpdateVersion​(@Nullable
                                                        com.pulumi.core.Output<java.lang.Boolean> forceUpdateVersion)
        Parameters:
        forceUpdateVersion - Force version update if existing pods are unable to be drained due to a pod disruption budget issue.
        Returns:
        builder
      • forceUpdateVersion

        public NodeGroupArgs.Builder forceUpdateVersion​(java.lang.Boolean forceUpdateVersion)
        Parameters:
        forceUpdateVersion - Force version update if existing pods are unable to be drained due to a pod disruption budget issue.
        Returns:
        builder
      • instanceTypes

        public NodeGroupArgs.Builder instanceTypes​(@Nullable
                                                   com.pulumi.core.Output<java.util.List<java.lang.String>> instanceTypes)
        Parameters:
        instanceTypes - List of instance types associated with the EKS Node Group. Defaults to `["t3.medium"]`. The provider will only perform drift detection if a configuration value is provided.
        Returns:
        builder
      • instanceTypes

        public NodeGroupArgs.Builder instanceTypes​(java.util.List<java.lang.String> instanceTypes)
        Parameters:
        instanceTypes - List of instance types associated with the EKS Node Group. Defaults to `["t3.medium"]`. The provider will only perform drift detection if a configuration value is provided.
        Returns:
        builder
      • instanceTypes

        public NodeGroupArgs.Builder instanceTypes​(java.lang.String... instanceTypes)
        Parameters:
        instanceTypes - List of instance types associated with the EKS Node Group. Defaults to `["t3.medium"]`. The provider will only perform drift detection if a configuration value is provided.
        Returns:
        builder
      • labels

        public NodeGroupArgs.Builder labels​(@Nullable
                                            com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>> labels)
        Parameters:
        labels - 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.
        Returns:
        builder
      • labels

        public NodeGroupArgs.Builder labels​(java.util.Map<java.lang.String,​java.lang.String> labels)
        Parameters:
        labels - 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.
        Returns:
        builder
      • launchTemplate

        public NodeGroupArgs.Builder launchTemplate​(@Nullable
                                                    com.pulumi.core.Output<NodeGroupLaunchTemplateArgs> launchTemplate)
        Parameters:
        launchTemplate - Configuration block with Launch Template settings. See `launchTemplate` below for details. Conflicts with `remoteAccess`.
        Returns:
        builder
      • launchTemplate

        public NodeGroupArgs.Builder launchTemplate​(NodeGroupLaunchTemplateArgs launchTemplate)
        Parameters:
        launchTemplate - Configuration block with Launch Template settings. See `launchTemplate` below for details. Conflicts with `remoteAccess`.
        Returns:
        builder
      • nodeGroupName

        public NodeGroupArgs.Builder nodeGroupName​(@Nullable
                                                   com.pulumi.core.Output<java.lang.String> nodeGroupName)
        Parameters:
        nodeGroupName - Name of the EKS Node Group. If omitted, the provider will assign a random, unique name. Conflicts with `nodeGroupNamePrefix`. The node group name can't be longer than 63 characters. It must start with a letter or digit, but can also include hyphens and underscores for the remaining characters.
        Returns:
        builder
      • nodeGroupName

        public NodeGroupArgs.Builder nodeGroupName​(java.lang.String nodeGroupName)
        Parameters:
        nodeGroupName - Name of the EKS Node Group. If omitted, the provider will assign a random, unique name. Conflicts with `nodeGroupNamePrefix`. The node group name can't be longer than 63 characters. It must start with a letter or digit, but can also include hyphens and underscores for the remaining characters.
        Returns:
        builder
      • nodeGroupNamePrefix

        public NodeGroupArgs.Builder nodeGroupNamePrefix​(@Nullable
                                                         com.pulumi.core.Output<java.lang.String> nodeGroupNamePrefix)
        Parameters:
        nodeGroupNamePrefix - Creates a unique name beginning with the specified prefix. Conflicts with `nodeGroupName`.
        Returns:
        builder
      • nodeGroupNamePrefix

        public NodeGroupArgs.Builder nodeGroupNamePrefix​(java.lang.String nodeGroupNamePrefix)
        Parameters:
        nodeGroupNamePrefix - Creates a unique name beginning with the specified prefix. Conflicts with `nodeGroupName`.
        Returns:
        builder
      • nodeRepairConfig

        public NodeGroupArgs.Builder nodeRepairConfig​(@Nullable
                                                      com.pulumi.core.Output<NodeGroupNodeRepairConfigArgs> nodeRepairConfig)
        Parameters:
        nodeRepairConfig - The node auto repair configuration for the node group. See `nodeRepairConfig` below for details.
        Returns:
        builder
      • nodeRepairConfig

        public NodeGroupArgs.Builder nodeRepairConfig​(NodeGroupNodeRepairConfigArgs nodeRepairConfig)
        Parameters:
        nodeRepairConfig - The node auto repair configuration for the node group. See `nodeRepairConfig` below for details.
        Returns:
        builder
      • nodeRoleArn

        public NodeGroupArgs.Builder nodeRoleArn​(com.pulumi.core.Output<java.lang.String> nodeRoleArn)
        Parameters:
        nodeRoleArn - ARN of the IAM Role that provides permissions for the EKS Node Group.
        Returns:
        builder
      • nodeRoleArn

        public NodeGroupArgs.Builder nodeRoleArn​(java.lang.String nodeRoleArn)
        Parameters:
        nodeRoleArn - ARN of the IAM Role that provides permissions for the EKS Node Group.
        Returns:
        builder
      • region

        public NodeGroupArgs.Builder region​(@Nullable
                                            com.pulumi.core.Output<java.lang.String> region)
        Parameters:
        region - Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
        Returns:
        builder
      • region

        public NodeGroupArgs.Builder region​(java.lang.String region)
        Parameters:
        region - Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
        Returns:
        builder
      • releaseVersion

        public NodeGroupArgs.Builder releaseVersion​(@Nullable
                                                    com.pulumi.core.Output<java.lang.String> releaseVersion)
        Parameters:
        releaseVersion - AMI version of the EKS Node Group. Defaults to latest version for Kubernetes version.
        Returns:
        builder
      • releaseVersion

        public NodeGroupArgs.Builder releaseVersion​(java.lang.String releaseVersion)
        Parameters:
        releaseVersion - AMI version of the EKS Node Group. Defaults to latest version for Kubernetes version.
        Returns:
        builder
      • remoteAccess

        public NodeGroupArgs.Builder remoteAccess​(@Nullable
                                                  com.pulumi.core.Output<NodeGroupRemoteAccessArgs> remoteAccess)
        Parameters:
        remoteAccess - Configuration block with remote access settings. See `remoteAccess` below for details. Conflicts with `launchTemplate`.
        Returns:
        builder
      • remoteAccess

        public NodeGroupArgs.Builder remoteAccess​(NodeGroupRemoteAccessArgs remoteAccess)
        Parameters:
        remoteAccess - Configuration block with remote access settings. See `remoteAccess` below for details. Conflicts with `launchTemplate`.
        Returns:
        builder
      • scalingConfig

        public NodeGroupArgs.Builder scalingConfig​(com.pulumi.core.Output<NodeGroupScalingConfigArgs> scalingConfig)
        Parameters:
        scalingConfig - Configuration block with scaling settings. See `scalingConfig` below for details.
        Returns:
        builder
      • subnetIds

        public NodeGroupArgs.Builder subnetIds​(com.pulumi.core.Output<java.util.List<java.lang.String>> subnetIds)
        Parameters:
        subnetIds - Identifiers of EC2 Subnets to associate with the EKS Node Group. The following arguments are optional:
        Returns:
        builder
      • subnetIds

        public NodeGroupArgs.Builder subnetIds​(java.util.List<java.lang.String> subnetIds)
        Parameters:
        subnetIds - Identifiers of EC2 Subnets to associate with the EKS Node Group. The following arguments are optional:
        Returns:
        builder
      • subnetIds

        public NodeGroupArgs.Builder subnetIds​(java.lang.String... subnetIds)
        Parameters:
        subnetIds - Identifiers of EC2 Subnets to associate with the EKS Node Group. The following arguments are optional:
        Returns:
        builder
      • tags

        public NodeGroupArgs.Builder tags​(@Nullable
                                          com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>> tags)
        Parameters:
        tags - Key-value map of resource tags. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
        Returns:
        builder
      • tags

        public NodeGroupArgs.Builder tags​(java.util.Map<java.lang.String,​java.lang.String> tags)
        Parameters:
        tags - Key-value map of resource tags. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
        Returns:
        builder
      • taints

        public NodeGroupArgs.Builder taints​(@Nullable
                                            com.pulumi.core.Output<java.util.List<NodeGroupTaintArgs>> taints)
        Parameters:
        taints - The Kubernetes taints to be applied to the nodes in the node group. Maximum of 50 taints per node group. See taint below for details.
        Returns:
        builder
      • taints

        public NodeGroupArgs.Builder taints​(java.util.List<NodeGroupTaintArgs> taints)
        Parameters:
        taints - The Kubernetes taints to be applied to the nodes in the node group. Maximum of 50 taints per node group. See taint below for details.
        Returns:
        builder
      • taints

        public NodeGroupArgs.Builder taints​(NodeGroupTaintArgs... taints)
        Parameters:
        taints - The Kubernetes taints to be applied to the nodes in the node group. Maximum of 50 taints per node group. See taint below for details.
        Returns:
        builder
      • updateConfig

        public NodeGroupArgs.Builder updateConfig​(@Nullable
                                                  com.pulumi.core.Output<NodeGroupUpdateConfigArgs> updateConfig)
        Parameters:
        updateConfig - Configuration block with update settings. See `updateConfig` below for details.
        Returns:
        builder
      • version

        public NodeGroupArgs.Builder version​(@Nullable
                                             com.pulumi.core.Output<java.lang.String> version)
        Parameters:
        version - Kubernetes version. Defaults to EKS Cluster Kubernetes version. The provider will only perform drift detection if a configuration value is provided.
        Returns:
        builder
      • version

        public NodeGroupArgs.Builder version​(java.lang.String version)
        Parameters:
        version - Kubernetes version. Defaults to EKS Cluster Kubernetes version. The provider will only perform drift detection if a configuration value is provided.
        Returns:
        builder
      • warmPoolConfig

        public NodeGroupArgs.Builder warmPoolConfig​(@Nullable
                                                    com.pulumi.core.Output<NodeGroupWarmPoolConfigArgs> warmPoolConfig)
        Parameters:
        warmPoolConfig - Configuration block with EC2 Auto Scaling warm pool settings. Including this block enables the warm pool; removing it disables and removes the warm pool. See `warmPoolConfig` below for details.
        Returns:
        builder
      • warmPoolConfig

        public NodeGroupArgs.Builder warmPoolConfig​(NodeGroupWarmPoolConfigArgs warmPoolConfig)
        Parameters:
        warmPoolConfig - Configuration block with EC2 Auto Scaling warm pool settings. Including this block enables the warm pool; removing it disables and removes the warm pool. See `warmPoolConfig` below for details.
        Returns:
        builder