AwsNodePoolConfig constructor
- Input<
AwsNodePoolConfigAutoscalingMetricsCollection?> ? autoscalingMetricsCollection, - required Input<
AwsNodePoolConfigConfigEncryption> configEncryption, - required Input<
String> iamInstanceProfile, - Input<
String?> ? imageType, - Input<
AwsNodePoolConfigInstancePlacement?> ? instancePlacement, - Input<
String?> ? instanceType, - Input<
Map< ? labels,String, String> ?> - Input<
AwsNodePoolConfigProxyConfig?> ? proxyConfig, - Input<
AwsNodePoolConfigRootVolume?> ? rootVolume, - Input<
List< ? securityGroupIds,String> ?> - Input<
AwsNodePoolConfigSpotConfig?> ? spotConfig, - Input<
AwsNodePoolConfigSshConfig?> ? sshConfig, - Input<
Map< ? tags,String, String> ?> - Input<
List< ? taints,AwsNodePoolConfigTaint> ?>
Creates a new AwsNodePoolConfig.
autoscalingMetricsCollection Optional. Configuration related to CloudWatch metrics collection on the Auto Scaling group of the node pool. When unspecified, metrics collection is disabled.
configEncryption The ARN of the AWS KMS key used to encrypt node pool configuration.
iamInstanceProfile The name of the AWS IAM role assigned to nodes in the pool.
imageType The OS image type to use on node pool instances.
instancePlacement Details of placement information for an instance.
instanceType Optional. The AWS instance type. When unspecified, it defaults to m5.large.
labels Optional. The initial labels assigned to nodes of this node pool. An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.
proxyConfig Proxy configuration for outbound HTTP(S) traffic.
rootVolume Optional. Template for the root volume provisioned for node pool nodes. Volumes will be provisioned in the availability zone assigned to the node pool subnet. When unspecified, it defaults to 32 GiB with the GP2 volume type.
securityGroupIds Optional. The IDs of additional security groups to add to nodes in this pool. The manager will automatically create security groups with minimum rules needed for a functioning cluster.
spotConfig Optional. When specified, the node pool will provision Spot instances from the set of spot_config.instance_types. This field is mutually exclusive with instanceType
sshConfig Optional. The SSH configuration.
tags Optional. Key/value metadata to assign to each underlying AWS resource. Specify at most 50 pairs containing alphanumerics, spaces, and symbols (.+-=_:@/). Keys can be up to 127 Unicode characters. Values can be up to 255 Unicode characters.
taints Optional. The initial taints assigned to nodes of this node pool.
Implementation
const AwsNodePoolConfig({
this.autoscalingMetricsCollection,
required this.configEncryption,
required this.iamInstanceProfile,
this.imageType,
this.instancePlacement,
this.instanceType,
this.labels,
this.proxyConfig,
this.rootVolume,
this.securityGroupIds,
this.spotConfig,
this.sshConfig,
this.tags,
this.taints,
});