Class ClusterArgs.Builder

  • Enclosing class:
    ClusterArgs

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

      • Builder

        public Builder()
    • Method Detail

      • accessConfig

        public ClusterArgs.Builder accessConfig​(@Nullable
                                                com.pulumi.core.Output<ClusterAccessConfigArgs> accessConfig)
        Parameters:
        accessConfig - Configuration block for the access config associated with your cluster, see [Amazon EKS Access Entries](https://docs.aws.amazon.com/eks/latest/userguide/access-entries.html).
        Returns:
        builder
      • accessConfig

        public ClusterArgs.Builder accessConfig​(ClusterAccessConfigArgs accessConfig)
        Parameters:
        accessConfig - Configuration block for the access config associated with your cluster, see [Amazon EKS Access Entries](https://docs.aws.amazon.com/eks/latest/userguide/access-entries.html).
        Returns:
        builder
      • defaultAddonsToRemoves

        public ClusterArgs.Builder defaultAddonsToRemoves​(@Nullable
                                                          com.pulumi.core.Output<java.util.List<java.lang.String>> defaultAddonsToRemoves)
      • defaultAddonsToRemoves

        public ClusterArgs.Builder defaultAddonsToRemoves​(java.util.List<java.lang.String> defaultAddonsToRemoves)
      • defaultAddonsToRemoves

        public ClusterArgs.Builder defaultAddonsToRemoves​(java.lang.String... defaultAddonsToRemoves)
      • enabledClusterLogTypes

        public ClusterArgs.Builder enabledClusterLogTypes​(@Nullable
                                                          com.pulumi.core.Output<java.util.List<java.lang.String>> enabledClusterLogTypes)
        Parameters:
        enabledClusterLogTypes - List of the desired control plane logging to enable. For more information, see [Amazon EKS Control Plane Logging](https://docs.aws.amazon.com/eks/latest/userguide/control-plane-logs.html).
        Returns:
        builder
      • enabledClusterLogTypes

        public ClusterArgs.Builder enabledClusterLogTypes​(java.util.List<java.lang.String> enabledClusterLogTypes)
        Parameters:
        enabledClusterLogTypes - List of the desired control plane logging to enable. For more information, see [Amazon EKS Control Plane Logging](https://docs.aws.amazon.com/eks/latest/userguide/control-plane-logs.html).
        Returns:
        builder
      • enabledClusterLogTypes

        public ClusterArgs.Builder enabledClusterLogTypes​(java.lang.String... enabledClusterLogTypes)
        Parameters:
        enabledClusterLogTypes - List of the desired control plane logging to enable. For more information, see [Amazon EKS Control Plane Logging](https://docs.aws.amazon.com/eks/latest/userguide/control-plane-logs.html).
        Returns:
        builder
      • encryptionConfig

        public ClusterArgs.Builder encryptionConfig​(@Nullable
                                                    com.pulumi.core.Output<ClusterEncryptionConfigArgs> encryptionConfig)
        Parameters:
        encryptionConfig - Configuration block with encryption configuration for the cluster. Only available on Kubernetes 1.13 and above clusters created after March 6, 2020. Detailed below.
        Returns:
        builder
      • encryptionConfig

        public ClusterArgs.Builder encryptionConfig​(ClusterEncryptionConfigArgs encryptionConfig)
        Parameters:
        encryptionConfig - Configuration block with encryption configuration for the cluster. Only available on Kubernetes 1.13 and above clusters created after March 6, 2020. Detailed below.
        Returns:
        builder
      • kubernetesNetworkConfig

        public ClusterArgs.Builder kubernetesNetworkConfig​(@Nullable
                                                           com.pulumi.core.Output<ClusterKubernetesNetworkConfigArgs> kubernetesNetworkConfig)
        Parameters:
        kubernetesNetworkConfig - Configuration block with kubernetes network configuration for the cluster. Detailed below. If removed, this provider will only perform drift detection if a configuration value is provided.
        Returns:
        builder
      • kubernetesNetworkConfig

        public ClusterArgs.Builder kubernetesNetworkConfig​(ClusterKubernetesNetworkConfigArgs kubernetesNetworkConfig)
        Parameters:
        kubernetesNetworkConfig - Configuration block with kubernetes network configuration for the cluster. Detailed below. If removed, this provider will only perform drift detection if a configuration value is provided.
        Returns:
        builder
      • name

        public ClusterArgs.Builder name​(@Nullable
                                        com.pulumi.core.Output<java.lang.String> name)
        Parameters:
        name - Name of the cluster. Must be between 1-100 characters in length. Must begin with an alphanumeric character, and must only contain alphanumeric characters, dashes and underscores (`^[0-9A-Za-z][A-Za-z0-9\-_]*$`).
        Returns:
        builder
      • name

        public ClusterArgs.Builder name​(java.lang.String name)
        Parameters:
        name - Name of the cluster. Must be between 1-100 characters in length. Must begin with an alphanumeric character, and must only contain alphanumeric characters, dashes and underscores (`^[0-9A-Za-z][A-Za-z0-9\-_]*$`).
        Returns:
        builder
      • outpostConfig

        public ClusterArgs.Builder outpostConfig​(@Nullable
                                                 com.pulumi.core.Output<ClusterOutpostConfigArgs> outpostConfig)
        Parameters:
        outpostConfig - Configuration block representing the configuration of your local Amazon EKS cluster on an AWS Outpost. This block isn't available for creating Amazon EKS clusters on the AWS cloud.
        Returns:
        builder
      • outpostConfig

        public ClusterArgs.Builder outpostConfig​(ClusterOutpostConfigArgs outpostConfig)
        Parameters:
        outpostConfig - Configuration block representing the configuration of your local Amazon EKS cluster on an AWS Outpost. This block isn't available for creating Amazon EKS clusters on the AWS cloud.
        Returns:
        builder
      • roleArn

        public ClusterArgs.Builder roleArn​(com.pulumi.core.Output<java.lang.String> roleArn)
        Parameters:
        roleArn - ARN of the IAM role that provides permissions for the Kubernetes control plane to make calls to AWS API operations on your behalf. Ensure the resource configuration includes explicit dependencies on the IAM Role permissions by adding `depends_on` if using the `aws.iam.RolePolicy` resource or `aws.iam.RolePolicyAttachment` resource, otherwise EKS cannot delete EKS managed EC2 infrastructure such as Security Groups on EKS Cluster deletion.
        Returns:
        builder
      • roleArn

        public ClusterArgs.Builder roleArn​(java.lang.String roleArn)
        Parameters:
        roleArn - ARN of the IAM role that provides permissions for the Kubernetes control plane to make calls to AWS API operations on your behalf. Ensure the resource configuration includes explicit dependencies on the IAM Role permissions by adding `depends_on` if using the `aws.iam.RolePolicy` resource or `aws.iam.RolePolicyAttachment` resource, otherwise EKS cannot delete EKS managed EC2 infrastructure such as Security Groups on EKS Cluster deletion.
        Returns:
        builder
      • tags

        public ClusterArgs.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 `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
        Returns:
        builder
      • tags

        public ClusterArgs.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 `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
        Returns:
        builder
      • version

        public ClusterArgs.Builder version​(@Nullable
                                           com.pulumi.core.Output<java.lang.String> version)
        Parameters:
        version - Desired Kubernetes master version. If you do not specify a value, the latest available version at resource creation is used and no upgrades will occur except those automatically triggered by EKS. The value must be configured and increased to upgrade the version when desired. Downgrades are not supported by EKS.
        Returns:
        builder
      • version

        public ClusterArgs.Builder version​(java.lang.String version)
        Parameters:
        version - Desired Kubernetes master version. If you do not specify a value, the latest available version at resource creation is used and no upgrades will occur except those automatically triggered by EKS. The value must be configured and increased to upgrade the version when desired. Downgrades are not supported by EKS.
        Returns:
        builder
      • vpcConfig

        public ClusterArgs.Builder vpcConfig​(com.pulumi.core.Output<ClusterVpcConfigArgs> vpcConfig)
        Parameters:
        vpcConfig - Configuration block for the VPC associated with your cluster. Amazon EKS VPC resources have specific requirements to work properly with Kubernetes. For more information, see [Cluster VPC Considerations](https://docs.aws.amazon.com/eks/latest/userguide/network_reqs.html) and [Cluster Security Group Considerations](https://docs.aws.amazon.com/eks/latest/userguide/sec-group-reqs.html) in the Amazon EKS User Guide. Detailed below. Also contains attributes detailed in the Attributes section. The following arguments are optional:
        Returns:
        builder
      • vpcConfig

        public ClusterArgs.Builder vpcConfig​(ClusterVpcConfigArgs vpcConfig)
        Parameters:
        vpcConfig - Configuration block for the VPC associated with your cluster. Amazon EKS VPC resources have specific requirements to work properly with Kubernetes. For more information, see [Cluster VPC Considerations](https://docs.aws.amazon.com/eks/latest/userguide/network_reqs.html) and [Cluster Security Group Considerations](https://docs.aws.amazon.com/eks/latest/userguide/sec-group-reqs.html) in the Amazon EKS User Guide. Detailed below. Also contains attributes detailed in the Attributes section. The following arguments are optional:
        Returns:
        builder