@Generated(value="jsii-pacmak/1.24.0 (build b722f66)", date="2021-03-11T13:47:08.068Z") @Stability(value=Stable) public interface ClusterAttributes extends software.amazon.jsii.JsiiSerializable
| Modifier and Type | Interface and Description |
|---|---|
static class |
ClusterAttributes.Builder
A builder for
ClusterAttributes |
static class |
ClusterAttributes.Jsii$Proxy
An implementation for
ClusterAttributes |
| Modifier and Type | Method and Description |
|---|---|
static ClusterAttributes.Builder |
builder() |
default String |
getClusterCertificateAuthorityData()
The certificate-authority-data for your cluster.
|
default String |
getClusterEncryptionConfigKeyArn()
Amazon Resource Name (ARN) or alias of the customer master key (CMK).
|
default String |
getClusterEndpoint()
The API Server endpoint URL.
|
String |
getClusterName()
The physical name of the Cluster.
|
default String |
getClusterSecurityGroupId()
The cluster security group that was created by Amazon EKS for the cluster.
|
default Map<String,String> |
getKubectlEnvironment()
Environment variables to use when running `kubectl` against this cluster.
|
default ILayerVersion |
getKubectlLayer()
An AWS Lambda Layer which includes `kubectl`, Helm and the AWS CLI.
|
default Size |
getKubectlMemory()
Amount of memory to allocate to the provider's lambda function.
|
default List<String> |
getKubectlPrivateSubnetIds()
Subnets to host the `kubectl` compute resources.
|
default String |
getKubectlRoleArn()
An IAM role with cluster administrator and "system:masters" permissions.
|
default String |
getKubectlSecurityGroupId()
A security group to use for `kubectl` execution.
|
default IOpenIdConnectProvider |
getOpenIdConnectProvider()
An Open ID Connect provider for this cluster that can be used to configure service accounts.
|
default Boolean |
getPrune()
Indicates whether Kubernetes resources added through `addManifest()` can be automatically pruned.
|
default List<String> |
getSecurityGroupIds()
Additional security groups associated with this cluster.
|
default IVpc |
getVpc()
The VPC in which this Cluster was created.
|
@Stability(value=Stable) @NotNull String getClusterName()
@Stability(value=Stable) @Nullable default String getClusterCertificateAuthorityData()
Default: - if not specified `cluster.clusterCertificateAuthorityData` will throw an error
@Stability(value=Stable) @Nullable default String getClusterEncryptionConfigKeyArn()
Default: - if not specified `cluster.clusterEncryptionConfigKeyArn` will throw an error
@Stability(value=Stable) @Nullable default String getClusterEndpoint()
Default: - if not specified `cluster.clusterEndpoint` will throw an error.
@Stability(value=Stable) @Nullable default String getClusterSecurityGroupId()
Default: - if not specified `cluster.clusterSecurityGroupId` will throw an error
@Stability(value=Stable) @Nullable default Map<String,String> getKubectlEnvironment()
Default: - no additional variables
@Stability(value=Stable) @Nullable default ILayerVersion getKubectlLayer()
This layer is used by the kubectl handler to apply manifests and install helm charts.
The handler expects the layer to include the following executables:
helm/helm kubectl/kubectl awscli/aws
Default: - a layer bundled with this module.
@Stability(value=Stable) @Nullable default Size getKubectlMemory()
Default: Size.gibibytes(1)
@Stability(value=Stable) @Nullable default List<String> getKubectlPrivateSubnetIds()
If not specified, the k8s endpoint is expected to be accessible publicly.
Default: - k8s endpoint is expected to be accessible publicly
@Stability(value=Stable) @Nullable default String getKubectlRoleArn()
Default: - if not specified, it not be possible to issue `kubectl` commands against an imported cluster.
@Stability(value=Stable) @Nullable default String getKubectlSecurityGroupId()
If not specified, the k8s endpoint is expected to be accessible publicly.
Default: - k8s endpoint is expected to be accessible publicly
@Stability(value=Stable) @Nullable default IOpenIdConnectProvider getOpenIdConnectProvider()
You can either import an existing provider using iam.OpenIdConnectProvider.fromProviderArn,
or create a new provider using new eks.OpenIdConnectProvider
Default: - if not specified `cluster.openIdConnectProvider` and `cluster.addServiceAccount` will throw an error.
@Stability(value=Stable) @Nullable default Boolean getPrune()
When this is enabled (default), prune labels will be
allocated and injected to each resource. These labels will then be used
when issuing the kubectl apply operation with the --prune switch.
Default: true
@Stability(value=Stable) @Nullable default List<String> getSecurityGroupIds()
Default: - if not specified, no additional security groups will be considered in `cluster.connections`.
@Stability(value=Stable) @Nullable default IVpc getVpc()
Default: - if not specified `cluster.vpc` will throw an error
@Stability(value=Stable) static ClusterAttributes.Builder builder()
ClusterAttributes.Builder of ClusterAttributesCopyright © 2021. All rights reserved.