Class NodeGroupState.Builder

  • Enclosing class:
    NodeGroupState

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

      • Builder

        public Builder()
    • Method Detail

      • amiType

        public NodeGroupState.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 NodeGroupState.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
      • arn

        public NodeGroupState.Builder arn​(@Nullable
                                          com.pulumi.core.Output<java.lang.String> arn)
        Parameters:
        arn - ARN of the EKS Node Group.
        Returns:
        builder
      • arn

        public NodeGroupState.Builder arn​(java.lang.String arn)
        Parameters:
        arn - ARN of the EKS Node Group.
        Returns:
        builder
      • capacityType

        public NodeGroupState.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 NodeGroupState.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 NodeGroupState.Builder clusterName​(@Nullable
                                                  com.pulumi.core.Output<java.lang.String> clusterName)
        Parameters:
        clusterName - Name of the EKS Cluster.
        Returns:
        builder
      • clusterName

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

        public NodeGroupState.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 NodeGroupState.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 NodeGroupState.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 NodeGroupState.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 NodeGroupState.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 NodeGroupState.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 NodeGroupState.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 NodeGroupState.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 NodeGroupState.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 NodeGroupState.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 NodeGroupState.Builder launchTemplate​(NodeGroupLaunchTemplateArgs launchTemplate)
        Parameters:
        launchTemplate - Configuration block with Launch Template settings. See `launchTemplate` below for details. Conflicts with `remoteAccess`.
        Returns:
        builder
      • nodeGroupName

        public NodeGroupState.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 NodeGroupState.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 NodeGroupState.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 NodeGroupState.Builder nodeGroupNamePrefix​(java.lang.String nodeGroupNamePrefix)
        Parameters:
        nodeGroupNamePrefix - Creates a unique name beginning with the specified prefix. Conflicts with `nodeGroupName`.
        Returns:
        builder
      • nodeRepairConfig

        public NodeGroupState.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 NodeGroupState.Builder nodeRepairConfig​(NodeGroupNodeRepairConfigArgs nodeRepairConfig)
        Parameters:
        nodeRepairConfig - The node auto repair configuration for the node group. See `nodeRepairConfig` below for details.
        Returns:
        builder
      • nodeRoleArn

        public NodeGroupState.Builder nodeRoleArn​(@Nullable
                                                  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 NodeGroupState.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 NodeGroupState.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 NodeGroupState.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 NodeGroupState.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 NodeGroupState.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 NodeGroupState.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 NodeGroupState.Builder remoteAccess​(NodeGroupRemoteAccessArgs remoteAccess)
        Parameters:
        remoteAccess - Configuration block with remote access settings. See `remoteAccess` below for details. Conflicts with `launchTemplate`.
        Returns:
        builder
      • resources

        public NodeGroupState.Builder resources​(@Nullable
                                                com.pulumi.core.Output<java.util.List<NodeGroupResourceArgs>> resources)
        Parameters:
        resources - List of objects containing information about underlying resources.
        Returns:
        builder
      • scalingConfig

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

        public NodeGroupState.Builder status​(@Nullable
                                             com.pulumi.core.Output<java.lang.String> status)
        Parameters:
        status - Status of the EKS Node Group.
        Returns:
        builder
      • status

        public NodeGroupState.Builder status​(java.lang.String status)
        Parameters:
        status - Status of the EKS Node Group.
        Returns:
        builder
      • subnetIds

        public NodeGroupState.Builder subnetIds​(@Nullable
                                                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 NodeGroupState.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 NodeGroupState.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 NodeGroupState.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 NodeGroupState.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
      • tagsAll

        public NodeGroupState.Builder tagsAll​(@Nullable
                                              com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>> tagsAll)
        Parameters:
        tagsAll - A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
        Returns:
        builder
      • tagsAll

        public NodeGroupState.Builder tagsAll​(java.util.Map<java.lang.String,​java.lang.String> tagsAll)
        Parameters:
        tagsAll - A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
        Returns:
        builder
      • taints

        public NodeGroupState.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 NodeGroupState.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 NodeGroupState.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 NodeGroupState.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 NodeGroupState.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 NodeGroupState.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 NodeGroupState.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 NodeGroupState.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