@Generated(value="jsii-pacmak/1.14.1 (build 828de8a)", date="2020-11-24T22:28:23.727Z") @Stability(value=Experimental) public interface ICluster extends software.amazon.jsii.JsiiSerializable, IResource, IConnectable
| Modifier and Type | Interface and Description |
|---|---|
static interface |
ICluster.Jsii$Default
Internal default implementation for
ICluster. |
static class |
ICluster.Jsii$Proxy
A proxy class which represents a concrete javascript instance of this type.
|
| Modifier and Type | Method and Description |
|---|---|
KubernetesManifest |
addCdk8sChart(String id,
software.constructs.Construct chart)
(experimental) Defines a CDK8s chart in this cluster.
|
HelmChart |
addHelmChart(String id,
HelmChartOptions options)
(experimental) Defines a Helm chart in this cluster.
|
KubernetesManifest |
addManifest(String id,
Object... manifest)
(experimental) Defines a Kubernetes resource in this cluster.
|
ServiceAccount |
addServiceAccount(String id)
(experimental) Creates a new service account with corresponding IAM Role (IRSA).
|
ServiceAccount |
addServiceAccount(String id,
ServiceAccountOptions options)
(experimental) Creates a new service account with corresponding IAM Role (IRSA).
|
String |
getClusterArn()
(experimental) The unique ARN assigned to the service by AWS in the form of arn:aws:eks:.
|
String |
getClusterCertificateAuthorityData()
(experimental) The certificate-authority-data for your cluster.
|
String |
getClusterEncryptionConfigKeyArn()
(experimental) Amazon Resource Name (ARN) or alias of the customer master key (CMK).
|
String |
getClusterEndpoint()
(experimental) The API Server endpoint URL.
|
String |
getClusterName()
(experimental) The physical name of the Cluster.
|
String |
getClusterSecurityGroupId()
(experimental) The cluster security group that was created by Amazon EKS for the cluster.
|
default Map<String,String> |
getKubectlEnvironment()
(experimental) Custom environment variables when running `kubectl` against this cluster.
|
default ILayerVersion |
getKubectlLayer()
(experimental) An AWS Lambda layer that includes `kubectl`, `helm` and the `aws` CLI.
|
default List<ISubnet> |
getKubectlPrivateSubnets()
(experimental) Subnets to host the `kubectl` compute resources.
|
default IRole |
getKubectlRole()
(experimental) An IAM role that can perform kubectl operations against this cluster.
|
default ISecurityGroup |
getKubectlSecurityGroup()
(experimental) A security group to use for `kubectl` execution.
|
IOpenIdConnectProvider |
getOpenIdConnectProvider()
(experimental) The Open ID Connect Provider of the cluster used to configure Service Accounts.
|
IVpc |
getVpc()
(experimental) The VPC in which this Cluster was created.
|
getNodegetConnections@Stability(value=Experimental) @NotNull String getClusterArn()
@Stability(value=Experimental) @NotNull String getClusterCertificateAuthorityData()
@Stability(value=Experimental) @NotNull String getClusterEncryptionConfigKeyArn()
@Stability(value=Experimental) @NotNull String getClusterEndpoint()
@Stability(value=Experimental) @NotNull String getClusterName()
@Stability(value=Experimental) @NotNull String getClusterSecurityGroupId()
@Stability(value=Experimental) @NotNull IOpenIdConnectProvider getOpenIdConnectProvider()
@Stability(value=Experimental) @NotNull IVpc getVpc()
@Stability(value=Experimental) @Nullable default Map<String,String> getKubectlEnvironment()
Default: - no additional environment variables
@Stability(value=Experimental) @Nullable default ILayerVersion getKubectlLayer()
If not defined, a default layer will be used.
@Stability(value=Experimental) @Nullable default List<ISubnet> getKubectlPrivateSubnets()
Default: - If not specified, the k8s endpoint is expected to be accessible publicly.
@Stability(value=Experimental) @Nullable default IRole getKubectlRole()
The role should be mapped to the system:masters Kubernetes RBAC role.
@Stability(value=Experimental) @Nullable default ISecurityGroup getKubectlSecurityGroup()
Default: - If not specified, the k8s endpoint is expected to be accessible publicly.
@Stability(value=Experimental) @NotNull KubernetesManifest addCdk8sChart(@NotNull String id, @NotNull software.constructs.Construct chart)
id - logical id of this chart. This parameter is required.chart - the cdk8s chart. This parameter is required.@Stability(value=Experimental) @NotNull HelmChart addHelmChart(@NotNull String id, @NotNull HelmChartOptions options)
id - logical id of this chart. This parameter is required.options - options of this chart. This parameter is required.@Stability(value=Experimental) @NotNull KubernetesManifest addManifest(@NotNull String id, @NotNull Object... manifest)
The manifest will be applied/deleted using kubectl as needed.
id - logical id of this manifest. This parameter is required.manifest - a list of Kubernetes resource specifications. This parameter is required.@Stability(value=Experimental) @NotNull ServiceAccount addServiceAccount(@NotNull String id, @Nullable ServiceAccountOptions options)
id - logical id of service account. This parameter is required.options - service account options.@Stability(value=Experimental) @NotNull ServiceAccount addServiceAccount(@NotNull String id)
id - logical id of service account. This parameter is required.Copyright © 2020. All rights reserved.