tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack
tencentcloud.EksCluster
Explore with Pulumi AI
tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack
Create EksCluster Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new EksCluster(name: string, args: EksClusterArgs, opts?: CustomResourceOptions);
@overload
def EksCluster(resource_name: str,
args: EksClusterArgs,
opts: Optional[ResourceOptions] = None)
@overload
def EksCluster(resource_name: str,
opts: Optional[ResourceOptions] = None,
k8s_version: Optional[str] = None,
cluster_name: Optional[str] = None,
vpc_id: Optional[str] = None,
subnet_ids: Optional[Sequence[str]] = None,
internal_lb: Optional[EksClusterInternalLbArgs] = None,
extra_param: Optional[Mapping[str, str]] = None,
cluster_desc: Optional[str] = None,
enable_vpc_core_dns: Optional[bool] = None,
need_delete_cbs: Optional[bool] = None,
public_lb: Optional[EksClusterPublicLbArgs] = None,
service_subnet_id: Optional[str] = None,
eks_cluster_id: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None,
dns_servers: Optional[Sequence[EksClusterDnsServerArgs]] = None)
func NewEksCluster(ctx *Context, name string, args EksClusterArgs, opts ...ResourceOption) (*EksCluster, error)
public EksCluster(string name, EksClusterArgs args, CustomResourceOptions? opts = null)
public EksCluster(String name, EksClusterArgs args)
public EksCluster(String name, EksClusterArgs args, CustomResourceOptions options)
type: tencentcloud:EksCluster
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args EksClusterArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args EksClusterArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args EksClusterArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args EksClusterArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args EksClusterArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
EksCluster Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The EksCluster resource accepts the following input properties:
- Cluster
Name string - Name of EKS cluster.
- K8s
Version string - Kubernetes version of EKS cluster.
- Subnet
Ids List<string> - Subnet Ids for EKS cluster.
- Vpc
Id string - Vpc Id of EKS cluster.
- Cluster
Desc string - Description of EKS cluster.
- Dns
Servers List<EksCluster Dns Server> - List of cluster custom DNS Server info.
- Eks
Cluster stringId - Enable
Vpc boolCore Dns - Indicates whether to enable dns in user cluster, default value is
true
. - Extra
Param Dictionary<string, string> - Extend parameters.
- Internal
Lb EksCluster Internal Lb - Cluster internal access LoadBalancer info.
- Need
Delete boolCbs - Delete CBS after EKS cluster remove.
- Public
Lb EksCluster Public Lb - Cluster public access LoadBalancer info.
- Service
Subnet stringId - Subnet id of service.
- Dictionary<string, string>
- Tags of EKS cluster.
- Cluster
Name string - Name of EKS cluster.
- K8s
Version string - Kubernetes version of EKS cluster.
- Subnet
Ids []string - Subnet Ids for EKS cluster.
- Vpc
Id string - Vpc Id of EKS cluster.
- Cluster
Desc string - Description of EKS cluster.
- Dns
Servers []EksCluster Dns Server Args - List of cluster custom DNS Server info.
- Eks
Cluster stringId - Enable
Vpc boolCore Dns - Indicates whether to enable dns in user cluster, default value is
true
. - Extra
Param map[string]string - Extend parameters.
- Internal
Lb EksCluster Internal Lb Args - Cluster internal access LoadBalancer info.
- Need
Delete boolCbs - Delete CBS after EKS cluster remove.
- Public
Lb EksCluster Public Lb Args - Cluster public access LoadBalancer info.
- Service
Subnet stringId - Subnet id of service.
- map[string]string
- Tags of EKS cluster.
- cluster
Name String - Name of EKS cluster.
- k8s
Version String - Kubernetes version of EKS cluster.
- subnet
Ids List<String> - Subnet Ids for EKS cluster.
- vpc
Id String - Vpc Id of EKS cluster.
- cluster
Desc String - Description of EKS cluster.
- dns
Servers List<EksCluster Dns Server> - List of cluster custom DNS Server info.
- eks
Cluster StringId - enable
Vpc BooleanCore Dns - Indicates whether to enable dns in user cluster, default value is
true
. - extra
Param Map<String,String> - Extend parameters.
- internal
Lb EksCluster Internal Lb - Cluster internal access LoadBalancer info.
- need
Delete BooleanCbs - Delete CBS after EKS cluster remove.
- public
Lb EksCluster Public Lb - Cluster public access LoadBalancer info.
- service
Subnet StringId - Subnet id of service.
- Map<String,String>
- Tags of EKS cluster.
- cluster
Name string - Name of EKS cluster.
- k8s
Version string - Kubernetes version of EKS cluster.
- subnet
Ids string[] - Subnet Ids for EKS cluster.
- vpc
Id string - Vpc Id of EKS cluster.
- cluster
Desc string - Description of EKS cluster.
- dns
Servers EksCluster Dns Server[] - List of cluster custom DNS Server info.
- eks
Cluster stringId - enable
Vpc booleanCore Dns - Indicates whether to enable dns in user cluster, default value is
true
. - extra
Param {[key: string]: string} - Extend parameters.
- internal
Lb EksCluster Internal Lb - Cluster internal access LoadBalancer info.
- need
Delete booleanCbs - Delete CBS after EKS cluster remove.
- public
Lb EksCluster Public Lb - Cluster public access LoadBalancer info.
- service
Subnet stringId - Subnet id of service.
- {[key: string]: string}
- Tags of EKS cluster.
- cluster_
name str - Name of EKS cluster.
- k8s_
version str - Kubernetes version of EKS cluster.
- subnet_
ids Sequence[str] - Subnet Ids for EKS cluster.
- vpc_
id str - Vpc Id of EKS cluster.
- cluster_
desc str - Description of EKS cluster.
- dns_
servers Sequence[EksCluster Dns Server Args] - List of cluster custom DNS Server info.
- eks_
cluster_ strid - enable_
vpc_ boolcore_ dns - Indicates whether to enable dns in user cluster, default value is
true
. - extra_
param Mapping[str, str] - Extend parameters.
- internal_
lb EksCluster Internal Lb Args - Cluster internal access LoadBalancer info.
- need_
delete_ boolcbs - Delete CBS after EKS cluster remove.
- public_
lb EksCluster Public Lb Args - Cluster public access LoadBalancer info.
- service_
subnet_ strid - Subnet id of service.
- Mapping[str, str]
- Tags of EKS cluster.
- cluster
Name String - Name of EKS cluster.
- k8s
Version String - Kubernetes version of EKS cluster.
- subnet
Ids List<String> - Subnet Ids for EKS cluster.
- vpc
Id String - Vpc Id of EKS cluster.
- cluster
Desc String - Description of EKS cluster.
- dns
Servers List<Property Map> - List of cluster custom DNS Server info.
- eks
Cluster StringId - enable
Vpc BooleanCore Dns - Indicates whether to enable dns in user cluster, default value is
true
. - extra
Param Map<String> - Extend parameters.
- internal
Lb Property Map - Cluster internal access LoadBalancer info.
- need
Delete BooleanCbs - Delete CBS after EKS cluster remove.
- public
Lb Property Map - Cluster public access LoadBalancer info.
- service
Subnet StringId - Subnet id of service.
- Map<String>
- Tags of EKS cluster.
Outputs
All input properties are implicitly available as output properties. Additionally, the EksCluster resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Kube
Config string - EKS cluster kubeconfig.
- Id string
- The provider-assigned unique ID for this managed resource.
- Kube
Config string - EKS cluster kubeconfig.
- id String
- The provider-assigned unique ID for this managed resource.
- kube
Config String - EKS cluster kubeconfig.
- id string
- The provider-assigned unique ID for this managed resource.
- kube
Config string - EKS cluster kubeconfig.
- id str
- The provider-assigned unique ID for this managed resource.
- kube_
config str - EKS cluster kubeconfig.
- id String
- The provider-assigned unique ID for this managed resource.
- kube
Config String - EKS cluster kubeconfig.
Look up Existing EksCluster Resource
Get an existing EksCluster resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: EksClusterState, opts?: CustomResourceOptions): EksCluster
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
cluster_desc: Optional[str] = None,
cluster_name: Optional[str] = None,
dns_servers: Optional[Sequence[EksClusterDnsServerArgs]] = None,
eks_cluster_id: Optional[str] = None,
enable_vpc_core_dns: Optional[bool] = None,
extra_param: Optional[Mapping[str, str]] = None,
internal_lb: Optional[EksClusterInternalLbArgs] = None,
k8s_version: Optional[str] = None,
kube_config: Optional[str] = None,
need_delete_cbs: Optional[bool] = None,
public_lb: Optional[EksClusterPublicLbArgs] = None,
service_subnet_id: Optional[str] = None,
subnet_ids: Optional[Sequence[str]] = None,
tags: Optional[Mapping[str, str]] = None,
vpc_id: Optional[str] = None) -> EksCluster
func GetEksCluster(ctx *Context, name string, id IDInput, state *EksClusterState, opts ...ResourceOption) (*EksCluster, error)
public static EksCluster Get(string name, Input<string> id, EksClusterState? state, CustomResourceOptions? opts = null)
public static EksCluster get(String name, Output<String> id, EksClusterState state, CustomResourceOptions options)
resources: _: type: tencentcloud:EksCluster get: id: ${id}
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Cluster
Desc string - Description of EKS cluster.
- Cluster
Name string - Name of EKS cluster.
- Dns
Servers List<EksCluster Dns Server> - List of cluster custom DNS Server info.
- Eks
Cluster stringId - Enable
Vpc boolCore Dns - Indicates whether to enable dns in user cluster, default value is
true
. - Extra
Param Dictionary<string, string> - Extend parameters.
- Internal
Lb EksCluster Internal Lb - Cluster internal access LoadBalancer info.
- K8s
Version string - Kubernetes version of EKS cluster.
- Kube
Config string - EKS cluster kubeconfig.
- Need
Delete boolCbs - Delete CBS after EKS cluster remove.
- Public
Lb EksCluster Public Lb - Cluster public access LoadBalancer info.
- Service
Subnet stringId - Subnet id of service.
- Subnet
Ids List<string> - Subnet Ids for EKS cluster.
- Dictionary<string, string>
- Tags of EKS cluster.
- Vpc
Id string - Vpc Id of EKS cluster.
- Cluster
Desc string - Description of EKS cluster.
- Cluster
Name string - Name of EKS cluster.
- Dns
Servers []EksCluster Dns Server Args - List of cluster custom DNS Server info.
- Eks
Cluster stringId - Enable
Vpc boolCore Dns - Indicates whether to enable dns in user cluster, default value is
true
. - Extra
Param map[string]string - Extend parameters.
- Internal
Lb EksCluster Internal Lb Args - Cluster internal access LoadBalancer info.
- K8s
Version string - Kubernetes version of EKS cluster.
- Kube
Config string - EKS cluster kubeconfig.
- Need
Delete boolCbs - Delete CBS after EKS cluster remove.
- Public
Lb EksCluster Public Lb Args - Cluster public access LoadBalancer info.
- Service
Subnet stringId - Subnet id of service.
- Subnet
Ids []string - Subnet Ids for EKS cluster.
- map[string]string
- Tags of EKS cluster.
- Vpc
Id string - Vpc Id of EKS cluster.
- cluster
Desc String - Description of EKS cluster.
- cluster
Name String - Name of EKS cluster.
- dns
Servers List<EksCluster Dns Server> - List of cluster custom DNS Server info.
- eks
Cluster StringId - enable
Vpc BooleanCore Dns - Indicates whether to enable dns in user cluster, default value is
true
. - extra
Param Map<String,String> - Extend parameters.
- internal
Lb EksCluster Internal Lb - Cluster internal access LoadBalancer info.
- k8s
Version String - Kubernetes version of EKS cluster.
- kube
Config String - EKS cluster kubeconfig.
- need
Delete BooleanCbs - Delete CBS after EKS cluster remove.
- public
Lb EksCluster Public Lb - Cluster public access LoadBalancer info.
- service
Subnet StringId - Subnet id of service.
- subnet
Ids List<String> - Subnet Ids for EKS cluster.
- Map<String,String>
- Tags of EKS cluster.
- vpc
Id String - Vpc Id of EKS cluster.
- cluster
Desc string - Description of EKS cluster.
- cluster
Name string - Name of EKS cluster.
- dns
Servers EksCluster Dns Server[] - List of cluster custom DNS Server info.
- eks
Cluster stringId - enable
Vpc booleanCore Dns - Indicates whether to enable dns in user cluster, default value is
true
. - extra
Param {[key: string]: string} - Extend parameters.
- internal
Lb EksCluster Internal Lb - Cluster internal access LoadBalancer info.
- k8s
Version string - Kubernetes version of EKS cluster.
- kube
Config string - EKS cluster kubeconfig.
- need
Delete booleanCbs - Delete CBS after EKS cluster remove.
- public
Lb EksCluster Public Lb - Cluster public access LoadBalancer info.
- service
Subnet stringId - Subnet id of service.
- subnet
Ids string[] - Subnet Ids for EKS cluster.
- {[key: string]: string}
- Tags of EKS cluster.
- vpc
Id string - Vpc Id of EKS cluster.
- cluster_
desc str - Description of EKS cluster.
- cluster_
name str - Name of EKS cluster.
- dns_
servers Sequence[EksCluster Dns Server Args] - List of cluster custom DNS Server info.
- eks_
cluster_ strid - enable_
vpc_ boolcore_ dns - Indicates whether to enable dns in user cluster, default value is
true
. - extra_
param Mapping[str, str] - Extend parameters.
- internal_
lb EksCluster Internal Lb Args - Cluster internal access LoadBalancer info.
- k8s_
version str - Kubernetes version of EKS cluster.
- kube_
config str - EKS cluster kubeconfig.
- need_
delete_ boolcbs - Delete CBS after EKS cluster remove.
- public_
lb EksCluster Public Lb Args - Cluster public access LoadBalancer info.
- service_
subnet_ strid - Subnet id of service.
- subnet_
ids Sequence[str] - Subnet Ids for EKS cluster.
- Mapping[str, str]
- Tags of EKS cluster.
- vpc_
id str - Vpc Id of EKS cluster.
- cluster
Desc String - Description of EKS cluster.
- cluster
Name String - Name of EKS cluster.
- dns
Servers List<Property Map> - List of cluster custom DNS Server info.
- eks
Cluster StringId - enable
Vpc BooleanCore Dns - Indicates whether to enable dns in user cluster, default value is
true
. - extra
Param Map<String> - Extend parameters.
- internal
Lb Property Map - Cluster internal access LoadBalancer info.
- k8s
Version String - Kubernetes version of EKS cluster.
- kube
Config String - EKS cluster kubeconfig.
- need
Delete BooleanCbs - Delete CBS after EKS cluster remove.
- public
Lb Property Map - Cluster public access LoadBalancer info.
- service
Subnet StringId - Subnet id of service.
- subnet
Ids List<String> - Subnet Ids for EKS cluster.
- Map<String>
- Tags of EKS cluster.
- vpc
Id String - Vpc Id of EKS cluster.
Supporting Types
EksClusterDnsServer, EksClusterDnsServerArgs
EksClusterInternalLb, EksClusterInternalLbArgs
EksClusterPublicLb, EksClusterPublicLbArgs
- Enabled bool
- Indicates weather the public access LB enabled.
- Allow
From List<string>Cidrs - List of CIDRs which allowed to access.
- Extra
Param string - Extra param text json.
- Security
Group string - Security group.
- Security
Policies List<string> - List of security allow IP or CIDRs, default deny all.
- Enabled bool
- Indicates weather the public access LB enabled.
- Allow
From []stringCidrs - List of CIDRs which allowed to access.
- Extra
Param string - Extra param text json.
- Security
Group string - Security group.
- Security
Policies []string - List of security allow IP or CIDRs, default deny all.
- enabled Boolean
- Indicates weather the public access LB enabled.
- allow
From List<String>Cidrs - List of CIDRs which allowed to access.
- extra
Param String - Extra param text json.
- security
Group String - Security group.
- security
Policies List<String> - List of security allow IP or CIDRs, default deny all.
- enabled boolean
- Indicates weather the public access LB enabled.
- allow
From string[]Cidrs - List of CIDRs which allowed to access.
- extra
Param string - Extra param text json.
- security
Group string - Security group.
- security
Policies string[] - List of security allow IP or CIDRs, default deny all.
- enabled bool
- Indicates weather the public access LB enabled.
- allow_
from_ Sequence[str]cidrs - List of CIDRs which allowed to access.
- extra_
param str - Extra param text json.
- security_
group str - Security group.
- security_
policies Sequence[str] - List of security allow IP or CIDRs, default deny all.
- enabled Boolean
- Indicates weather the public access LB enabled.
- allow
From List<String>Cidrs - List of CIDRs which allowed to access.
- extra
Param String - Extra param text json.
- security
Group String - Security group.
- security
Policies List<String> - List of security allow IP or CIDRs, default deny all.
Package Details
- Repository
- tencentcloud tencentcloudstack/terraform-provider-tencentcloud
- License
- Notes
- This Pulumi package is based on the
tencentcloud
Terraform Provider.
tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack