Class NodegroupOptions.Jsii$Proxy
- All Implemented Interfaces:
NodegroupOptions,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
- NodegroupOptions
NodegroupOptions-
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.NodegroupOptions
NodegroupOptions.Builder, NodegroupOptions.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedJsii$Proxy(NodegroupOptions.Builder builder) Constructor that initializes the object based on literal property values passed by theNodegroupOptions.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 NodegroupAmiTypeThe AMI type for your node group.final CapacityTypeThe capacity type of the nodegroup.final NumberThe current number of worker nodes that the managed node group should maintain.final NumberThe root device disk size (in GiB) for your node group instances.final BooleanForce the update if the existing node group's pods are unable to be drained due to a pod disruption budget issue.final InstanceType(deprecated) The instance type to use for your node group.final List<InstanceType>The instance types to use for your node group.The Kubernetes labels to be applied to the nodes in the node group when they are created.final LaunchTemplateSpecLaunch template specification used for the nodegroup.final NumberThe maximum number of worker nodes that the managed node group can scale out to.final NumberThe minimum number of worker nodes that the managed node group can scale in to.final StringName of the Nodegroup.final IRoleThe IAM role to associate with your node group.final StringThe AMI version of the Amazon EKS-optimized AMI to use with your node group (for example,1.14.7-YYYYMMDD).final NodegroupRemoteAccessThe remote access (SSH) configuration to use with your node group.final SubnetSelectionThe subnets to use for the Auto Scaling group that is created for your node group.getTags()The metadata to apply to the node group to assist with categorization and organization.The Kubernetes taints to be applied to the nodes in the node group when they are 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 theNodegroupOptions.Builder.
-
-
Method Details
-
getAmiType
Description copied from interface:NodegroupOptionsThe AMI type for your node group.If you explicitly specify the launchTemplate with custom AMI, do not specify this property, or the node group deployment will fail. In other cases, you will need to specify correct amiType for the nodegroup.
Default: - auto-determined from the instanceTypes property when launchTemplateSpec property is not specified
- Specified by:
getAmiTypein interfaceNodegroupOptions
-
getCapacityType
Description copied from interface:NodegroupOptionsThe capacity type of the nodegroup.Default: - ON_DEMAND
- Specified by:
getCapacityTypein interfaceNodegroupOptions
-
getDesiredSize
Description copied from interface:NodegroupOptionsThe current number of worker nodes that the managed node group should maintain.If not specified, the nodewgroup will initially create
minSizeinstances.Default: 2
- Specified by:
getDesiredSizein interfaceNodegroupOptions
-
getDiskSize
Description copied from interface:NodegroupOptionsThe root device disk size (in GiB) for your node group instances.Default: 20
- Specified by:
getDiskSizein interfaceNodegroupOptions
-
getForceUpdate
Description copied from interface:NodegroupOptionsForce the update if the existing node group's pods are unable to be drained due to a pod disruption budget issue.If an update fails because pods could not be drained, you can force the update after it fails to terminate the old node whether or not any pods are running on the node.
Default: true
- Specified by:
getForceUpdatein interfaceNodegroupOptions
-
getInstanceType
Description copied from interface:NodegroupOptions(deprecated) The instance type to use for your node group.Currently, you can specify a single instance type for a node group. The default value for this parameter is
t3.medium. If you choose a GPU instance type, be sure to specify theAL2_x86_64_GPUwith the amiType parameter.Default: t3.medium
- Specified by:
getInstanceTypein interfaceNodegroupOptions
-
getInstanceTypes
Description copied from interface:NodegroupOptionsThe instance types to use for your node group.Default: t3.medium will be used according to the cloudformation document.
-
getLabels
Description copied from interface:NodegroupOptionsThe Kubernetes labels to be applied to the nodes in the node group when they are created.Default: - None
- Specified by:
getLabelsin interfaceNodegroupOptions
-
getLaunchTemplateSpec
Description copied from interface:NodegroupOptionsLaunch template specification used for the nodegroup.Default: - no launch template
- Specified by:
getLaunchTemplateSpecin interfaceNodegroupOptions- See Also:
-
getMaxSize
Description copied from interface:NodegroupOptionsThe maximum number of worker nodes that the managed node group can scale out to.Managed node groups can support up to 100 nodes by default.
Default: - desiredSize
- Specified by:
getMaxSizein interfaceNodegroupOptions
-
getMinSize
Description copied from interface:NodegroupOptionsThe minimum number of worker nodes that the managed node group can scale in to.This number must be greater than or equal to zero.
Default: 1
- Specified by:
getMinSizein interfaceNodegroupOptions
-
getNodegroupName
Description copied from interface:NodegroupOptionsName of the Nodegroup.Default: - resource ID
- Specified by:
getNodegroupNamein interfaceNodegroupOptions
-
getNodeRole
Description copied from interface:NodegroupOptionsThe IAM role to associate with your node group.The Amazon EKS worker node kubelet daemon makes calls to AWS APIs on your behalf. Worker nodes receive permissions for these API calls through an IAM instance profile and associated policies. Before you can launch worker nodes and register them into a cluster, you must create an IAM role for those worker nodes to use when they are launched.
Default: - None. Auto-generated if not specified.
- Specified by:
getNodeRolein interfaceNodegroupOptions
-
getReleaseVersion
Description copied from interface:NodegroupOptionsThe AMI version of the Amazon EKS-optimized AMI to use with your node group (for example,1.14.7-YYYYMMDD).Default: - The latest available AMI version for the node group's current Kubernetes version is used.
- Specified by:
getReleaseVersionin interfaceNodegroupOptions
-
getRemoteAccess
Description copied from interface:NodegroupOptionsThe remote access (SSH) configuration to use with your node group.Disabled by default, however, if you specify an Amazon EC2 SSH key but do not specify a source security group when you create a managed node group, then port 22 on the worker nodes is opened to the internet (0.0.0.0/0)
Default: - disabled
- Specified by:
getRemoteAccessin interfaceNodegroupOptions
-
getSubnets
Description copied from interface:NodegroupOptionsThe subnets to use for the Auto Scaling group that is created for your node group.By specifying the SubnetSelection, the selected subnets will automatically apply required tags i.e.
kubernetes.io/cluster/CLUSTER_NAMEwith a value ofshared, whereCLUSTER_NAMEis replaced with the name of your cluster.Default: - private subnets
- Specified by:
getSubnetsin interfaceNodegroupOptions
-
getTags
Description copied from interface:NodegroupOptionsThe metadata to apply to the node group to assist with categorization and organization.Each tag consists of a key and an optional value, both of which you define. Node group tags do not propagate to any other resources associated with the node group, such as the Amazon EC2 instances or subnets.
Default: - None
- Specified by:
getTagsin interfaceNodegroupOptions
-
getTaints
Description copied from interface:NodegroupOptionsThe Kubernetes taints to be applied to the nodes in the node group when they are created.Default: - None
- Specified by:
getTaintsin interfaceNodegroupOptions
-
$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()
-