Class ClusterState


  • public final class ClusterState
    extends com.pulumi.resources.ResourceArgs
    • Method Detail

      • accessConfig

        public java.util.Optional<com.pulumi.core.Output<ClusterAccessConfigArgs>> accessConfig()
        Returns:
        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). Detailed below.
      • arn

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> arn()
        Returns:
        ARN of the cluster.
      • bootstrapSelfManagedAddons

        public java.util.Optional<com.pulumi.core.Output<java.lang.Boolean>> bootstrapSelfManagedAddons()
        Returns:
        Install default unmanaged add-ons, such as `aws-cni`, `kube-proxy`, and CoreDNS during cluster creation. If `false`, you must manually install desired add-ons. Changing this value will force a new cluster to be created. Defaults to `true`.
      • certificateAuthority

        public java.util.Optional<com.pulumi.core.Output<ClusterCertificateAuthorityArgs>> certificateAuthority()
        Returns:
        Attribute block containing `certificate-authority-data` for your cluster. Detailed below.
      • clusterId

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> clusterId()
        Returns:
        The ID of your local Amazon EKS cluster on the AWS Outpost. This attribute isn't available for an AWS EKS cluster on AWS cloud.
      • computeConfig

        public java.util.Optional<com.pulumi.core.Output<ClusterComputeConfigArgs>> computeConfig()
        Returns:
        Configuration block with compute configuration for EKS Auto Mode. Detailed below.
      • controlPlaneScalingConfig

        public java.util.Optional<com.pulumi.core.Output<ClusterControlPlaneScalingConfigArgs>> controlPlaneScalingConfig()
        Returns:
        Configuration block for the control plane scaling tier. See [EKS Provisioned Control Plane](https://docs.aws.amazon.com/eks/latest/userguide/eks-provisioned-control-plane-getting-started.html) for more information. Detailed below.
      • createdAt

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> createdAt()
        Returns:
        Unix epoch timestamp in seconds for when the cluster was created.
      • defaultAddonsToRemoves

        @Deprecated
        public java.util.Optional<com.pulumi.core.Output<java.util.List<java.lang.String>>> defaultAddonsToRemoves()
        Deprecated.
        Configure bootstrapSelfManagedAddons instead. This attribute will be removed in the next major version of the provider
      • deletionProtection

        public java.util.Optional<com.pulumi.core.Output<java.lang.Boolean>> deletionProtection()
        Returns:
        Whether to enable deletion protection for the cluster. When enabled, the cluster cannot be deleted unless deletion protection is first disabled. Default: `false`.
      • enabledClusterLogTypes

        public java.util.Optional<com.pulumi.core.Output<java.util.List<java.lang.String>>> enabledClusterLogTypes()
        Returns:
        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).
      • encryptionConfig

        public java.util.Optional<com.pulumi.core.Output<ClusterEncryptionConfigArgs>> encryptionConfig()
        Returns:
        Configuration block with encryption configuration for the cluster. Detailed below.
      • endpoint

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> endpoint()
        Returns:
        Endpoint for your Kubernetes API server.
      • forceUpdateVersion

        public java.util.Optional<com.pulumi.core.Output<java.lang.Boolean>> forceUpdateVersion()
        Returns:
        Force version update by overriding upgrade-blocking readiness checks when updating a cluster.
      • identities

        public java.util.Optional<com.pulumi.core.Output<java.util.List<ClusterIdentityArgs>>> identities()
        Returns:
        Attribute block containing identity provider information for your cluster. Only available on Kubernetes version 1.13 and 1.14 clusters created or upgraded on or after September 3, 2019. Detailed below.
      • kubeApiServerConfig

        public java.util.Optional<com.pulumi.core.Output<ClusterKubeApiServerConfigArgs>> kubeApiServerConfig()
        Returns:
        Configuration block for customizing the Kubernetes API server. Detailed below.
      • kubeControllerManagerConfig

        public java.util.Optional<com.pulumi.core.Output<ClusterKubeControllerManagerConfigArgs>> kubeControllerManagerConfig()
        Returns:
        Configuration block for customizing the Kubernetes controller manager. Detailed below.
      • kubeSchedulerConfig

        public java.util.Optional<com.pulumi.core.Output<ClusterKubeSchedulerConfigArgs>> kubeSchedulerConfig()
        Returns:
        Configuration block for customizing the Kubernetes scheduler. Detailed below.
      • kubernetesNetworkConfig

        public java.util.Optional<com.pulumi.core.Output<ClusterKubernetesNetworkConfigArgs>> kubernetesNetworkConfig()
        Returns:
        Configuration block with kubernetes network configuration for the cluster. Detailed below. If removed, the provider will only perform drift detection if a configuration value is provided.
      • name

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> name()
        Returns:
        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\-_]*$`).
      • outpostConfig

        public java.util.Optional<com.pulumi.core.Output<ClusterOutpostConfigArgs>> outpostConfig()
        Returns:
        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.
      • platformVersion

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> platformVersion()
        Returns:
        Platform version for the cluster.
      • region

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> region()
        Returns:
        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.
      • remoteNetworkConfig

        public java.util.Optional<com.pulumi.core.Output<ClusterRemoteNetworkConfigArgs>> remoteNetworkConfig()
        Returns:
        Configuration block with remote network configuration for EKS Hybrid Nodes. Detailed below.
      • roleArn

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> roleArn()
        Returns:
        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 `dependsOn` 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.
      • status

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> status()
        Returns:
        Status of the EKS cluster. One of `CREATING`, `ACTIVE`, `DELETING`, `FAILED`.
      • storageConfig

        public java.util.Optional<com.pulumi.core.Output<ClusterStorageConfigArgs>> storageConfig()
        Returns:
        Configuration block with storage configuration for EKS Auto Mode. Detailed below.
      • tags

        public java.util.Optional<com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>>> tags()
        Returns:
        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.
      • tagsAll

        public java.util.Optional<com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>>> tagsAll()
        Returns:
        Map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
      • upgradePolicy

        public java.util.Optional<com.pulumi.core.Output<ClusterUpgradePolicyArgs>> upgradePolicy()
        Returns:
        Configuration block for the support policy to use for the cluster. See upgradePolicy for details.
      • version

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> version()
        Returns:
        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.
      • vpcConfig

        public java.util.Optional<com.pulumi.core.Output<ClusterVpcConfigArgs>> vpcConfig()
        Returns:
        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:
      • zonalShiftConfig

        public java.util.Optional<com.pulumi.core.Output<ClusterZonalShiftConfigArgs>> zonalShiftConfig()
        Returns:
        Configuration block with zonal shift configuration for the cluster. Detailed below.