AwsNodePoolArgs constructor

const AwsNodePoolArgs({
  1. Input<Map<String, String>?>? annotations,
  2. required Input<AwsNodePoolAutoscaling> autoscaling,
  3. required Input<String> cluster,
  4. required Input<AwsNodePoolConfig> config,
  5. Input<String?>? deletionPolicy,
  6. Input<AwsNodePoolKubeletConfig?>? kubeletConfig,
  7. required Input<String> location,
  8. Input<AwsNodePoolManagement?>? management,
  9. required Input<AwsNodePoolMaxPodsConstraint> maxPodsConstraint,
  10. Input<String?>? name,
  11. Input<String?>? project,
  12. required Input<String> subnetId,
  13. Input<AwsNodePoolUpdateSettings?>? updateSettings,
  14. required Input<String> version,
})

Creates a new AwsNodePoolArgs. annotations Optional. Annotations on the node pool. This field has the same restrictions as Kubernetes annotations. The total size of all keys and values combined is limited to 256k. Key can have 2 segments: prefix (optional) and name (required), separated by a slash (/). Prefix must be a DNS subdomain. Name must be 63 characters or less, begin and end with alphanumerics, with dashes (-), underscores (_), dots (.), and alphanumerics between. autoscaling Autoscaler configuration for this node pool. cluster The awsCluster for the resource config The configuration of the node pool. deletionPolicy Whether Terraform will be prevented from destroying the resource. Defaults to "DELETE". kubeletConfig The kubelet configuration for the node pool. location The location for the resource management The Management configuration for this node pool. maxPodsConstraint The constraint on the maximum number of pods that can be run simultaneously on a node in the node pool. name The name of this resource. project The project for the resource subnetId The subnet where the node pool node run. updateSettings Optional. Update settings control the speed and disruption of the node pool update. version The Kubernetes version to run on this node pool (e.g. 1.19.10-gke.1000). You can list all supported versions on a given Google Cloud region by calling GetAwsServerConfig.

Implementation

const AwsNodePoolArgs({
  this.annotations,
  required this.autoscaling,
  required this.cluster,
  required this.config,
  this.deletionPolicy,
  this.kubeletConfig,
  required this.location,
  this.management,
  required this.maxPodsConstraint,
  this.name,
  this.project,
  required this.subnetId,
  this.updateSettings,
  required this.version,
});