Class ClusterProps.Jsii$Proxy
- All Implemented Interfaces:
ClusterCommonOptions,ClusterProps,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
ClusterProps
ClusterProps-
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_v2.ClusterProps
ClusterProps.Builder, ClusterProps.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedJsii$Proxy(ClusterProps.Builder builder) Constructor that initializes the object based on literal property values passed by theClusterProps.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 AlbControllerOptionsInstall the AWS Load Balancer Controller onto the cluster.final BooleanWhether or not IAM principal of the cluster creator was set as a cluster admin access entry during cluster creation time.final BooleanIf you set this value to False when creating a cluster, the default networking add-ons will not be installed.final List<ClusterLoggingTypes> The cluster log types which you want to enable.final StringName for the cluster.final ComputeConfigConfiguration for compute settings in Auto Mode.final CoreDnsComputeTypeControls the "eks.amazonaws.com/compute-type" annotation in the CoreDNS configuration on your cluster to determine which compute type to use for CoreDNS.final NumberNumber of instances to allocate as an initial capacity for this cluster.final InstanceTypeThe instance type to use for the default capacity.final DefaultCapacityTypeThe default capacity type for the cluster.final EndpointAccessConfigure access to the Kubernetes API server endpoint..final IpFamilySpecify which IP family is used to assign Kubernetes pod and service IP addresses.final KubectlProviderOptionsOptions for creating the kubectl provider - a lambda function that executeskubectlandhelmagainst the cluster.final IRoleAn IAM role that will be added to thesystem:mastersKubernetes RBAC group.final BooleanDetermines whether a CloudFormation output with theaws eks update-kubeconfigcommand will be synthesized.final BooleangetPrune()Indicates whether Kubernetes resources added throughaddManifest()can be automatically pruned.final List<RemoteNodeNetwork> IPv4 CIDR blocks defining the expected address range of hybrid nodes that will join the cluster.final List<RemotePodNetwork> IPv4 CIDR blocks for Pods running Kubernetes webhooks on hybrid nodes.final RemovalPolicyThe removal policy applied to all CloudFormation resources created by this construct when they are no longer managed by CloudFormation.final IRolegetRole()Role that provides permissions for the Kubernetes control plane to make calls to AWS API operations on your behalf.final IKeyRefKMS secret for envelope encryption for Kubernetes secrets.final ISecurityGroupSecurity Group to use for Control Plane ENIs.final StringThe CIDR block to assign Kubernetes service IP addresses from.getTags()The tags assigned to the EKS cluster.final KubernetesVersionThe Kubernetes version to run in the cluster.final IVpcgetVpc()The VPC in which to create the Cluster.final List<SubnetSelection> Where to place EKS Control Plane ENIs.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 theClusterProps.Builder.
-
-
Method Details
-
getBootstrapClusterCreatorAdminPermissions
Description copied from interface:ClusterPropsWhether or not IAM principal of the cluster creator was set as a cluster admin access entry during cluster creation time.Changing this value after the cluster has been created will result in the cluster being replaced.
Default: true
- Specified by:
getBootstrapClusterCreatorAdminPermissionsin interfaceClusterProps
-
getBootstrapSelfManagedAddons
Description copied from interface:ClusterPropsIf you set this value to False when creating a cluster, the default networking add-ons will not be installed.The default networking addons include vpc-cni, coredns, and kube-proxy. Use this option when you plan to install third-party alternative add-ons or self-manage the default networking add-ons.
Changing this value after the cluster has been created will result in the cluster being replaced.
Default: true if the mode is not EKS Auto Mode
- Specified by:
getBootstrapSelfManagedAddonsin interfaceClusterProps
-
getCompute
Description copied from interface:ClusterPropsConfiguration for compute settings in Auto Mode.When enabled, EKS will automatically manage compute resources.
Default: - Auto Mode compute disabled
- Specified by:
getComputein interfaceClusterProps
-
getDefaultCapacity
Description copied from interface:ClusterPropsNumber of instances to allocate as an initial capacity for this cluster.Instance type can be configured through
defaultCapacityInstanceType, which defaults tom5.large.Use
cluster.addAutoScalingGroupCapacityto add additional customized capacity. Set this to0is you wish to avoid the initial capacity allocation.Default: 2
- Specified by:
getDefaultCapacityin interfaceClusterProps
-
getDefaultCapacityInstance
Description copied from interface:ClusterPropsThe instance type to use for the default capacity.This will only be taken into account if
defaultCapacityis > 0.Default: m5.large
- Specified by:
getDefaultCapacityInstancein interfaceClusterProps
-
getDefaultCapacityType
Description copied from interface:ClusterPropsThe default capacity type for the cluster.Default: AUTOMODE
- Specified by:
getDefaultCapacityTypein interfaceClusterProps
-
getOutputConfigCommand
Description copied from interface:ClusterPropsDetermines whether a CloudFormation output with theaws eks update-kubeconfigcommand will be synthesized.This command will include the cluster name and, if applicable, the ARN of the masters IAM role.
Default: true
- Specified by:
getOutputConfigCommandin interfaceClusterProps
-
getVersion
Description copied from interface:ClusterCommonOptionsThe Kubernetes version to run in the cluster.- Specified by:
getVersionin interfaceClusterCommonOptions
-
getAlbController
Description copied from interface:ClusterCommonOptionsInstall the AWS Load Balancer Controller onto the cluster.Default: - The controller is not installed.
- Specified by:
getAlbControllerin interfaceClusterCommonOptions- See Also:
-
getClusterLogging
Description copied from interface:ClusterCommonOptionsThe cluster log types which you want to enable.Default: - none
- Specified by:
getClusterLoggingin interfaceClusterCommonOptions
-
getClusterName
Description copied from interface:ClusterCommonOptionsName for the cluster.Default: - Automatically generated name
- Specified by:
getClusterNamein interfaceClusterCommonOptions
-
getCoreDnsComputeType
Description copied from interface:ClusterCommonOptionsControls the "eks.amazonaws.com/compute-type" annotation in the CoreDNS configuration on your cluster to determine which compute type to use for CoreDNS.Default: CoreDnsComputeType.EC2 (for `FargateCluster` the default is FARGATE)
- Specified by:
getCoreDnsComputeTypein interfaceClusterCommonOptions
-
getEndpointAccess
Description copied from interface:ClusterCommonOptionsConfigure access to the Kubernetes API server endpoint..Default: EndpointAccess.PUBLIC_AND_PRIVATE
- Specified by:
getEndpointAccessin interfaceClusterCommonOptions- See Also:
-
getIpFamily
Description copied from interface:ClusterCommonOptionsSpecify which IP family is used to assign Kubernetes pod and service IP addresses.Default: IpFamily.IP_V4
- Specified by:
getIpFamilyin interfaceClusterCommonOptions- See Also:
-
getKubectlProviderOptions
Description copied from interface:ClusterCommonOptionsOptions for creating the kubectl provider - a lambda function that executeskubectlandhelmagainst the cluster.If defined,
kubectlLayeris a required property.Default: - kubectl provider will not be created
- Specified by:
getKubectlProviderOptionsin interfaceClusterCommonOptions
-
getMastersRole
Description copied from interface:ClusterCommonOptionsAn IAM role that will be added to thesystem:mastersKubernetes RBAC group.Default: - no masters role.
- Specified by:
getMastersRolein interfaceClusterCommonOptions- See Also:
-
getPrune
Description copied from interface:ClusterCommonOptionsIndicates 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 interfaceClusterCommonOptions
-
getRemoteNodeNetworks
Description copied from interface:ClusterCommonOptionsIPv4 CIDR blocks defining the expected address range of hybrid nodes that will join the cluster.Default: - none
- Specified by:
getRemoteNodeNetworksin interfaceClusterCommonOptions
-
getRemotePodNetworks
Description copied from interface:ClusterCommonOptionsIPv4 CIDR blocks for Pods running Kubernetes webhooks on hybrid nodes.Default: - none
- Specified by:
getRemotePodNetworksin interfaceClusterCommonOptions
-
getRemovalPolicy
Description copied from interface:ClusterCommonOptionsThe removal policy applied to all CloudFormation resources created by this construct when they are no longer managed by CloudFormation.This can happen in one of three situations:
- The resource is removed from the template, so CloudFormation stops managing it;
- A change to the resource is made that requires it to be replaced, so CloudFormation stops managing it;
- The stack is deleted, so CloudFormation stops managing all resources in it.
This affects the EKS cluster itself, associated IAM roles, node groups, security groups, VPC and any other CloudFormation resources managed by this construct.
Default: - Resources will be deleted.
- Specified by:
getRemovalPolicyin interfaceClusterCommonOptions
-
getRole
Description copied from interface:ClusterCommonOptionsRole that provides permissions for the Kubernetes control plane to make calls to AWS API operations on your behalf.Default: - A role is automatically created for you
- Specified by:
getRolein interfaceClusterCommonOptions
-
getSecretsEncryptionKey
Description copied from interface:ClusterCommonOptionsKMS secret for envelope encryption for Kubernetes secrets.Default: - By default, Kubernetes stores all secret object data within etcd and all etcd volumes used by Amazon EKS are encrypted at the disk-level using AWS-Managed encryption keys.
- Specified by:
getSecretsEncryptionKeyin interfaceClusterCommonOptions
-
getSecurityGroup
Description copied from interface:ClusterCommonOptionsSecurity Group to use for Control Plane ENIs.Default: - A security group is automatically created
- Specified by:
getSecurityGroupin interfaceClusterCommonOptions
-
getServiceIpv4Cidr
Description copied from interface:ClusterCommonOptionsThe CIDR block to assign Kubernetes service IP addresses from.Default: - Kubernetes assigns addresses from either the 10.100.0.0/16 or 172.20.0.0/16 CIDR blocks
- Specified by:
getServiceIpv4Cidrin interfaceClusterCommonOptions- See Also:
-
getTags
Description copied from interface:ClusterCommonOptionsThe tags assigned to the EKS cluster.Default: - none
- Specified by:
getTagsin interfaceClusterCommonOptions
-
getVpc
Description copied from interface:ClusterCommonOptionsThe VPC in which to create the Cluster.Default: - a VPC with default configuration will be created and can be accessed through `cluster.vpc`.
- Specified by:
getVpcin interfaceClusterCommonOptions
-
getVpcSubnets
Description copied from interface:ClusterCommonOptionsWhere to place EKS Control Plane ENIs.For example, to only select private subnets, supply the following:
vpcSubnets: [{ subnetType: ec2.SubnetType.PRIVATE_WITH_EGRESS }]Default: - All public and private subnets
- Specified by:
getVpcSubnetsin interfaceClusterCommonOptions
-
$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()
-