@Stability(value=Stable) @Internal public static final class ClusterAttributes.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements ClusterAttributes
ClusterAttributessoftware.amazon.jsii.JsiiObject.InitializationModeClusterAttributes.Builder, ClusterAttributes.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(ClusterAttributes.Builder builder)
Constructor that initializes the object based on literal property values passed by the
ClusterAttributes.Builder. |
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.
|
| Modifier and Type | Method and Description |
|---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(Object o) |
String |
getClusterCertificateAuthorityData()
The certificate-authority-data for your cluster.
|
String |
getClusterEncryptionConfigKeyArn()
Amazon Resource Name (ARN) or alias of the customer master key (CMK).
|
String |
getClusterEndpoint()
The API Server endpoint URL.
|
String |
getClusterHandlerSecurityGroupId()
A security group id to associate with the Cluster Handler's Lambdas.
|
String |
getClusterName()
The physical name of the Cluster.
|
String |
getClusterSecurityGroupId()
The cluster security group that was created by Amazon EKS for the cluster.
|
Map<String,String> |
getKubectlEnvironment()
Environment variables to use when running `kubectl` against this cluster.
|
IRole |
getKubectlLambdaRole()
An IAM role that can perform kubectl operations against this cluster.
|
ILayerVersion |
getKubectlLayer()
An AWS Lambda Layer which includes `kubectl`, Helm and the AWS CLI.
|
Size |
getKubectlMemory()
Amount of memory to allocate to the provider's lambda function.
|
List<String> |
getKubectlPrivateSubnetIds()
Subnets to host the `kubectl` compute resources.
|
IKubectlProvider |
getKubectlProvider()
KubectlProvider for issuing kubectl commands.
|
String |
getKubectlRoleArn()
An IAM role with cluster administrator and "system:masters" permissions.
|
String |
getKubectlSecurityGroupId()
A security group to use for `kubectl` execution.
|
ILayerVersion |
getOnEventLayer()
An AWS Lambda Layer which includes the NPM dependency `proxy-agent`.
|
IOpenIdConnectProvider |
getOpenIdConnectProvider()
An Open ID Connect provider for this cluster that can be used to configure service accounts.
|
Boolean |
getPrune()
Indicates whether Kubernetes resources added through `addManifest()` can be automatically pruned.
|
List<String> |
getSecurityGroupIds()
Additional security groups associated with this cluster.
|
IVpc |
getVpc()
The VPC in which this Cluster was created.
|
int |
hashCode() |
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitbuilderprotected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef - Reference to the JSII managed object.protected Jsii$Proxy(ClusterAttributes.Builder builder)
ClusterAttributes.Builder.public final String getClusterName()
ClusterAttributesgetClusterName in interface ClusterAttributespublic final String getClusterCertificateAuthorityData()
ClusterAttributesDefault: - if not specified `cluster.clusterCertificateAuthorityData` will throw an error
getClusterCertificateAuthorityData in interface ClusterAttributespublic final String getClusterEncryptionConfigKeyArn()
ClusterAttributesDefault: - if not specified `cluster.clusterEncryptionConfigKeyArn` will throw an error
getClusterEncryptionConfigKeyArn in interface ClusterAttributespublic final String getClusterEndpoint()
ClusterAttributesDefault: - if not specified `cluster.clusterEndpoint` will throw an error.
getClusterEndpoint in interface ClusterAttributespublic final String getClusterHandlerSecurityGroupId()
ClusterAttributesThe Cluster Handler's Lambdas are responsible for calling AWS's EKS API.
Default: - No security group.
getClusterHandlerSecurityGroupId in interface ClusterAttributespublic final String getClusterSecurityGroupId()
ClusterAttributesDefault: - if not specified `cluster.clusterSecurityGroupId` will throw an error
getClusterSecurityGroupId in interface ClusterAttributespublic final Map<String,String> getKubectlEnvironment()
ClusterAttributesDefault: - no additional variables
getKubectlEnvironment in interface ClusterAttributespublic final IRole getKubectlLambdaRole()
ClusterAttributes
The role should be mapped to the system:masters Kubernetes RBAC role.
This role is directly passed to the lambda handler that sends Kube Ctl commands to the cluster.
Default: - if not specified, the default role created by a lambda function will be used.
getKubectlLambdaRole in interface ClusterAttributespublic final ILayerVersion getKubectlLayer()
ClusterAttributesThis 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.
getKubectlLayer in interface ClusterAttributespublic final Size getKubectlMemory()
ClusterAttributesDefault: Size.gibibytes(1)
getKubectlMemory in interface ClusterAttributespublic final List<String> getKubectlPrivateSubnetIds()
ClusterAttributesIf not specified, the k8s endpoint is expected to be accessible publicly.
Default: - k8s endpoint is expected to be accessible publicly
getKubectlPrivateSubnetIds in interface ClusterAttributespublic final IKubectlProvider getKubectlProvider()
ClusterAttributesDefault: - Default CDK provider
getKubectlProvider in interface ClusterAttributespublic final String getKubectlRoleArn()
ClusterAttributesDefault: - if not specified, it not be possible to issue `kubectl` commands against an imported cluster.
getKubectlRoleArn in interface ClusterAttributespublic final String getKubectlSecurityGroupId()
ClusterAttributesIf not specified, the k8s endpoint is expected to be accessible publicly.
Default: - k8s endpoint is expected to be accessible publicly
getKubectlSecurityGroupId in interface ClusterAttributespublic final ILayerVersion getOnEventLayer()
ClusterAttributesThis layer is used by the onEvent handler to route AWS SDK requests through a proxy.
The handler expects the layer to include the following node_modules:
proxy-agent
Default: - a layer bundled with this module.
getOnEventLayer in interface ClusterAttributespublic final IOpenIdConnectProvider getOpenIdConnectProvider()
ClusterAttributes
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.
getOpenIdConnectProvider in interface ClusterAttributespublic final Boolean getPrune()
ClusterAttributes
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
getPrune in interface ClusterAttributespublic final List<String> getSecurityGroupIds()
ClusterAttributesDefault: - if not specified, no additional security groups will be considered in `cluster.connections`.
getSecurityGroupIds in interface ClusterAttributespublic final IVpc getVpc()
ClusterAttributesDefault: - if not specified `cluster.vpc` will throw an error
getVpc in interface ClusterAttributes@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2022. All rights reserved.