1. Packages
  2. AWS
  3. API Docs
  4. eks
  5. getCluster
AWS v6.76.0 published on Tuesday, Apr 8, 2025 by Pulumi

aws.eks.getCluster

Explore with Pulumi AI

AWS v6.76.0 published on Tuesday, Apr 8, 2025 by Pulumi

Retrieve information about an EKS Cluster.

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";

export = async () => {
    const example = await aws.eks.getCluster({
        name: "example",
    });
    return {
        endpoint: example.endpoint,
        "kubeconfig-certificate-authority-data": example.certificateAuthorities?.[0]?.data,
    };
}
Copy
import pulumi
import pulumi_aws as aws

example = aws.eks.get_cluster(name="example")
pulumi.export("endpoint", example.endpoint)
pulumi.export("kubeconfig-certificate-authority-data", example.certificate_authorities[0].data)
Copy
package main

import (
	"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/eks"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		example, err := eks.LookupCluster(ctx, &eks.LookupClusterArgs{
			Name: "example",
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("endpoint", example.Endpoint)
		ctx.Export("kubeconfig-certificate-authority-data", example.CertificateAuthorities[0].Data)
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;

return await Deployment.RunAsync(() => 
{
    var example = Aws.Eks.GetCluster.Invoke(new()
    {
        Name = "example",
    });

    return new Dictionary<string, object?>
    {
        ["endpoint"] = example.Apply(getClusterResult => getClusterResult.Endpoint),
        ["kubeconfig-certificate-authority-data"] = example.Apply(getClusterResult => getClusterResult.CertificateAuthorities[0]?.Data),
    };
});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.eks.EksFunctions;
import com.pulumi.aws.eks.inputs.GetClusterArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        final var example = EksFunctions.getCluster(GetClusterArgs.builder()
            .name("example")
            .build());

        ctx.export("endpoint", example.applyValue(getClusterResult -> getClusterResult.endpoint()));
        ctx.export("kubeconfig-certificate-authority-data", example.applyValue(getClusterResult -> getClusterResult.certificateAuthorities()[0].data()));
    }
}
Copy
variables:
  example:
    fn::invoke:
      function: aws:eks:getCluster
      arguments:
        name: example
outputs:
  endpoint: ${example.endpoint}
  kubeconfig-certificate-authority-data: ${example.certificateAuthorities[0].data}
Copy

Using getCluster

Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

function getCluster(args: GetClusterArgs, opts?: InvokeOptions): Promise<GetClusterResult>
function getClusterOutput(args: GetClusterOutputArgs, opts?: InvokeOptions): Output<GetClusterResult>
Copy
def get_cluster(name: Optional[str] = None,
                tags: Optional[Mapping[str, str]] = None,
                opts: Optional[InvokeOptions] = None) -> GetClusterResult
def get_cluster_output(name: Optional[pulumi.Input[str]] = None,
                tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
                opts: Optional[InvokeOptions] = None) -> Output[GetClusterResult]
Copy
func LookupCluster(ctx *Context, args *LookupClusterArgs, opts ...InvokeOption) (*LookupClusterResult, error)
func LookupClusterOutput(ctx *Context, args *LookupClusterOutputArgs, opts ...InvokeOption) LookupClusterResultOutput
Copy

> Note: This function is named LookupCluster in the Go SDK.

public static class GetCluster 
{
    public static Task<GetClusterResult> InvokeAsync(GetClusterArgs args, InvokeOptions? opts = null)
    public static Output<GetClusterResult> Invoke(GetClusterInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetClusterResult> getCluster(GetClusterArgs args, InvokeOptions options)
public static Output<GetClusterResult> getCluster(GetClusterArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: aws:eks/getCluster:getCluster
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

Name This property is required. string
Name of the cluster.
Tags Dictionary<string, string>
Key-value map of resource tags.
Name This property is required. string
Name of the cluster.
Tags map[string]string
Key-value map of resource tags.
name This property is required. String
Name of the cluster.
tags Map<String,String>
Key-value map of resource tags.
name This property is required. string
Name of the cluster.
tags {[key: string]: string}
Key-value map of resource tags.
name This property is required. str
Name of the cluster.
tags Mapping[str, str]
Key-value map of resource tags.
name This property is required. String
Name of the cluster.
tags Map<String>
Key-value map of resource tags.

getCluster Result

The following output properties are available:

AccessConfigs List<GetClusterAccessConfig>
Configuration block for access config.
Arn string
ARN of the cluster.
CertificateAuthorities List<GetClusterCertificateAuthority>
Nested attribute containing certificate-authority-data for your cluster.
ClusterId string
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.
ComputeConfigs List<GetClusterComputeConfig>
Nested attribute containing compute capability configuration for EKS Auto Mode enabled cluster.
CreatedAt string
Unix epoch time stamp in seconds for when the cluster was created.
EnabledClusterLogTypes List<string>
The enabled control plane logs.
Endpoint string
Endpoint for your Kubernetes API server.
Id string
The provider-assigned unique ID for this managed resource.
Identities List<GetClusterIdentity>
Nested attribute 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. For an example using this information to enable IAM Roles for Service Accounts, see the aws.eks.Cluster resource documentation.
KubernetesNetworkConfigs List<GetClusterKubernetesNetworkConfig>
Nested list containing Kubernetes Network Configuration.
Name string
OutpostConfigs List<GetClusterOutpostConfig>
Contains Outpost Configuration.
PlatformVersion string
Platform version for the cluster.
RemoteNetworkConfigs List<GetClusterRemoteNetworkConfig>
Contains remote network configuration for EKS Hybrid Nodes.
RoleArn string
ARN of the IAM role that provides permissions for the Kubernetes control plane to make calls to AWS API operations on your behalf.
Status string
Status of the EKS cluster. One of CREATING, ACTIVE, DELETING, FAILED.
StorageConfigs List<GetClusterStorageConfig>
Contains storage configuration for EKS Auto Mode enabled cluster.
Tags Dictionary<string, string>
Key-value map of resource tags.
UpgradePolicies List<GetClusterUpgradePolicy>
Configuration block for the support policy to use for the cluster.
Version string
Kubernetes server version for the cluster.
VpcConfig GetClusterVpcConfig
Nested list containing VPC configuration for the cluster.
ZonalShiftConfigs List<GetClusterZonalShiftConfig>
Contains Zonal Shift Configuration.
AccessConfigs []GetClusterAccessConfig
Configuration block for access config.
Arn string
ARN of the cluster.
CertificateAuthorities []GetClusterCertificateAuthority
Nested attribute containing certificate-authority-data for your cluster.
ClusterId string
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.
ComputeConfigs []GetClusterComputeConfig
Nested attribute containing compute capability configuration for EKS Auto Mode enabled cluster.
CreatedAt string
Unix epoch time stamp in seconds for when the cluster was created.
EnabledClusterLogTypes []string
The enabled control plane logs.
Endpoint string
Endpoint for your Kubernetes API server.
Id string
The provider-assigned unique ID for this managed resource.
Identities []GetClusterIdentity
Nested attribute 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. For an example using this information to enable IAM Roles for Service Accounts, see the aws.eks.Cluster resource documentation.
KubernetesNetworkConfigs []GetClusterKubernetesNetworkConfig
Nested list containing Kubernetes Network Configuration.
Name string
OutpostConfigs []GetClusterOutpostConfig
Contains Outpost Configuration.
PlatformVersion string
Platform version for the cluster.
RemoteNetworkConfigs []GetClusterRemoteNetworkConfig
Contains remote network configuration for EKS Hybrid Nodes.
RoleArn string
ARN of the IAM role that provides permissions for the Kubernetes control plane to make calls to AWS API operations on your behalf.
Status string
Status of the EKS cluster. One of CREATING, ACTIVE, DELETING, FAILED.
StorageConfigs []GetClusterStorageConfig
Contains storage configuration for EKS Auto Mode enabled cluster.
Tags map[string]string
Key-value map of resource tags.
UpgradePolicies []GetClusterUpgradePolicy
Configuration block for the support policy to use for the cluster.
Version string
Kubernetes server version for the cluster.
VpcConfig GetClusterVpcConfig
Nested list containing VPC configuration for the cluster.
ZonalShiftConfigs []GetClusterZonalShiftConfig
Contains Zonal Shift Configuration.
accessConfigs List<GetClusterAccessConfig>
Configuration block for access config.
arn String
ARN of the cluster.
certificateAuthorities List<GetClusterCertificateAuthority>
Nested attribute containing certificate-authority-data for your cluster.
clusterId String
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.
computeConfigs List<GetClusterComputeConfig>
Nested attribute containing compute capability configuration for EKS Auto Mode enabled cluster.
createdAt String
Unix epoch time stamp in seconds for when the cluster was created.
enabledClusterLogTypes List<String>
The enabled control plane logs.
endpoint String
Endpoint for your Kubernetes API server.
id String
The provider-assigned unique ID for this managed resource.
identities List<GetClusterIdentity>
Nested attribute 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. For an example using this information to enable IAM Roles for Service Accounts, see the aws.eks.Cluster resource documentation.
kubernetesNetworkConfigs List<GetClusterKubernetesNetworkConfig>
Nested list containing Kubernetes Network Configuration.
name String
outpostConfigs List<GetClusterOutpostConfig>
Contains Outpost Configuration.
platformVersion String
Platform version for the cluster.
remoteNetworkConfigs List<GetClusterRemoteNetworkConfig>
Contains remote network configuration for EKS Hybrid Nodes.
roleArn String
ARN of the IAM role that provides permissions for the Kubernetes control plane to make calls to AWS API operations on your behalf.
status String
Status of the EKS cluster. One of CREATING, ACTIVE, DELETING, FAILED.
storageConfigs List<GetClusterStorageConfig>
Contains storage configuration for EKS Auto Mode enabled cluster.
tags Map<String,String>
Key-value map of resource tags.
upgradePolicies List<GetClusterUpgradePolicy>
Configuration block for the support policy to use for the cluster.
version String
Kubernetes server version for the cluster.
vpcConfig GetClusterVpcConfig
Nested list containing VPC configuration for the cluster.
zonalShiftConfigs List<GetClusterZonalShiftConfig>
Contains Zonal Shift Configuration.
accessConfigs GetClusterAccessConfig[]
Configuration block for access config.
arn string
ARN of the cluster.
certificateAuthorities GetClusterCertificateAuthority[]
Nested attribute containing certificate-authority-data for your cluster.
clusterId string
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.
computeConfigs GetClusterComputeConfig[]
Nested attribute containing compute capability configuration for EKS Auto Mode enabled cluster.
createdAt string
Unix epoch time stamp in seconds for when the cluster was created.
enabledClusterLogTypes string[]
The enabled control plane logs.
endpoint string
Endpoint for your Kubernetes API server.
id string
The provider-assigned unique ID for this managed resource.
identities GetClusterIdentity[]
Nested attribute 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. For an example using this information to enable IAM Roles for Service Accounts, see the aws.eks.Cluster resource documentation.
kubernetesNetworkConfigs GetClusterKubernetesNetworkConfig[]
Nested list containing Kubernetes Network Configuration.
name string
outpostConfigs GetClusterOutpostConfig[]
Contains Outpost Configuration.
platformVersion string
Platform version for the cluster.
remoteNetworkConfigs GetClusterRemoteNetworkConfig[]
Contains remote network configuration for EKS Hybrid Nodes.
roleArn string
ARN of the IAM role that provides permissions for the Kubernetes control plane to make calls to AWS API operations on your behalf.
status string
Status of the EKS cluster. One of CREATING, ACTIVE, DELETING, FAILED.
storageConfigs GetClusterStorageConfig[]
Contains storage configuration for EKS Auto Mode enabled cluster.
tags {[key: string]: string}
Key-value map of resource tags.
upgradePolicies GetClusterUpgradePolicy[]
Configuration block for the support policy to use for the cluster.
version string
Kubernetes server version for the cluster.
vpcConfig GetClusterVpcConfig
Nested list containing VPC configuration for the cluster.
zonalShiftConfigs GetClusterZonalShiftConfig[]
Contains Zonal Shift Configuration.
access_configs Sequence[GetClusterAccessConfig]
Configuration block for access config.
arn str
ARN of the cluster.
certificate_authorities Sequence[GetClusterCertificateAuthority]
Nested attribute containing certificate-authority-data for your cluster.
cluster_id str
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.
compute_configs Sequence[GetClusterComputeConfig]
Nested attribute containing compute capability configuration for EKS Auto Mode enabled cluster.
created_at str
Unix epoch time stamp in seconds for when the cluster was created.
enabled_cluster_log_types Sequence[str]
The enabled control plane logs.
endpoint str
Endpoint for your Kubernetes API server.
id str
The provider-assigned unique ID for this managed resource.
identities Sequence[GetClusterIdentity]
Nested attribute 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. For an example using this information to enable IAM Roles for Service Accounts, see the aws.eks.Cluster resource documentation.
kubernetes_network_configs Sequence[GetClusterKubernetesNetworkConfig]
Nested list containing Kubernetes Network Configuration.
name str
outpost_configs Sequence[GetClusterOutpostConfig]
Contains Outpost Configuration.
platform_version str
Platform version for the cluster.
remote_network_configs Sequence[GetClusterRemoteNetworkConfig]
Contains remote network configuration for EKS Hybrid Nodes.
role_arn str
ARN of the IAM role that provides permissions for the Kubernetes control plane to make calls to AWS API operations on your behalf.
status str
Status of the EKS cluster. One of CREATING, ACTIVE, DELETING, FAILED.
storage_configs Sequence[GetClusterStorageConfig]
Contains storage configuration for EKS Auto Mode enabled cluster.
tags Mapping[str, str]
Key-value map of resource tags.
upgrade_policies Sequence[GetClusterUpgradePolicy]
Configuration block for the support policy to use for the cluster.
version str
Kubernetes server version for the cluster.
vpc_config GetClusterVpcConfig
Nested list containing VPC configuration for the cluster.
zonal_shift_configs Sequence[GetClusterZonalShiftConfig]
Contains Zonal Shift Configuration.
accessConfigs List<Property Map>
Configuration block for access config.
arn String
ARN of the cluster.
certificateAuthorities List<Property Map>
Nested attribute containing certificate-authority-data for your cluster.
clusterId String
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.
computeConfigs List<Property Map>
Nested attribute containing compute capability configuration for EKS Auto Mode enabled cluster.
createdAt String
Unix epoch time stamp in seconds for when the cluster was created.
enabledClusterLogTypes List<String>
The enabled control plane logs.
endpoint String
Endpoint for your Kubernetes API server.
id String
The provider-assigned unique ID for this managed resource.
identities List<Property Map>
Nested attribute 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. For an example using this information to enable IAM Roles for Service Accounts, see the aws.eks.Cluster resource documentation.
kubernetesNetworkConfigs List<Property Map>
Nested list containing Kubernetes Network Configuration.
name String
outpostConfigs List<Property Map>
Contains Outpost Configuration.
platformVersion String
Platform version for the cluster.
remoteNetworkConfigs List<Property Map>
Contains remote network configuration for EKS Hybrid Nodes.
roleArn String
ARN of the IAM role that provides permissions for the Kubernetes control plane to make calls to AWS API operations on your behalf.
status String
Status of the EKS cluster. One of CREATING, ACTIVE, DELETING, FAILED.
storageConfigs List<Property Map>
Contains storage configuration for EKS Auto Mode enabled cluster.
tags Map<String>
Key-value map of resource tags.
upgradePolicies List<Property Map>
Configuration block for the support policy to use for the cluster.
version String
Kubernetes server version for the cluster.
vpcConfig Property Map
Nested list containing VPC configuration for the cluster.
zonalShiftConfigs List<Property Map>
Contains Zonal Shift Configuration.

Supporting Types

GetClusterAccessConfig

AuthenticationMode This property is required. string
Values returned are CONFIG_MAP, API or API_AND_CONFIG_MAP
BootstrapClusterCreatorAdminPermissions This property is required. bool
Default to true.
AuthenticationMode This property is required. string
Values returned are CONFIG_MAP, API or API_AND_CONFIG_MAP
BootstrapClusterCreatorAdminPermissions This property is required. bool
Default to true.
authenticationMode This property is required. String
Values returned are CONFIG_MAP, API or API_AND_CONFIG_MAP
bootstrapClusterCreatorAdminPermissions This property is required. Boolean
Default to true.
authenticationMode This property is required. string
Values returned are CONFIG_MAP, API or API_AND_CONFIG_MAP
bootstrapClusterCreatorAdminPermissions This property is required. boolean
Default to true.
authentication_mode This property is required. str
Values returned are CONFIG_MAP, API or API_AND_CONFIG_MAP
bootstrap_cluster_creator_admin_permissions This property is required. bool
Default to true.
authenticationMode This property is required. String
Values returned are CONFIG_MAP, API or API_AND_CONFIG_MAP
bootstrapClusterCreatorAdminPermissions This property is required. Boolean
Default to true.

GetClusterCertificateAuthority

Data This property is required. string
The base64 encoded certificate data required to communicate with your cluster. Add this to the certificate-authority-data section of the kubeconfig file for your cluster.
Data This property is required. string
The base64 encoded certificate data required to communicate with your cluster. Add this to the certificate-authority-data section of the kubeconfig file for your cluster.
data This property is required. String
The base64 encoded certificate data required to communicate with your cluster. Add this to the certificate-authority-data section of the kubeconfig file for your cluster.
data This property is required. string
The base64 encoded certificate data required to communicate with your cluster. Add this to the certificate-authority-data section of the kubeconfig file for your cluster.
data This property is required. str
The base64 encoded certificate data required to communicate with your cluster. Add this to the certificate-authority-data section of the kubeconfig file for your cluster.
data This property is required. String
The base64 encoded certificate data required to communicate with your cluster. Add this to the certificate-authority-data section of the kubeconfig file for your cluster.

GetClusterComputeConfig

Enabled This property is required. bool
Whether zonal shift is enabled.
NodePools This property is required. List<string>
List of node pools for the EKS Auto Mode compute capability.
NodeRoleArn This property is required. string
The ARN of the IAM Role EKS will assign to EC2 Managed Instances in your EKS Auto Mode cluster.
Enabled This property is required. bool
Whether zonal shift is enabled.
NodePools This property is required. []string
List of node pools for the EKS Auto Mode compute capability.
NodeRoleArn This property is required. string
The ARN of the IAM Role EKS will assign to EC2 Managed Instances in your EKS Auto Mode cluster.
enabled This property is required. Boolean
Whether zonal shift is enabled.
nodePools This property is required. List<String>
List of node pools for the EKS Auto Mode compute capability.
nodeRoleArn This property is required. String
The ARN of the IAM Role EKS will assign to EC2 Managed Instances in your EKS Auto Mode cluster.
enabled This property is required. boolean
Whether zonal shift is enabled.
nodePools This property is required. string[]
List of node pools for the EKS Auto Mode compute capability.
nodeRoleArn This property is required. string
The ARN of the IAM Role EKS will assign to EC2 Managed Instances in your EKS Auto Mode cluster.
enabled This property is required. bool
Whether zonal shift is enabled.
node_pools This property is required. Sequence[str]
List of node pools for the EKS Auto Mode compute capability.
node_role_arn This property is required. str
The ARN of the IAM Role EKS will assign to EC2 Managed Instances in your EKS Auto Mode cluster.
enabled This property is required. Boolean
Whether zonal shift is enabled.
nodePools This property is required. List<String>
List of node pools for the EKS Auto Mode compute capability.
nodeRoleArn This property is required. String
The ARN of the IAM Role EKS will assign to EC2 Managed Instances in your EKS Auto Mode cluster.

GetClusterIdentity

Oidcs This property is required. List<GetClusterIdentityOidc>
Nested attribute containing OpenID Connect identity provider information for the cluster.
Oidcs This property is required. []GetClusterIdentityOidc
Nested attribute containing OpenID Connect identity provider information for the cluster.
oidcs This property is required. List<GetClusterIdentityOidc>
Nested attribute containing OpenID Connect identity provider information for the cluster.
oidcs This property is required. GetClusterIdentityOidc[]
Nested attribute containing OpenID Connect identity provider information for the cluster.
oidcs This property is required. Sequence[GetClusterIdentityOidc]
Nested attribute containing OpenID Connect identity provider information for the cluster.
oidcs This property is required. List<Property Map>
Nested attribute containing OpenID Connect identity provider information for the cluster.

GetClusterIdentityOidc

Issuer This property is required. string
Issuer URL for the OpenID Connect identity provider.
Issuer This property is required. string
Issuer URL for the OpenID Connect identity provider.
issuer This property is required. String
Issuer URL for the OpenID Connect identity provider.
issuer This property is required. string
Issuer URL for the OpenID Connect identity provider.
issuer This property is required. str
Issuer URL for the OpenID Connect identity provider.
issuer This property is required. String
Issuer URL for the OpenID Connect identity provider.

GetClusterKubernetesNetworkConfig

ElasticLoadBalancings This property is required. List<GetClusterKubernetesNetworkConfigElasticLoadBalancing>
Contains Elastic Load Balancing configuration for EKS Auto Mode enabled cluster.
IpFamily This property is required. string
ipv4 or ipv6.
ServiceIpv4Cidr This property is required. string
The CIDR block to assign Kubernetes pod and service IP addresses from if ipv4 was specified when the cluster was created.
ServiceIpv6Cidr This property is required. string
The CIDR block to assign Kubernetes pod and service IP addresses from if ipv6 was specified when the cluster was created. Kubernetes assigns service addresses from the unique local address range (fc00::/7) because you can't specify a custom IPv6 CIDR block when you create the cluster.
ElasticLoadBalancings This property is required. []GetClusterKubernetesNetworkConfigElasticLoadBalancing
Contains Elastic Load Balancing configuration for EKS Auto Mode enabled cluster.
IpFamily This property is required. string
ipv4 or ipv6.
ServiceIpv4Cidr This property is required. string
The CIDR block to assign Kubernetes pod and service IP addresses from if ipv4 was specified when the cluster was created.
ServiceIpv6Cidr This property is required. string
The CIDR block to assign Kubernetes pod and service IP addresses from if ipv6 was specified when the cluster was created. Kubernetes assigns service addresses from the unique local address range (fc00::/7) because you can't specify a custom IPv6 CIDR block when you create the cluster.
elasticLoadBalancings This property is required. List<GetClusterKubernetesNetworkConfigElasticLoadBalancing>
Contains Elastic Load Balancing configuration for EKS Auto Mode enabled cluster.
ipFamily This property is required. String
ipv4 or ipv6.
serviceIpv4Cidr This property is required. String
The CIDR block to assign Kubernetes pod and service IP addresses from if ipv4 was specified when the cluster was created.
serviceIpv6Cidr This property is required. String
The CIDR block to assign Kubernetes pod and service IP addresses from if ipv6 was specified when the cluster was created. Kubernetes assigns service addresses from the unique local address range (fc00::/7) because you can't specify a custom IPv6 CIDR block when you create the cluster.
elasticLoadBalancings This property is required. GetClusterKubernetesNetworkConfigElasticLoadBalancing[]
Contains Elastic Load Balancing configuration for EKS Auto Mode enabled cluster.
ipFamily This property is required. string
ipv4 or ipv6.
serviceIpv4Cidr This property is required. string
The CIDR block to assign Kubernetes pod and service IP addresses from if ipv4 was specified when the cluster was created.
serviceIpv6Cidr This property is required. string
The CIDR block to assign Kubernetes pod and service IP addresses from if ipv6 was specified when the cluster was created. Kubernetes assigns service addresses from the unique local address range (fc00::/7) because you can't specify a custom IPv6 CIDR block when you create the cluster.
elastic_load_balancings This property is required. Sequence[GetClusterKubernetesNetworkConfigElasticLoadBalancing]
Contains Elastic Load Balancing configuration for EKS Auto Mode enabled cluster.
ip_family This property is required. str
ipv4 or ipv6.
service_ipv4_cidr This property is required. str
The CIDR block to assign Kubernetes pod and service IP addresses from if ipv4 was specified when the cluster was created.
service_ipv6_cidr This property is required. str
The CIDR block to assign Kubernetes pod and service IP addresses from if ipv6 was specified when the cluster was created. Kubernetes assigns service addresses from the unique local address range (fc00::/7) because you can't specify a custom IPv6 CIDR block when you create the cluster.
elasticLoadBalancings This property is required. List<Property Map>
Contains Elastic Load Balancing configuration for EKS Auto Mode enabled cluster.
ipFamily This property is required. String
ipv4 or ipv6.
serviceIpv4Cidr This property is required. String
The CIDR block to assign Kubernetes pod and service IP addresses from if ipv4 was specified when the cluster was created.
serviceIpv6Cidr This property is required. String
The CIDR block to assign Kubernetes pod and service IP addresses from if ipv6 was specified when the cluster was created. Kubernetes assigns service addresses from the unique local address range (fc00::/7) because you can't specify a custom IPv6 CIDR block when you create the cluster.

GetClusterKubernetesNetworkConfigElasticLoadBalancing

Enabled This property is required. bool
Whether zonal shift is enabled.
Enabled This property is required. bool
Whether zonal shift is enabled.
enabled This property is required. Boolean
Whether zonal shift is enabled.
enabled This property is required. boolean
Whether zonal shift is enabled.
enabled This property is required. bool
Whether zonal shift is enabled.
enabled This property is required. Boolean
Whether zonal shift is enabled.

GetClusterOutpostConfig

ControlPlaneInstanceType This property is required. string
The Amazon EC2 instance type for all Kubernetes control plane instances.
ControlPlanePlacements This property is required. List<GetClusterOutpostConfigControlPlanePlacement>
An object representing the placement configuration for all the control plane instances of your local Amazon EKS cluster on AWS Outpost.
OutpostArns This property is required. List<string>
List of ARNs of the Outposts hosting the EKS cluster. Only a single ARN is supported currently.
ControlPlaneInstanceType This property is required. string
The Amazon EC2 instance type for all Kubernetes control plane instances.
ControlPlanePlacements This property is required. []GetClusterOutpostConfigControlPlanePlacement
An object representing the placement configuration for all the control plane instances of your local Amazon EKS cluster on AWS Outpost.
OutpostArns This property is required. []string
List of ARNs of the Outposts hosting the EKS cluster. Only a single ARN is supported currently.
controlPlaneInstanceType This property is required. String
The Amazon EC2 instance type for all Kubernetes control plane instances.
controlPlanePlacements This property is required. List<GetClusterOutpostConfigControlPlanePlacement>
An object representing the placement configuration for all the control plane instances of your local Amazon EKS cluster on AWS Outpost.
outpostArns This property is required. List<String>
List of ARNs of the Outposts hosting the EKS cluster. Only a single ARN is supported currently.
controlPlaneInstanceType This property is required. string
The Amazon EC2 instance type for all Kubernetes control plane instances.
controlPlanePlacements This property is required. GetClusterOutpostConfigControlPlanePlacement[]
An object representing the placement configuration for all the control plane instances of your local Amazon EKS cluster on AWS Outpost.
outpostArns This property is required. string[]
List of ARNs of the Outposts hosting the EKS cluster. Only a single ARN is supported currently.
control_plane_instance_type This property is required. str
The Amazon EC2 instance type for all Kubernetes control plane instances.
control_plane_placements This property is required. Sequence[GetClusterOutpostConfigControlPlanePlacement]
An object representing the placement configuration for all the control plane instances of your local Amazon EKS cluster on AWS Outpost.
outpost_arns This property is required. Sequence[str]
List of ARNs of the Outposts hosting the EKS cluster. Only a single ARN is supported currently.
controlPlaneInstanceType This property is required. String
The Amazon EC2 instance type for all Kubernetes control plane instances.
controlPlanePlacements This property is required. List<Property Map>
An object representing the placement configuration for all the control plane instances of your local Amazon EKS cluster on AWS Outpost.
outpostArns This property is required. List<String>
List of ARNs of the Outposts hosting the EKS cluster. Only a single ARN is supported currently.

GetClusterOutpostConfigControlPlanePlacement

GroupName This property is required. string
The name of the placement group for the Kubernetes control plane instances.
GroupName This property is required. string
The name of the placement group for the Kubernetes control plane instances.
groupName This property is required. String
The name of the placement group for the Kubernetes control plane instances.
groupName This property is required. string
The name of the placement group for the Kubernetes control plane instances.
group_name This property is required. str
The name of the placement group for the Kubernetes control plane instances.
groupName This property is required. String
The name of the placement group for the Kubernetes control plane instances.

GetClusterRemoteNetworkConfig

RemoteNodeNetworks This property is required. List<GetClusterRemoteNetworkConfigRemoteNodeNetwork>
The networks that can contain hybrid nodes.
RemotePodNetworks This property is required. List<GetClusterRemoteNetworkConfigRemotePodNetwork>
The networks that can contain pods that run Kubernetes webhooks on hybrid nodes.
RemoteNodeNetworks This property is required. []GetClusterRemoteNetworkConfigRemoteNodeNetwork
The networks that can contain hybrid nodes.
RemotePodNetworks This property is required. []GetClusterRemoteNetworkConfigRemotePodNetwork
The networks that can contain pods that run Kubernetes webhooks on hybrid nodes.
remoteNodeNetworks This property is required. List<GetClusterRemoteNetworkConfigRemoteNodeNetwork>
The networks that can contain hybrid nodes.
remotePodNetworks This property is required. List<GetClusterRemoteNetworkConfigRemotePodNetwork>
The networks that can contain pods that run Kubernetes webhooks on hybrid nodes.
remoteNodeNetworks This property is required. GetClusterRemoteNetworkConfigRemoteNodeNetwork[]
The networks that can contain hybrid nodes.
remotePodNetworks This property is required. GetClusterRemoteNetworkConfigRemotePodNetwork[]
The networks that can contain pods that run Kubernetes webhooks on hybrid nodes.
remote_node_networks This property is required. Sequence[GetClusterRemoteNetworkConfigRemoteNodeNetwork]
The networks that can contain hybrid nodes.
remote_pod_networks This property is required. Sequence[GetClusterRemoteNetworkConfigRemotePodNetwork]
The networks that can contain pods that run Kubernetes webhooks on hybrid nodes.
remoteNodeNetworks This property is required. List<Property Map>
The networks that can contain hybrid nodes.
remotePodNetworks This property is required. List<Property Map>
The networks that can contain pods that run Kubernetes webhooks on hybrid nodes.

GetClusterRemoteNetworkConfigRemoteNodeNetwork

Cidrs This property is required. List<string>
List of network CIDRs that can contain pods that run Kubernetes webhooks on hybrid nodes.
Cidrs This property is required. []string
List of network CIDRs that can contain pods that run Kubernetes webhooks on hybrid nodes.
cidrs This property is required. List<String>
List of network CIDRs that can contain pods that run Kubernetes webhooks on hybrid nodes.
cidrs This property is required. string[]
List of network CIDRs that can contain pods that run Kubernetes webhooks on hybrid nodes.
cidrs This property is required. Sequence[str]
List of network CIDRs that can contain pods that run Kubernetes webhooks on hybrid nodes.
cidrs This property is required. List<String>
List of network CIDRs that can contain pods that run Kubernetes webhooks on hybrid nodes.

GetClusterRemoteNetworkConfigRemotePodNetwork

Cidrs This property is required. List<string>
List of network CIDRs that can contain pods that run Kubernetes webhooks on hybrid nodes.
Cidrs This property is required. []string
List of network CIDRs that can contain pods that run Kubernetes webhooks on hybrid nodes.
cidrs This property is required. List<String>
List of network CIDRs that can contain pods that run Kubernetes webhooks on hybrid nodes.
cidrs This property is required. string[]
List of network CIDRs that can contain pods that run Kubernetes webhooks on hybrid nodes.
cidrs This property is required. Sequence[str]
List of network CIDRs that can contain pods that run Kubernetes webhooks on hybrid nodes.
cidrs This property is required. List<String>
List of network CIDRs that can contain pods that run Kubernetes webhooks on hybrid nodes.

GetClusterStorageConfig

BlockStorages This property is required. List<GetClusterStorageConfigBlockStorage>
Contains block storage configuration for EKS Auto Mode enabled cluster.
BlockStorages This property is required. []GetClusterStorageConfigBlockStorage
Contains block storage configuration for EKS Auto Mode enabled cluster.
blockStorages This property is required. List<GetClusterStorageConfigBlockStorage>
Contains block storage configuration for EKS Auto Mode enabled cluster.
blockStorages This property is required. GetClusterStorageConfigBlockStorage[]
Contains block storage configuration for EKS Auto Mode enabled cluster.
block_storages This property is required. Sequence[GetClusterStorageConfigBlockStorage]
Contains block storage configuration for EKS Auto Mode enabled cluster.
blockStorages This property is required. List<Property Map>
Contains block storage configuration for EKS Auto Mode enabled cluster.

GetClusterStorageConfigBlockStorage

Enabled This property is required. bool
Whether zonal shift is enabled.
Enabled This property is required. bool
Whether zonal shift is enabled.
enabled This property is required. Boolean
Whether zonal shift is enabled.
enabled This property is required. boolean
Whether zonal shift is enabled.
enabled This property is required. bool
Whether zonal shift is enabled.
enabled This property is required. Boolean
Whether zonal shift is enabled.

GetClusterUpgradePolicy

SupportType This property is required. string
Support type to use for the cluster.
SupportType This property is required. string
Support type to use for the cluster.
supportType This property is required. String
Support type to use for the cluster.
supportType This property is required. string
Support type to use for the cluster.
support_type This property is required. str
Support type to use for the cluster.
supportType This property is required. String
Support type to use for the cluster.

GetClusterVpcConfig

ClusterSecurityGroupId This property is required. string
The cluster security group that was created by Amazon EKS for the cluster.
EndpointPrivateAccess This property is required. bool
Indicates whether or not the Amazon EKS private API server endpoint is enabled.
EndpointPublicAccess This property is required. bool
Indicates whether or not the Amazon EKS public API server endpoint is enabled.
PublicAccessCidrs This property is required. List<string>
List of CIDR blocks. Indicates which CIDR blocks can access the Amazon EKS public API server endpoint.
SecurityGroupIds This property is required. List<string>
List of security group IDs
SubnetIds This property is required. List<string>
List of subnet IDs
VpcId This property is required. string
The VPC associated with your cluster.
ClusterSecurityGroupId This property is required. string
The cluster security group that was created by Amazon EKS for the cluster.
EndpointPrivateAccess This property is required. bool
Indicates whether or not the Amazon EKS private API server endpoint is enabled.
EndpointPublicAccess This property is required. bool
Indicates whether or not the Amazon EKS public API server endpoint is enabled.
PublicAccessCidrs This property is required. []string
List of CIDR blocks. Indicates which CIDR blocks can access the Amazon EKS public API server endpoint.
SecurityGroupIds This property is required. []string
List of security group IDs
SubnetIds This property is required. []string
List of subnet IDs
VpcId This property is required. string
The VPC associated with your cluster.
clusterSecurityGroupId This property is required. String
The cluster security group that was created by Amazon EKS for the cluster.
endpointPrivateAccess This property is required. Boolean
Indicates whether or not the Amazon EKS private API server endpoint is enabled.
endpointPublicAccess This property is required. Boolean
Indicates whether or not the Amazon EKS public API server endpoint is enabled.
publicAccessCidrs This property is required. List<String>
List of CIDR blocks. Indicates which CIDR blocks can access the Amazon EKS public API server endpoint.
securityGroupIds This property is required. List<String>
List of security group IDs
subnetIds This property is required. List<String>
List of subnet IDs
vpcId This property is required. String
The VPC associated with your cluster.
clusterSecurityGroupId This property is required. string
The cluster security group that was created by Amazon EKS for the cluster.
endpointPrivateAccess This property is required. boolean
Indicates whether or not the Amazon EKS private API server endpoint is enabled.
endpointPublicAccess This property is required. boolean
Indicates whether or not the Amazon EKS public API server endpoint is enabled.
publicAccessCidrs This property is required. string[]
List of CIDR blocks. Indicates which CIDR blocks can access the Amazon EKS public API server endpoint.
securityGroupIds This property is required. string[]
List of security group IDs
subnetIds This property is required. string[]
List of subnet IDs
vpcId This property is required. string
The VPC associated with your cluster.
cluster_security_group_id This property is required. str
The cluster security group that was created by Amazon EKS for the cluster.
endpoint_private_access This property is required. bool
Indicates whether or not the Amazon EKS private API server endpoint is enabled.
endpoint_public_access This property is required. bool
Indicates whether or not the Amazon EKS public API server endpoint is enabled.
public_access_cidrs This property is required. Sequence[str]
List of CIDR blocks. Indicates which CIDR blocks can access the Amazon EKS public API server endpoint.
security_group_ids This property is required. Sequence[str]
List of security group IDs
subnet_ids This property is required. Sequence[str]
List of subnet IDs
vpc_id This property is required. str
The VPC associated with your cluster.
clusterSecurityGroupId This property is required. String
The cluster security group that was created by Amazon EKS for the cluster.
endpointPrivateAccess This property is required. Boolean
Indicates whether or not the Amazon EKS private API server endpoint is enabled.
endpointPublicAccess This property is required. Boolean
Indicates whether or not the Amazon EKS public API server endpoint is enabled.
publicAccessCidrs This property is required. List<String>
List of CIDR blocks. Indicates which CIDR blocks can access the Amazon EKS public API server endpoint.
securityGroupIds This property is required. List<String>
List of security group IDs
subnetIds This property is required. List<String>
List of subnet IDs
vpcId This property is required. String
The VPC associated with your cluster.

GetClusterZonalShiftConfig

Enabled This property is required. bool
Whether zonal shift is enabled.
Enabled This property is required. bool
Whether zonal shift is enabled.
enabled This property is required. Boolean
Whether zonal shift is enabled.
enabled This property is required. boolean
Whether zonal shift is enabled.
enabled This property is required. bool
Whether zonal shift is enabled.
enabled This property is required. Boolean
Whether zonal shift is enabled.

Package Details

Repository
AWS Classic pulumi/pulumi-aws
License
Apache-2.0
Notes
This Pulumi package is based on the aws Terraform Provider.
AWS v6.76.0 published on Tuesday, Apr 8, 2025 by Pulumi