NodeGroupState constructor

const NodeGroupState({
  1. Input<String?>? amiType,
  2. Input<String?>? arn,
  3. Input<String?>? capacityType,
  4. Input<String?>? clusterName,
  5. Input<int?>? diskSize,
  6. Input<bool?>? forceUpdateVersion,
  7. Input<List<String>?>? instanceTypes,
  8. Input<Map<String, String>?>? labels,
  9. Input<NodeGroupLaunchTemplate?>? launchTemplate,
  10. Input<String?>? nodeGroupName,
  11. Input<String?>? nodeGroupNamePrefix,
  12. Input<NodeGroupNodeRepairConfig?>? nodeRepairConfig,
  13. Input<String?>? nodeRoleArn,
  14. Input<String?>? region,
  15. Input<String?>? releaseVersion,
  16. Input<NodeGroupRemoteAccess?>? remoteAccess,
  17. Input<List<NodeGroupResource>?>? resources,
  18. Input<NodeGroupScalingConfig?>? scalingConfig,
  19. Input<String?>? status,
  20. Input<List<String>?>? subnetIds,
  21. Input<Map<String, String>?>? tags,
  22. Input<Map<String, String>?>? tagsAll,
  23. Input<List<NodeGroupTaint>?>? taints,
  24. Input<NodeGroupUpdateConfig?>? updateConfig,
  25. Input<String?>? version,
  26. Input<NodeGroupWarmPoolConfig?>? warmPoolConfig,
})

Creates a new NodeGroupState. amiType 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. arn ARN of the EKS Node Group. capacityType 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. clusterName Name of the EKS Cluster. diskSize Disk size in GiB for worker nodes. Defaults to 50 for Windows, 20 all other node groups. The provider will only perform drift detection if a configuration value is provided. forceUpdateVersion Force version update if existing pods are unable to be drained due to a pod disruption budget issue. instanceTypes 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. labels 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. launchTemplate Configuration block with Launch Template settings. See launchTemplate below for details. Conflicts with remoteAccess. nodeGroupName 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. nodeGroupNamePrefix Creates a unique name beginning with the specified prefix. Conflicts with nodeGroupName. nodeRepairConfig The node auto repair configuration for the node group. See nodeRepairConfig below for details. nodeRoleArn ARN of the IAM Role that provides permissions for the EKS Node Group. region Region where this resource will be managed. Defaults to the Region set in the provider configuration. releaseVersion AMI version of the EKS Node Group. Defaults to latest version for Kubernetes version. remoteAccess Configuration block with remote access settings. See remoteAccess below for details. Conflicts with launchTemplate. resources List of objects containing information about underlying resources. scalingConfig Configuration block with scaling settings. See scalingConfig below for details. status Status of the EKS Node Group. subnetIds Identifiers of EC2 Subnets to associate with the EKS Node Group. tags Key-value map of resource tags. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level. tagsAll A map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block. taints 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. updateConfig Configuration block with update settings. See updateConfig below for details. version Kubernetes version. Defaults to EKS Cluster Kubernetes version. The provider will only perform drift detection if a configuration value is provided. warmPoolConfig 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 warmPoolConfig below for details.

Implementation

const NodeGroupState({
  this.amiType,
  this.arn,
  this.capacityType,
  this.clusterName,
  this.diskSize,
  this.forceUpdateVersion,
  this.instanceTypes,
  this.labels,
  this.launchTemplate,
  this.nodeGroupName,
  this.nodeGroupNamePrefix,
  this.nodeRepairConfig,
  this.nodeRoleArn,
  this.region,
  this.releaseVersion,
  this.remoteAccess,
  this.resources,
  this.scalingConfig,
  this.status,
  this.subnetIds,
  this.tags,
  this.tagsAll,
  this.taints,
  this.updateConfig,
  this.version,
  this.warmPoolConfig,
});