NodeGroupArgs class
The set of arguments for NodeGroup. The set of arguments for NodeGroup.
Constructors
-
NodeGroupArgs({Input<
String?> ? amiType, Input<String?> ? capacityType, required Input<String> clusterName, Input<int?> ? diskSize, Input<bool?> ? forceUpdateVersion, Input<List< ? instanceTypes, Input<String> ?>Map< ? labels, Input<String, String> ?>NodeGroupLaunchTemplate?> ? launchTemplate, Input<String?> ? nodeGroupName, Input<String?> ? nodeGroupNamePrefix, Input<NodeGroupNodeRepairConfig?> ? nodeRepairConfig, required Input<String> nodeRoleArn, Input<String?> ? region, Input<String?> ? releaseVersion, Input<NodeGroupRemoteAccess?> ? remoteAccess, required Input<NodeGroupScalingConfig> scalingConfig, required Input<List< subnetIds, Input<String> >Map< ? tags, Input<String, String> ?>List< ? taints, Input<NodeGroupTaint> ?>NodeGroupUpdateConfig?> ? updateConfig, Input<String?> ? version, Input<NodeGroupWarmPoolConfig?> ? warmPoolConfig}) -
Creates a new NodeGroupArgs.
amiTypeType of AMI associated with the EKS Node Group. See the AWS documentation for valid values. The provider will only perform drift detection if a configuration value is provided.capacityTypeType of capacity associated with the EKS Node Group. Valid values:ON_DEMAND,SPOT. This provider will only perform drift detection if a configuration value is provided.clusterNameName of the EKS Cluster.diskSizeDisk size in GiB for worker nodes. Defaults to50for Windows,20all other node groups. The provider will only perform drift detection if a configuration value is provided.forceUpdateVersionForce version update if existing pods are unable to be drained due to a pod disruption budget issue.instanceTypesList of instance types associated with the EKS Node Group. Defaults to["t3.medium"]. The provider will only perform drift detection if a configuration value is provided.labelsKey-value map of Kubernetes labels. Only labels that are applied with the EKS API are managed by this argument. Other Kubernetes labels applied to the EKS Node Group will not be managed.launchTemplateConfiguration block with Launch Template settings. SeelaunchTemplatebelow for details. Conflicts withremoteAccess.nodeGroupNameName of the EKS Node Group. If omitted, the provider will assign a random, unique name. Conflicts withnodeGroupNamePrefix. The node group name can't be longer than 63 characters. It must start with a letter or digit, but can also include hyphens and underscores for the remaining characters.nodeGroupNamePrefixCreates a unique name beginning with the specified prefix. Conflicts withnodeGroupName.nodeRepairConfigThe node auto repair configuration for the node group. SeenodeRepairConfigbelow for details.nodeRoleArnARN of the IAM Role that provides permissions for the EKS Node Group.regionRegion where this resource will be managed. Defaults to the Region set in the provider configuration.releaseVersionAMI version of the EKS Node Group. Defaults to latest version for Kubernetes version.remoteAccessConfiguration block with remote access settings. SeeremoteAccessbelow for details. Conflicts withlaunchTemplate.scalingConfigConfiguration block with scaling settings. SeescalingConfigbelow for details.subnetIdsIdentifiers of EC2 Subnets to associate with the EKS Node Group.tagsKey-value map of resource tags. If configured with a providerdefaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.taintsThe Kubernetes taints to be applied to the nodes in the node group. Maximum of 50 taints per node group. See taint below for details.updateConfigConfiguration block with update settings. SeeupdateConfigbelow for details.versionKubernetes version. Defaults to EKS Cluster Kubernetes version. The provider will only perform drift detection if a configuration value is provided.warmPoolConfigConfiguration block with EC2 Auto Scaling warm pool settings. Including this block enables the warm pool; removing it disables and removes the warm pool. SeewarmPoolConfigbelow for details.const -
NodeGroupArgs.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
amiType
→ Input<
String?> ? -
Type of AMI associated with the EKS Node Group. See the AWS documentation for valid values. The provider will only perform drift detection if a configuration value is provided.
final
-
capacityType
→ Input<
String?> ? -
Type of capacity associated with the EKS Node Group. Valid values:
ON_DEMAND,SPOT. This provider will only perform drift detection if a configuration value is provided.final -
clusterName
→ Input<
String> -
Name of the EKS Cluster.
final
-
diskSize
→ Input<
int?> ? -
Disk size in GiB for worker nodes. Defaults to
50for Windows,20all other node groups. The provider will only perform drift detection if a configuration value is provided.final -
forceUpdateVersion
→ Input<
bool?> ? -
Force version update if existing pods are unable to be drained due to a pod disruption budget issue.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
instanceTypes
→ Input<
List< ?String> ?> -
List of instance types associated with the EKS Node Group. Defaults to
["t3.medium"]. The provider will only perform drift detection if a configuration value is provided.final -
labels
→ Input<
Map< ?String, String> ?> -
Key-value map of Kubernetes labels. Only labels that are applied with the EKS API are managed by this argument. Other Kubernetes labels applied to the EKS Node Group will not be managed.
final
-
launchTemplate
→ Input<
NodeGroupLaunchTemplate?> ? -
Configuration block with Launch Template settings. See
launchTemplatebelow for details. Conflicts withremoteAccess.final -
nodeGroupName
→ Input<
String?> ? -
Name of the EKS Node Group. If omitted, the provider will assign a random, unique name. Conflicts with
nodeGroupNamePrefix. The node group name can't be longer than 63 characters. It must start with a letter or digit, but can also include hyphens and underscores for the remaining characters.final -
nodeGroupNamePrefix
→ Input<
String?> ? -
Creates a unique name beginning with the specified prefix. Conflicts with
nodeGroupName.final -
nodeRepairConfig
→ Input<
NodeGroupNodeRepairConfig?> ? -
The node auto repair configuration for the node group. See
nodeRepairConfigbelow for details.final -
nodeRoleArn
→ Input<
String> -
ARN of the IAM Role that provides permissions for the EKS Node Group.
final
-
region
→ Input<
String?> ? -
Region where this resource will be managed. Defaults to the Region set in the provider configuration.
final
-
releaseVersion
→ Input<
String?> ? -
AMI version of the EKS Node Group. Defaults to latest version for Kubernetes version.
final
-
remoteAccess
→ Input<
NodeGroupRemoteAccess?> ? -
Configuration block with remote access settings. See
remoteAccessbelow for details. Conflicts withlaunchTemplate.final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
scalingConfig
→ Input<
NodeGroupScalingConfig> -
Configuration block with scaling settings. See
scalingConfigbelow for details.final -
subnetIds
→ Input<
List< String> > -
Identifiers of EC2 Subnets to associate with the EKS Node Group.
final
-
Key-value map of resource tags. If configured with a provider
defaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.final -
taints
→ Input<
List< ?NodeGroupTaint> ?> -
The Kubernetes taints to be applied to the nodes in the node group. Maximum of 50 taints per node group. See taint below for details.
final
-
updateConfig
→ Input<
NodeGroupUpdateConfig?> ? -
Configuration block with update settings. See
updateConfigbelow for details.final -
version
→ Input<
String?> ? -
Kubernetes version. Defaults to EKS Cluster Kubernetes version. The provider will only perform drift detection if a configuration value is provided.
final
-
warmPoolConfig
→ Input<
NodeGroupWarmPoolConfig?> ? -
Configuration block with EC2 Auto Scaling warm pool settings. Including this block enables the warm pool; removing it disables and removes the warm pool. See
warmPoolConfigbelow for details.final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited