Class ClusterAttributes.Jsii$Proxy
- All Implemented Interfaces:
ClusterAttributes,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
ClusterAttributes
ClusterAttributes-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.services.eks.ClusterAttributes
ClusterAttributes.Builder, ClusterAttributes.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedJsii$Proxy(ClusterAttributes.Builder builder) Constructor that initializes the object based on literal property values passed by theClusterAttributes.Builder.protectedJsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject. -
Method Summary
Modifier and TypeMethodDescriptioncom.fasterxml.jackson.databind.JsonNodefinal booleanfinal ILayerVersionAn AWS Lambda layer that contains theawsCLI.final StringThe certificate-authority-data for your cluster.final StringAmazon Resource Name (ARN) or alias of the customer master key (CMK).final StringThe API Server endpoint URL.final StringA security group id to associate with the Cluster Handler's Lambdas.final StringThe physical name of the Cluster.final StringThe cluster security group that was created by Amazon EKS for the cluster.final IpFamilySpecify which IP family is used to assign Kubernetes pod and service IP addresses.Environment variables to use when runningkubectlagainst this cluster.final IRoleAn IAM role that can perform kubectl operations against this cluster.final ILayerVersionAn AWS Lambda Layer which includeskubectland Helm.final SizeAmount of memory to allocate to the provider's lambda function.Subnets to host thekubectlcompute resources.final IKubectlProviderKubectlProvider for issuing kubectl commands.final StringAn IAM role with cluster administrator and "system:masters" permissions.final StringA security group to use forkubectlexecution.final ILayerVersionAn AWS Lambda Layer which includes the NPM dependencyproxy-agent.final IOpenIdConnectProviderAn Open ID Connect provider for this cluster that can be used to configure service accounts.final BooleangetPrune()Indicates whether Kubernetes resources added throughaddManifest()can be automatically pruned.Additional security groups associated with this cluster.final IVpcgetVpc()The VPC in which this Cluster was created.final inthashCode()Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
-
Constructor Details
-
Jsii$Proxy
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject.- Parameters:
objRef- Reference to the JSII managed object.
-
Jsii$Proxy
Constructor that initializes the object based on literal property values passed by theClusterAttributes.Builder.
-
-
Method Details
-
getClusterName
Description copied from interface:ClusterAttributesThe physical name of the Cluster.- Specified by:
getClusterNamein interfaceClusterAttributes
-
getAwscliLayer
Description copied from interface:ClusterAttributesAn AWS Lambda layer that contains theawsCLI.The handler expects the layer to include the following executables:
/opt/awscli/aws
Default: - a default layer with the AWS CLI 1.x
- Specified by:
getAwscliLayerin interfaceClusterAttributes
-
getClusterCertificateAuthorityData
Description copied from interface:ClusterAttributesThe certificate-authority-data for your cluster.Default: - if not specified `cluster.clusterCertificateAuthorityData` will throw an error
- Specified by:
getClusterCertificateAuthorityDatain interfaceClusterAttributes
-
getClusterEncryptionConfigKeyArn
Description copied from interface:ClusterAttributesAmazon Resource Name (ARN) or alias of the customer master key (CMK).Default: - if not specified `cluster.clusterEncryptionConfigKeyArn` will throw an error
- Specified by:
getClusterEncryptionConfigKeyArnin interfaceClusterAttributes
-
getClusterEndpoint
Description copied from interface:ClusterAttributesThe API Server endpoint URL.Default: - if not specified `cluster.clusterEndpoint` will throw an error.
- Specified by:
getClusterEndpointin interfaceClusterAttributes
-
getClusterHandlerSecurityGroupId
Description copied from interface:ClusterAttributesA security group id to associate with the Cluster Handler's Lambdas.The Cluster Handler's Lambdas are responsible for calling AWS's EKS API.
Default: - No security group.
- Specified by:
getClusterHandlerSecurityGroupIdin interfaceClusterAttributes
-
getClusterSecurityGroupId
Description copied from interface:ClusterAttributesThe cluster security group that was created by Amazon EKS for the cluster.Default: - if not specified `cluster.clusterSecurityGroupId` will throw an error
- Specified by:
getClusterSecurityGroupIdin interfaceClusterAttributes
-
getIpFamily
Description copied from interface:ClusterAttributesSpecify which IP family is used to assign Kubernetes pod and service IP addresses.Default: - IpFamily.IP_V4
- Specified by:
getIpFamilyin interfaceClusterAttributes- See Also:
-
getKubectlEnvironment
Description copied from interface:ClusterAttributesEnvironment variables to use when runningkubectlagainst this cluster.Default: - no additional variables
- Specified by:
getKubectlEnvironmentin interfaceClusterAttributes
-
getKubectlLambdaRole
Description copied from interface:ClusterAttributesAn IAM role that can perform kubectl operations against this cluster.The role should be mapped to the
system:mastersKubernetes 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.
- Specified by:
getKubectlLambdaRolein interfaceClusterAttributes
-
getKubectlLayer
Description copied from interface:ClusterAttributesAn AWS Lambda Layer which includeskubectland Helm.This layer is used by the kubectl handler to apply manifests and install helm charts. You must pick an appropriate releases of one of the
@aws-cdk/layer-kubectl-vXXpackages, that works with the version of Kubernetes you have chosen.The handler expects the layer to include the following executables:
/opt/helm/helm /opt/kubectl/kubectl
Default: - No default layer will be provided
- Specified by:
getKubectlLayerin interfaceClusterAttributes
-
getKubectlMemory
Description copied from interface:ClusterAttributesAmount of memory to allocate to the provider's lambda function.Default: Size.gibibytes(1)
- Specified by:
getKubectlMemoryin interfaceClusterAttributes
-
getKubectlPrivateSubnetIds
Description copied from interface:ClusterAttributesSubnets to host thekubectlcompute resources.If not specified, the k8s endpoint is expected to be accessible publicly.
Default: - k8s endpoint is expected to be accessible publicly
- Specified by:
getKubectlPrivateSubnetIdsin interfaceClusterAttributes
-
getKubectlProvider
Description copied from interface:ClusterAttributesKubectlProvider for issuing kubectl commands.Default: - Default CDK provider
- Specified by:
getKubectlProviderin interfaceClusterAttributes
-
getKubectlRoleArn
Description copied from interface:ClusterAttributesAn IAM role with cluster administrator and "system:masters" permissions.Default: - if not specified, it not be possible to issue `kubectl` commands against an imported cluster.
- Specified by:
getKubectlRoleArnin interfaceClusterAttributes
-
getKubectlSecurityGroupId
Description copied from interface:ClusterAttributesA security group to use forkubectlexecution.If not specified, the k8s endpoint is expected to be accessible publicly.
Default: - k8s endpoint is expected to be accessible publicly
- Specified by:
getKubectlSecurityGroupIdin interfaceClusterAttributes
-
getOnEventLayer
Description copied from interface:ClusterAttributesAn AWS Lambda Layer which includes the NPM dependencyproxy-agent.This 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.
- Specified by:
getOnEventLayerin interfaceClusterAttributes
-
getOpenIdConnectProvider
Description copied from interface:ClusterAttributesAn Open ID Connect provider for this cluster that can be used to configure service accounts.You can either import an existing provider using
iam.OpenIdConnectProvider.fromProviderArn, or create a new provider usingnew eks.OpenIdConnectProviderDefault: - if not specified `cluster.openIdConnectProvider` and `cluster.addServiceAccount` will throw an error.
- Specified by:
getOpenIdConnectProviderin interfaceClusterAttributes
-
getPrune
Description copied from interface:ClusterAttributesIndicates whether Kubernetes resources added throughaddManifest()can be automatically pruned.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 applyoperation with the--pruneswitch.Default: true
- Specified by:
getPrunein interfaceClusterAttributes
-
getSecurityGroupIds
Description copied from interface:ClusterAttributesAdditional security groups associated with this cluster.Default: - if not specified, no additional security groups will be considered in `cluster.connections`.
- Specified by:
getSecurityGroupIdsin interfaceClusterAttributes
-
getVpc
Description copied from interface:ClusterAttributesThe VPC in which this Cluster was created.Default: - if not specified `cluster.vpc` will throw an error
- Specified by:
getVpcin interfaceClusterAttributes
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-