aws-sdk-eks 1.37.0 → 1.42.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # WARNING ABOUT GENERATED CODE
2
4
  #
3
5
  # This file is generated. See the contributing guide for more information:
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # WARNING ABOUT GENERATED CODE
2
4
  #
3
5
  # This file is generated. See the contributing guide for more information:
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # WARNING ABOUT GENERATED CODE
2
4
  #
3
5
  # This file is generated. See the contributing guide for more information:
@@ -20,6 +22,7 @@ module Aws::EKS
20
22
  #
21
23
  class AutoScalingGroup < Struct.new(
22
24
  :name)
25
+ SENSITIVE = []
23
26
  include Aws::Structure
24
27
  end
25
28
 
@@ -34,6 +37,7 @@ module Aws::EKS
34
37
  #
35
38
  class BadRequestException < Struct.new(
36
39
  :message)
40
+ SENSITIVE = []
37
41
  include Aws::Structure
38
42
  end
39
43
 
@@ -50,6 +54,7 @@ module Aws::EKS
50
54
  #
51
55
  class Certificate < Struct.new(
52
56
  :data)
57
+ SENSITIVE = []
53
58
  include Aws::Structure
54
59
  end
55
60
 
@@ -75,6 +80,7 @@ module Aws::EKS
75
80
  :cluster_name,
76
81
  :nodegroup_name,
77
82
  :message)
83
+ SENSITIVE = []
78
84
  include Aws::Structure
79
85
  end
80
86
 
@@ -180,6 +186,7 @@ module Aws::EKS
180
186
  :platform_version,
181
187
  :tags,
182
188
  :encryption_config)
189
+ SENSITIVE = []
183
190
  include Aws::Structure
184
191
  end
185
192
 
@@ -231,9 +238,9 @@ module Aws::EKS
231
238
  #
232
239
  # @!attribute [rw] role_arn
233
240
  # The Amazon Resource Name (ARN) of the IAM role that provides
234
- # permissions for Amazon EKS to make calls to other AWS API operations
235
- # on your behalf. For more information, see [Amazon EKS Service IAM
236
- # Role][1] in the <i> <i>Amazon EKS User Guide</i> </i>.
241
+ # permissions for the Kubernetes control plane to make calls to AWS
242
+ # API operations on your behalf. For more information, see [Amazon EKS
243
+ # Service IAM Role][1] in the <i> <i>Amazon EKS User Guide</i> </i>.
237
244
  #
238
245
  #
239
246
  #
@@ -303,6 +310,7 @@ module Aws::EKS
303
310
  :client_request_token,
304
311
  :tags,
305
312
  :encryption_config)
313
+ SENSITIVE = []
306
314
  include Aws::Structure
307
315
  end
308
316
 
@@ -314,6 +322,7 @@ module Aws::EKS
314
322
  #
315
323
  class CreateClusterResponse < Struct.new(
316
324
  :cluster)
325
+ SENSITIVE = []
317
326
  include Aws::Structure
318
327
  end
319
328
 
@@ -400,6 +409,7 @@ module Aws::EKS
400
409
  :selectors,
401
410
  :client_request_token,
402
411
  :tags)
412
+ SENSITIVE = []
403
413
  include Aws::Structure
404
414
  end
405
415
 
@@ -411,6 +421,7 @@ module Aws::EKS
411
421
  #
412
422
  class CreateFargateProfileResponse < Struct.new(
413
423
  :fargate_profile)
424
+ SENSITIVE = []
414
425
  include Aws::Structure
415
426
  end
416
427
 
@@ -428,7 +439,7 @@ module Aws::EKS
428
439
  # disk_size: 1,
429
440
  # subnets: ["String"], # required
430
441
  # instance_types: ["String"],
431
- # ami_type: "AL2_x86_64", # accepts AL2_x86_64, AL2_x86_64_GPU
442
+ # ami_type: "AL2_x86_64", # accepts AL2_x86_64, AL2_x86_64_GPU, AL2_ARM_64
432
443
  # remote_access: {
433
444
  # ec2_ssh_key: "String",
434
445
  # source_security_groups: ["String"],
@@ -441,6 +452,11 @@ module Aws::EKS
441
452
  # "TagKey" => "TagValue",
442
453
  # },
443
454
  # client_request_token: "String",
455
+ # launch_template: {
456
+ # name: "String",
457
+ # version: "String",
458
+ # id: "String",
459
+ # },
444
460
  # version: "String",
445
461
  # release_version: "String",
446
462
  # }
@@ -460,33 +476,73 @@ module Aws::EKS
460
476
  #
461
477
  # @!attribute [rw] disk_size
462
478
  # The root device disk size (in GiB) for your node group instances.
463
- # The default disk size is 20 GiB.
479
+ # The default disk size is 20 GiB. If you specify `launchTemplate`,
480
+ # then don't specify `diskSize`, or the node group deployment will
481
+ # fail. For more information about using launch templates with Amazon
482
+ # EKS, see [Launch template support][1] in the Amazon EKS User Guide.
483
+ #
484
+ #
485
+ #
486
+ # [1]: https://docs.aws.amazon.com/eks/latest/userguide/launch-templates.html
464
487
  # @return [Integer]
465
488
  #
466
489
  # @!attribute [rw] subnets
467
490
  # The subnets to use for the Auto Scaling group that is created for
468
491
  # your node group. These subnets must have the tag key
469
492
  # `kubernetes.io/cluster/CLUSTER_NAME` with a value of `shared`, where
470
- # `CLUSTER_NAME` is replaced with the name of your cluster.
493
+ # `CLUSTER_NAME` is replaced with the name of your cluster. If you
494
+ # specify `launchTemplate`, then don't specify [ `SubnetId` ][1] in
495
+ # your launch template, or the node group deployment will fail. For
496
+ # more information about using launch templates with Amazon EKS, see
497
+ # [Launch template support][2] in the Amazon EKS User Guide.
498
+ #
499
+ #
500
+ #
501
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateNetworkInterface.html
502
+ # [2]: https://docs.aws.amazon.com/eks/latest/userguide/launch-templates.html
471
503
  # @return [Array<String>]
472
504
  #
473
505
  # @!attribute [rw] instance_types
474
- # The instance type to use for your node group. Currently, you can
475
- # specify a single instance type for a node group. The default value
476
- # for this parameter is `t3.medium`. If you choose a GPU instance
477
- # type, be sure to specify the `AL2_x86_64_GPU` with the `amiType`
478
- # parameter.
506
+ # The instance type to use for your node group. You can specify a
507
+ # single instance type for a node group. The default value for
508
+ # `instanceTypes` is `t3.medium`. If you choose a GPU instance type,
509
+ # be sure to specify `AL2_x86_64_GPU` with the `amiType` parameter. If
510
+ # you specify `launchTemplate`, then don't specify `instanceTypes`,
511
+ # or the node group deployment will fail. For more information about
512
+ # using launch templates with Amazon EKS, see [Launch template
513
+ # support][1] in the Amazon EKS User Guide.
514
+ #
515
+ #
516
+ #
517
+ # [1]: https://docs.aws.amazon.com/eks/latest/userguide/launch-templates.html
479
518
  # @return [Array<String>]
480
519
  #
481
520
  # @!attribute [rw] ami_type
482
521
  # The AMI type for your node group. GPU instance types should use the
483
522
  # `AL2_x86_64_GPU` AMI type, which uses the Amazon EKS-optimized Linux
484
523
  # AMI with GPU support. Non-GPU instances should use the `AL2_x86_64`
485
- # AMI type, which uses the Amazon EKS-optimized Linux AMI.
524
+ # AMI type, which uses the Amazon EKS-optimized Linux AMI. If you
525
+ # specify `launchTemplate`, and your launch template uses a custom
526
+ # AMI, then don't specify `amiType`, or the node group deployment
527
+ # will fail. For more information about using launch templates with
528
+ # Amazon EKS, see [Launch template support][1] in the Amazon EKS User
529
+ # Guide.
530
+ #
531
+ #
532
+ #
533
+ # [1]: https://docs.aws.amazon.com/eks/latest/userguide/launch-templates.html
486
534
  # @return [String]
487
535
  #
488
536
  # @!attribute [rw] remote_access
489
537
  # The remote access (SSH) configuration to use with your node group.
538
+ # If you specify `launchTemplate`, then don't specify `remoteAccess`,
539
+ # or the node group deployment will fail. For more information about
540
+ # using launch templates with Amazon EKS, see [Launch template
541
+ # support][1] in the Amazon EKS User Guide.
542
+ #
543
+ #
544
+ #
545
+ # [1]: https://docs.aws.amazon.com/eks/latest/userguide/launch-templates.html
490
546
  # @return [Types::RemoteAccessConfig]
491
547
  #
492
548
  # @!attribute [rw] node_role
@@ -497,11 +553,18 @@ module Aws::EKS
497
553
  # policies. Before you can launch worker nodes and register them into
498
554
  # a cluster, you must create an IAM role for those worker nodes to use
499
555
  # when they are launched. For more information, see [Amazon EKS Worker
500
- # Node IAM Role][1] in the <i> <i>Amazon EKS User Guide</i> </i>.
556
+ # Node IAM Role][1] in the <i> <i>Amazon EKS User Guide</i> </i>. If
557
+ # you specify `launchTemplate`, then don't specify [
558
+ # `IamInstanceProfile` ][2] in your launch template, or the node group
559
+ # deployment will fail. For more information about using launch
560
+ # templates with Amazon EKS, see [Launch template support][3] in the
561
+ # Amazon EKS User Guide.
501
562
  #
502
563
  #
503
564
  #
504
565
  # [1]: https://docs.aws.amazon.com/eks/latest/userguide/worker_node_IAM_role.html
566
+ # [2]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_IamInstanceProfile.html
567
+ # [3]: https://docs.aws.amazon.com/eks/latest/userguide/launch-templates.html
505
568
  # @return [String]
506
569
  #
507
570
  # @!attribute [rw] labels
@@ -525,10 +588,26 @@ module Aws::EKS
525
588
  # not need to pass this option.
526
589
  # @return [String]
527
590
  #
591
+ # @!attribute [rw] launch_template
592
+ # An object representing a node group's launch template
593
+ # specification. If specified, then do not specify `instanceTypes`,
594
+ # `diskSize`, or `remoteAccess`. If specified, make sure that the
595
+ # launch template meets the requirements in
596
+ # `launchTemplateSpecification`.
597
+ # @return [Types::LaunchTemplateSpecification]
598
+ #
528
599
  # @!attribute [rw] version
529
600
  # The Kubernetes version to use for your managed nodes. By default,
530
601
  # the Kubernetes version of the cluster is used, and this is the only
531
- # accepted specified value.
602
+ # accepted specified value. If you specify `launchTemplate`, and your
603
+ # launch template uses a custom AMI, then don't specify `version`, or
604
+ # the node group deployment will fail. For more information about
605
+ # using launch templates with Amazon EKS, see [Launch template
606
+ # support][1] in the Amazon EKS User Guide.
607
+ #
608
+ #
609
+ #
610
+ # [1]: https://docs.aws.amazon.com/eks/latest/userguide/launch-templates.html
532
611
  # @return [String]
533
612
  #
534
613
  # @!attribute [rw] release_version
@@ -536,11 +615,16 @@ module Aws::EKS
536
615
  # node group. By default, the latest available AMI version for the
537
616
  # node group's current Kubernetes version is used. For more
538
617
  # information, see [Amazon EKS-Optimized Linux AMI Versions][1] in the
539
- # *Amazon EKS User Guide*.
618
+ # *Amazon EKS User Guide*. If you specify `launchTemplate`, and your
619
+ # launch template uses a custom AMI, then don't specify
620
+ # `releaseVersion`, or the node group deployment will fail. For more
621
+ # information about using launch templates with Amazon EKS, see
622
+ # [Launch template support][2] in the Amazon EKS User Guide.
540
623
  #
541
624
  #
542
625
  #
543
626
  # [1]: https://docs.aws.amazon.com/eks/latest/userguide/eks-linux-ami-versions.html
627
+ # [2]: https://docs.aws.amazon.com/eks/latest/userguide/launch-templates.html
544
628
  # @return [String]
545
629
  #
546
630
  # @see http://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/CreateNodegroupRequest AWS API Documentation
@@ -558,8 +642,10 @@ module Aws::EKS
558
642
  :labels,
559
643
  :tags,
560
644
  :client_request_token,
645
+ :launch_template,
561
646
  :version,
562
647
  :release_version)
648
+ SENSITIVE = []
563
649
  include Aws::Structure
564
650
  end
565
651
 
@@ -571,6 +657,7 @@ module Aws::EKS
571
657
  #
572
658
  class CreateNodegroupResponse < Struct.new(
573
659
  :nodegroup)
660
+ SENSITIVE = []
574
661
  include Aws::Structure
575
662
  end
576
663
 
@@ -589,6 +676,7 @@ module Aws::EKS
589
676
  #
590
677
  class DeleteClusterRequest < Struct.new(
591
678
  :name)
679
+ SENSITIVE = []
592
680
  include Aws::Structure
593
681
  end
594
682
 
@@ -600,6 +688,7 @@ module Aws::EKS
600
688
  #
601
689
  class DeleteClusterResponse < Struct.new(
602
690
  :cluster)
691
+ SENSITIVE = []
603
692
  include Aws::Structure
604
693
  end
605
694
 
@@ -625,6 +714,7 @@ module Aws::EKS
625
714
  class DeleteFargateProfileRequest < Struct.new(
626
715
  :cluster_name,
627
716
  :fargate_profile_name)
717
+ SENSITIVE = []
628
718
  include Aws::Structure
629
719
  end
630
720
 
@@ -636,6 +726,7 @@ module Aws::EKS
636
726
  #
637
727
  class DeleteFargateProfileResponse < Struct.new(
638
728
  :fargate_profile)
729
+ SENSITIVE = []
639
730
  include Aws::Structure
640
731
  end
641
732
 
@@ -661,6 +752,7 @@ module Aws::EKS
661
752
  class DeleteNodegroupRequest < Struct.new(
662
753
  :cluster_name,
663
754
  :nodegroup_name)
755
+ SENSITIVE = []
664
756
  include Aws::Structure
665
757
  end
666
758
 
@@ -672,6 +764,7 @@ module Aws::EKS
672
764
  #
673
765
  class DeleteNodegroupResponse < Struct.new(
674
766
  :nodegroup)
767
+ SENSITIVE = []
675
768
  include Aws::Structure
676
769
  end
677
770
 
@@ -690,6 +783,7 @@ module Aws::EKS
690
783
  #
691
784
  class DescribeClusterRequest < Struct.new(
692
785
  :name)
786
+ SENSITIVE = []
693
787
  include Aws::Structure
694
788
  end
695
789
 
@@ -701,6 +795,7 @@ module Aws::EKS
701
795
  #
702
796
  class DescribeClusterResponse < Struct.new(
703
797
  :cluster)
798
+ SENSITIVE = []
704
799
  include Aws::Structure
705
800
  end
706
801
 
@@ -726,6 +821,7 @@ module Aws::EKS
726
821
  class DescribeFargateProfileRequest < Struct.new(
727
822
  :cluster_name,
728
823
  :fargate_profile_name)
824
+ SENSITIVE = []
729
825
  include Aws::Structure
730
826
  end
731
827
 
@@ -737,6 +833,7 @@ module Aws::EKS
737
833
  #
738
834
  class DescribeFargateProfileResponse < Struct.new(
739
835
  :fargate_profile)
836
+ SENSITIVE = []
740
837
  include Aws::Structure
741
838
  end
742
839
 
@@ -761,6 +858,7 @@ module Aws::EKS
761
858
  class DescribeNodegroupRequest < Struct.new(
762
859
  :cluster_name,
763
860
  :nodegroup_name)
861
+ SENSITIVE = []
764
862
  include Aws::Structure
765
863
  end
766
864
 
@@ -772,6 +870,7 @@ module Aws::EKS
772
870
  #
773
871
  class DescribeNodegroupResponse < Struct.new(
774
872
  :nodegroup)
873
+ SENSITIVE = []
775
874
  include Aws::Structure
776
875
  end
777
876
 
@@ -802,6 +901,7 @@ module Aws::EKS
802
901
  :name,
803
902
  :update_id,
804
903
  :nodegroup_name)
904
+ SENSITIVE = []
805
905
  include Aws::Structure
806
906
  end
807
907
 
@@ -813,6 +913,7 @@ module Aws::EKS
813
913
  #
814
914
  class DescribeUpdateResponse < Struct.new(
815
915
  :update)
916
+ SENSITIVE = []
816
917
  include Aws::Structure
817
918
  end
818
919
 
@@ -843,6 +944,7 @@ module Aws::EKS
843
944
  class EncryptionConfig < Struct.new(
844
945
  :resources,
845
946
  :provider)
947
+ SENSITIVE = []
846
948
  include Aws::Structure
847
949
  end
848
950
 
@@ -889,6 +991,7 @@ module Aws::EKS
889
991
  :error_code,
890
992
  :error_message,
891
993
  :resource_ids)
994
+ SENSITIVE = []
892
995
  include Aws::Structure
893
996
  end
894
997
 
@@ -955,6 +1058,7 @@ module Aws::EKS
955
1058
  :selectors,
956
1059
  :status,
957
1060
  :tags)
1061
+ SENSITIVE = []
958
1062
  include Aws::Structure
959
1063
  end
960
1064
 
@@ -985,6 +1089,7 @@ module Aws::EKS
985
1089
  class FargateProfileSelector < Struct.new(
986
1090
  :namespace,
987
1091
  :labels)
1092
+ SENSITIVE = []
988
1093
  include Aws::Structure
989
1094
  end
990
1095
 
@@ -1004,6 +1109,7 @@ module Aws::EKS
1004
1109
  #
1005
1110
  class Identity < Struct.new(
1006
1111
  :oidc)
1112
+ SENSITIVE = []
1007
1113
  include Aws::Structure
1008
1114
  end
1009
1115
 
@@ -1032,6 +1138,7 @@ module Aws::EKS
1032
1138
  :nodegroup_name,
1033
1139
  :fargate_profile_name,
1034
1140
  :message)
1141
+ SENSITIVE = []
1035
1142
  include Aws::Structure
1036
1143
  end
1037
1144
 
@@ -1055,6 +1162,7 @@ module Aws::EKS
1055
1162
  :cluster_name,
1056
1163
  :nodegroup_name,
1057
1164
  :message)
1165
+ SENSITIVE = []
1058
1166
  include Aws::Structure
1059
1167
  end
1060
1168
 
@@ -1083,6 +1191,14 @@ module Aws::EKS
1083
1191
  # version that Amazon EKS created. You may be able to revert to the
1084
1192
  # version that Amazon EKS created to recover.
1085
1193
  #
1194
+ # * **Ec2SubnetInvalidConfiguration**\: One or more Amazon EC2 subnets
1195
+ # specified for a node group do not automatically assign public IP
1196
+ # addresses to instances launched into it. If you want your
1197
+ # instances to be assigned a public IP address, then you need to
1198
+ # enable the `auto-assign public IP address` setting for the subnet.
1199
+ # See [Modifying the public IPv4 addressing attribute for your
1200
+ # subnet][1] in the Amazon VPC User Guide.
1201
+ #
1086
1202
  # * **IamInstanceProfileNotFound**\: We couldn't find the IAM
1087
1203
  # instance profile for your managed node group. You may be able to
1088
1204
  # recreate an instance profile with the same settings to recover.
@@ -1096,7 +1212,7 @@ module Aws::EKS
1096
1212
  #
1097
1213
  # * **NodeCreationFailure**\: Your launched instances are unable to
1098
1214
  # register with your Amazon EKS cluster. Common causes of this
1099
- # failure are insufficient [worker node IAM role][1] permissions or
1215
+ # failure are insufficient [worker node IAM role][2] permissions or
1100
1216
  # lack of outbound internet access for the nodes.
1101
1217
  #
1102
1218
  # * **InstanceLimitExceeded**\: Your AWS account is unable to launch
@@ -1115,7 +1231,8 @@ module Aws::EKS
1115
1231
  #
1116
1232
  #
1117
1233
  #
1118
- # [1]: https://docs.aws.amazon.com/eks/latest/userguide/worker_node_IAM_role.html
1234
+ # [1]: https://docs.aws.amazon.com/vpc/latest/userguide/vpc-ip-addressing.html#subnet-public-ip
1235
+ # [2]: https://docs.aws.amazon.com/eks/latest/userguide/worker_node_IAM_role.html
1119
1236
  # @return [String]
1120
1237
  #
1121
1238
  # @!attribute [rw] message
@@ -1132,6 +1249,61 @@ module Aws::EKS
1132
1249
  :code,
1133
1250
  :message,
1134
1251
  :resource_ids)
1252
+ SENSITIVE = []
1253
+ include Aws::Structure
1254
+ end
1255
+
1256
+ # An object representing a node group launch template specification. The
1257
+ # launch template cannot include [ `SubnetId` ][1], [
1258
+ # `IamInstanceProfile` ][2], [ `RequestSpotInstances` ][3], [
1259
+ # `HibernationOptions` ][4], or [ `TerminateInstances` ][5], or the node
1260
+ # group deployment or update will fail. For more information about
1261
+ # launch templates, see [ `CreateLaunchTemplate` ][6] in the Amazon EC2
1262
+ # API Reference. For more information about using launch templates with
1263
+ # Amazon EKS, see [Launch template support][7] in the Amazon EKS User
1264
+ # Guide.
1265
+ #
1266
+ # Specify either `name` or `id`, but not both.
1267
+ #
1268
+ #
1269
+ #
1270
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateNetworkInterface.html
1271
+ # [2]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_IamInstanceProfile.html
1272
+ # [3]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_RequestSpotInstances.html
1273
+ # [4]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_HibernationOptionsRequest.html
1274
+ # [5]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_TerminateInstances.html
1275
+ # [6]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateLaunchTemplate.html
1276
+ # [7]: https://docs.aws.amazon.com/eks/latest/userguide/launch-templates.html
1277
+ #
1278
+ # @note When making an API call, you may pass LaunchTemplateSpecification
1279
+ # data as a hash:
1280
+ #
1281
+ # {
1282
+ # name: "String",
1283
+ # version: "String",
1284
+ # id: "String",
1285
+ # }
1286
+ #
1287
+ # @!attribute [rw] name
1288
+ # The name of the launch template.
1289
+ # @return [String]
1290
+ #
1291
+ # @!attribute [rw] version
1292
+ # The version of the launch template to use. If no version is
1293
+ # specified, then the template's default version is used.
1294
+ # @return [String]
1295
+ #
1296
+ # @!attribute [rw] id
1297
+ # The ID of the launch template.
1298
+ # @return [String]
1299
+ #
1300
+ # @see http://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/LaunchTemplateSpecification AWS API Documentation
1301
+ #
1302
+ class LaunchTemplateSpecification < Struct.new(
1303
+ :name,
1304
+ :version,
1305
+ :id)
1306
+ SENSITIVE = []
1135
1307
  include Aws::Structure
1136
1308
  end
1137
1309
 
@@ -1172,6 +1344,7 @@ module Aws::EKS
1172
1344
  class ListClustersRequest < Struct.new(
1173
1345
  :max_results,
1174
1346
  :next_token)
1347
+ SENSITIVE = []
1175
1348
  include Aws::Structure
1176
1349
  end
1177
1350
 
@@ -1192,6 +1365,7 @@ module Aws::EKS
1192
1365
  class ListClustersResponse < Struct.new(
1193
1366
  :clusters,
1194
1367
  :next_token)
1368
+ SENSITIVE = []
1195
1369
  include Aws::Structure
1196
1370
  end
1197
1371
 
@@ -1235,6 +1409,7 @@ module Aws::EKS
1235
1409
  :cluster_name,
1236
1410
  :max_results,
1237
1411
  :next_token)
1412
+ SENSITIVE = []
1238
1413
  include Aws::Structure
1239
1414
  end
1240
1415
 
@@ -1256,6 +1431,7 @@ module Aws::EKS
1256
1431
  class ListFargateProfilesResponse < Struct.new(
1257
1432
  :fargate_profile_names,
1258
1433
  :next_token)
1434
+ SENSITIVE = []
1259
1435
  include Aws::Structure
1260
1436
  end
1261
1437
 
@@ -1298,6 +1474,7 @@ module Aws::EKS
1298
1474
  :cluster_name,
1299
1475
  :max_results,
1300
1476
  :next_token)
1477
+ SENSITIVE = []
1301
1478
  include Aws::Structure
1302
1479
  end
1303
1480
 
@@ -1319,6 +1496,7 @@ module Aws::EKS
1319
1496
  class ListNodegroupsResponse < Struct.new(
1320
1497
  :nodegroups,
1321
1498
  :next_token)
1499
+ SENSITIVE = []
1322
1500
  include Aws::Structure
1323
1501
  end
1324
1502
 
@@ -1339,6 +1517,7 @@ module Aws::EKS
1339
1517
  #
1340
1518
  class ListTagsForResourceRequest < Struct.new(
1341
1519
  :resource_arn)
1520
+ SENSITIVE = []
1342
1521
  include Aws::Structure
1343
1522
  end
1344
1523
 
@@ -1350,6 +1529,7 @@ module Aws::EKS
1350
1529
  #
1351
1530
  class ListTagsForResourceResponse < Struct.new(
1352
1531
  :tags)
1532
+ SENSITIVE = []
1353
1533
  include Aws::Structure
1354
1534
  end
1355
1535
 
@@ -1396,6 +1576,7 @@ module Aws::EKS
1396
1576
  :nodegroup_name,
1397
1577
  :next_token,
1398
1578
  :max_results)
1579
+ SENSITIVE = []
1399
1580
  include Aws::Structure
1400
1581
  end
1401
1582
 
@@ -1415,6 +1596,7 @@ module Aws::EKS
1415
1596
  class ListUpdatesResponse < Struct.new(
1416
1597
  :update_ids,
1417
1598
  :next_token)
1599
+ SENSITIVE = []
1418
1600
  include Aws::Structure
1419
1601
  end
1420
1602
 
@@ -1445,6 +1627,7 @@ module Aws::EKS
1445
1627
  class LogSetup < Struct.new(
1446
1628
  :types,
1447
1629
  :enabled)
1630
+ SENSITIVE = []
1448
1631
  include Aws::Structure
1449
1632
  end
1450
1633
 
@@ -1471,6 +1654,7 @@ module Aws::EKS
1471
1654
  #
1472
1655
  class Logging < Struct.new(
1473
1656
  :cluster_logging)
1657
+ SENSITIVE = []
1474
1658
  include Aws::Structure
1475
1659
  end
1476
1660
 
@@ -1494,13 +1678,11 @@ module Aws::EKS
1494
1678
  # @return [String]
1495
1679
  #
1496
1680
  # @!attribute [rw] release_version
1497
- # The AMI version of the managed node group. For more information, see
1498
- # [Amazon EKS-Optimized Linux AMI Versions ][1] in the *Amazon EKS
1499
- # User Guide*.
1500
- #
1501
- #
1502
- #
1503
- # [1]: https://docs.aws.amazon.com/eks/latest/userguide/eks-linux-ami-versions.html
1681
+ # If the node group was deployed using a launch template with a custom
1682
+ # AMI, then this is the AMI ID that was specified in the launch
1683
+ # template. For node groups that weren't deployed using a launch
1684
+ # template, this is the version of the Amazon EKS-optimized AMI that
1685
+ # the node group was deployed with.
1504
1686
  # @return [String]
1505
1687
  #
1506
1688
  # @!attribute [rw] created_at
@@ -1523,42 +1705,36 @@ module Aws::EKS
1523
1705
  # @return [Types::NodegroupScalingConfig]
1524
1706
  #
1525
1707
  # @!attribute [rw] instance_types
1526
- # The instance types associated with your node group.
1708
+ # If the node group wasn't deployed with a launch template, then this
1709
+ # is the instance type that is associated with the node group. If the
1710
+ # node group was deployed with a launch template, then `instanceTypes`
1711
+ # is `null`.
1527
1712
  # @return [Array<String>]
1528
1713
  #
1529
1714
  # @!attribute [rw] subnets
1530
- # The subnets allowed for the Auto Scaling group that is associated
1531
- # with your node group. These subnets must have the following tag:
1532
- # `kubernetes.io/cluster/CLUSTER_NAME`, where `CLUSTER_NAME` is
1533
- # replaced with the name of your cluster.
1715
+ # The subnets that were specified for the Auto Scaling group that is
1716
+ # associated with your node group.
1534
1717
  # @return [Array<String>]
1535
1718
  #
1536
1719
  # @!attribute [rw] remote_access
1537
- # The remote access (SSH) configuration that is associated with the
1538
- # node group.
1720
+ # If the node group wasn't deployed with a launch template, then this
1721
+ # is the remote access configuration that is associated with the node
1722
+ # group. If the node group was deployed with a launch template, then
1723
+ # `remoteAccess` is `null`.
1539
1724
  # @return [Types::RemoteAccessConfig]
1540
1725
  #
1541
1726
  # @!attribute [rw] ami_type
1542
- # The AMI type associated with your node group. GPU instance types
1543
- # should use the `AL2_x86_64_GPU` AMI type, which uses the Amazon
1544
- # EKS-optimized Linux AMI with GPU support. Non-GPU instances should
1545
- # use the `AL2_x86_64` AMI type, which uses the Amazon EKS-optimized
1546
- # Linux AMI.
1727
+ # If the node group was deployed using a launch template with a custom
1728
+ # AMI, then this is `CUSTOM`. For node groups that weren't deployed
1729
+ # using a launch template, this is the AMI type that was specified in
1730
+ # the node group configuration.
1547
1731
  # @return [String]
1548
1732
  #
1549
1733
  # @!attribute [rw] node_role
1550
1734
  # The IAM role associated with your node group. The Amazon EKS worker
1551
1735
  # node `kubelet` daemon makes calls to AWS APIs on your behalf. Worker
1552
1736
  # nodes receive permissions for these API calls through an IAM
1553
- # instance profile and associated policies. Before you can launch
1554
- # worker nodes and register them into a cluster, you must create an
1555
- # IAM role for those worker nodes to use when they are launched. For
1556
- # more information, see [Amazon EKS Worker Node IAM Role][1] in the
1557
- # <i> <i>Amazon EKS User Guide</i> </i>.
1558
- #
1559
- #
1560
- #
1561
- # [1]: https://docs.aws.amazon.com/eks/latest/userguide/worker_node_IAM_role.html
1737
+ # instance profile and associated policies.
1562
1738
  # @return [String]
1563
1739
  #
1564
1740
  # @!attribute [rw] labels
@@ -1577,8 +1753,9 @@ module Aws::EKS
1577
1753
  # @return [Types::NodegroupResources]
1578
1754
  #
1579
1755
  # @!attribute [rw] disk_size
1580
- # The root device disk size (in GiB) for your node group instances.
1581
- # The default disk size is 20 GiB.
1756
+ # If the node group wasn't deployed with a launch template, then this
1757
+ # is the disk size in the node group configuration. If the node group
1758
+ # was deployed with a launch template, then `diskSize` is `null`.
1582
1759
  # @return [Integer]
1583
1760
  #
1584
1761
  # @!attribute [rw] health
@@ -1586,6 +1763,11 @@ module Aws::EKS
1586
1763
  # node group's health, they are listed here.
1587
1764
  # @return [Types::NodegroupHealth]
1588
1765
  #
1766
+ # @!attribute [rw] launch_template
1767
+ # If a launch template was used to create the node group, then this is
1768
+ # the launch template that was used.
1769
+ # @return [Types::LaunchTemplateSpecification]
1770
+ #
1589
1771
  # @!attribute [rw] tags
1590
1772
  # The metadata applied to the node group to assist with categorization
1591
1773
  # and organization. Each tag consists of a key and an optional value,
@@ -1615,7 +1797,9 @@ module Aws::EKS
1615
1797
  :resources,
1616
1798
  :disk_size,
1617
1799
  :health,
1800
+ :launch_template,
1618
1801
  :tags)
1802
+ SENSITIVE = []
1619
1803
  include Aws::Structure
1620
1804
  end
1621
1805
 
@@ -1629,6 +1813,7 @@ module Aws::EKS
1629
1813
  #
1630
1814
  class NodegroupHealth < Struct.new(
1631
1815
  :issues)
1816
+ SENSITIVE = []
1632
1817
  include Aws::Structure
1633
1818
  end
1634
1819
 
@@ -1649,11 +1834,14 @@ module Aws::EKS
1649
1834
  class NodegroupResources < Struct.new(
1650
1835
  :auto_scaling_groups,
1651
1836
  :remote_access_security_group)
1837
+ SENSITIVE = []
1652
1838
  include Aws::Structure
1653
1839
  end
1654
1840
 
1655
1841
  # An object representing the scaling configuration details for the Auto
1656
- # Scaling group that is associated with your node group.
1842
+ # Scaling group that is associated with your node group. If you specify
1843
+ # a value for any property, then you must specify values for all of the
1844
+ # properties.
1657
1845
  #
1658
1846
  # @note When making an API call, you may pass NodegroupScalingConfig
1659
1847
  # data as a hash:
@@ -1686,6 +1874,7 @@ module Aws::EKS
1686
1874
  :min_size,
1687
1875
  :max_size,
1688
1876
  :desired_size)
1877
+ SENSITIVE = []
1689
1878
  include Aws::Structure
1690
1879
  end
1691
1880
 
@@ -1699,6 +1888,7 @@ module Aws::EKS
1699
1888
  #
1700
1889
  class NotFoundException < Struct.new(
1701
1890
  :message)
1891
+ SENSITIVE = []
1702
1892
  include Aws::Structure
1703
1893
  end
1704
1894
 
@@ -1717,6 +1907,7 @@ module Aws::EKS
1717
1907
  #
1718
1908
  class OIDC < Struct.new(
1719
1909
  :issuer)
1910
+ SENSITIVE = []
1720
1911
  include Aws::Structure
1721
1912
  end
1722
1913
 
@@ -1747,6 +1938,7 @@ module Aws::EKS
1747
1938
  #
1748
1939
  class Provider < Struct.new(
1749
1940
  :key_arn)
1941
+ SENSITIVE = []
1750
1942
  include Aws::Structure
1751
1943
  end
1752
1944
 
@@ -1790,6 +1982,7 @@ module Aws::EKS
1790
1982
  class RemoteAccessConfig < Struct.new(
1791
1983
  :ec2_ssh_key,
1792
1984
  :source_security_groups)
1985
+ SENSITIVE = []
1793
1986
  include Aws::Structure
1794
1987
  end
1795
1988
 
@@ -1812,6 +2005,7 @@ module Aws::EKS
1812
2005
  :cluster_name,
1813
2006
  :nodegroup_name,
1814
2007
  :message)
2008
+ SENSITIVE = []
1815
2009
  include Aws::Structure
1816
2010
  end
1817
2011
 
@@ -1834,6 +2028,7 @@ module Aws::EKS
1834
2028
  :cluster_name,
1835
2029
  :nodegroup_name,
1836
2030
  :message)
2031
+ SENSITIVE = []
1837
2032
  include Aws::Structure
1838
2033
  end
1839
2034
 
@@ -1864,6 +2059,7 @@ module Aws::EKS
1864
2059
  :nodegroup_name,
1865
2060
  :fargate_profile_name,
1866
2061
  :message)
2062
+ SENSITIVE = []
1867
2063
  include Aws::Structure
1868
2064
  end
1869
2065
 
@@ -1886,6 +2082,7 @@ module Aws::EKS
1886
2082
  :cluster_name,
1887
2083
  :nodegroup_name,
1888
2084
  :message)
2085
+ SENSITIVE = []
1889
2086
  include Aws::Structure
1890
2087
  end
1891
2088
 
@@ -1898,6 +2095,7 @@ module Aws::EKS
1898
2095
  #
1899
2096
  class ServiceUnavailableException < Struct.new(
1900
2097
  :message)
2098
+ SENSITIVE = []
1901
2099
  include Aws::Structure
1902
2100
  end
1903
2101
 
@@ -1927,6 +2125,7 @@ module Aws::EKS
1927
2125
  class TagResourceRequest < Struct.new(
1928
2126
  :resource_arn,
1929
2127
  :tags)
2128
+ SENSITIVE = []
1930
2129
  include Aws::Structure
1931
2130
  end
1932
2131
 
@@ -1962,6 +2161,7 @@ module Aws::EKS
1962
2161
  :cluster_name,
1963
2162
  :nodegroup_name,
1964
2163
  :valid_zones)
2164
+ SENSITIVE = []
1965
2165
  include Aws::Structure
1966
2166
  end
1967
2167
 
@@ -1988,6 +2188,7 @@ module Aws::EKS
1988
2188
  class UntagResourceRequest < Struct.new(
1989
2189
  :resource_arn,
1990
2190
  :tag_keys)
2191
+ SENSITIVE = []
1991
2192
  include Aws::Structure
1992
2193
  end
1993
2194
 
@@ -2031,6 +2232,7 @@ module Aws::EKS
2031
2232
  :params,
2032
2233
  :created_at,
2033
2234
  :errors)
2235
+ SENSITIVE = []
2034
2236
  include Aws::Structure
2035
2237
  end
2036
2238
 
@@ -2100,6 +2302,7 @@ module Aws::EKS
2100
2302
  :resources_vpc_config,
2101
2303
  :logging,
2102
2304
  :client_request_token)
2305
+ SENSITIVE = []
2103
2306
  include Aws::Structure
2104
2307
  end
2105
2308
 
@@ -2111,6 +2314,7 @@ module Aws::EKS
2111
2314
  #
2112
2315
  class UpdateClusterConfigResponse < Struct.new(
2113
2316
  :update)
2317
+ SENSITIVE = []
2114
2318
  include Aws::Structure
2115
2319
  end
2116
2320
 
@@ -2145,6 +2349,7 @@ module Aws::EKS
2145
2349
  :name,
2146
2350
  :version,
2147
2351
  :client_request_token)
2352
+ SENSITIVE = []
2148
2353
  include Aws::Structure
2149
2354
  end
2150
2355
 
@@ -2156,6 +2361,7 @@ module Aws::EKS
2156
2361
  #
2157
2362
  class UpdateClusterVersionResponse < Struct.new(
2158
2363
  :update)
2364
+ SENSITIVE = []
2159
2365
  include Aws::Structure
2160
2366
  end
2161
2367
 
@@ -2185,6 +2391,7 @@ module Aws::EKS
2185
2391
  class UpdateLabelsPayload < Struct.new(
2186
2392
  :add_or_update_labels,
2187
2393
  :remove_labels)
2394
+ SENSITIVE = []
2188
2395
  include Aws::Structure
2189
2396
  end
2190
2397
 
@@ -2243,6 +2450,7 @@ module Aws::EKS
2243
2450
  :labels,
2244
2451
  :scaling_config,
2245
2452
  :client_request_token)
2453
+ SENSITIVE = []
2246
2454
  include Aws::Structure
2247
2455
  end
2248
2456
 
@@ -2254,6 +2462,7 @@ module Aws::EKS
2254
2462
  #
2255
2463
  class UpdateNodegroupConfigResponse < Struct.new(
2256
2464
  :update)
2465
+ SENSITIVE = []
2257
2466
  include Aws::Structure
2258
2467
  end
2259
2468
 
@@ -2265,6 +2474,11 @@ module Aws::EKS
2265
2474
  # nodegroup_name: "String", # required
2266
2475
  # version: "String",
2267
2476
  # release_version: "String",
2477
+ # launch_template: {
2478
+ # name: "String",
2479
+ # version: "String",
2480
+ # id: "String",
2481
+ # },
2268
2482
  # force: false,
2269
2483
  # client_request_token: "String",
2270
2484
  # }
@@ -2283,7 +2497,15 @@ module Aws::EKS
2283
2497
  # then the Kubernetes version of the node group does not change. You
2284
2498
  # can specify the Kubernetes version of the cluster to update the node
2285
2499
  # group to the latest AMI version of the cluster's Kubernetes
2286
- # version.
2500
+ # version. If you specify `launchTemplate`, and your launch template
2501
+ # uses a custom AMI, then don't specify `version`, or the node group
2502
+ # update will fail. For more information about using launch templates
2503
+ # with Amazon EKS, see [Launch template support][1] in the Amazon EKS
2504
+ # User Guide.
2505
+ #
2506
+ #
2507
+ #
2508
+ # [1]: https://docs.aws.amazon.com/eks/latest/userguide/launch-templates.html
2287
2509
  # @return [String]
2288
2510
  #
2289
2511
  # @!attribute [rw] release_version
@@ -2291,13 +2513,25 @@ module Aws::EKS
2291
2513
  # update. By default, the latest available AMI version for the node
2292
2514
  # group's Kubernetes version is used. For more information, see
2293
2515
  # [Amazon EKS-Optimized Linux AMI Versions ][1] in the *Amazon EKS
2294
- # User Guide*.
2516
+ # User Guide*. If you specify `launchTemplate`, and your launch
2517
+ # template uses a custom AMI, then don't specify `releaseVersion`, or
2518
+ # the node group update will fail. For more information about using
2519
+ # launch templates with Amazon EKS, see [Launch template support][2]
2520
+ # in the Amazon EKS User Guide.
2295
2521
  #
2296
2522
  #
2297
2523
  #
2298
2524
  # [1]: https://docs.aws.amazon.com/eks/latest/userguide/eks-linux-ami-versions.html
2525
+ # [2]: https://docs.aws.amazon.com/eks/latest/userguide/launch-templates.html
2299
2526
  # @return [String]
2300
2527
  #
2528
+ # @!attribute [rw] launch_template
2529
+ # An object representing a node group's launch template
2530
+ # specification. You can only update a node group using a launch
2531
+ # template if the node group was originally deployed with a launch
2532
+ # template.
2533
+ # @return [Types::LaunchTemplateSpecification]
2534
+ #
2301
2535
  # @!attribute [rw] force
2302
2536
  # Force the update if the existing node group's pods are unable to be
2303
2537
  # drained due to a pod disruption budget issue. If an update fails
@@ -2321,8 +2555,10 @@ module Aws::EKS
2321
2555
  :nodegroup_name,
2322
2556
  :version,
2323
2557
  :release_version,
2558
+ :launch_template,
2324
2559
  :force,
2325
2560
  :client_request_token)
2561
+ SENSITIVE = []
2326
2562
  include Aws::Structure
2327
2563
  end
2328
2564
 
@@ -2334,6 +2570,7 @@ module Aws::EKS
2334
2570
  #
2335
2571
  class UpdateNodegroupVersionResponse < Struct.new(
2336
2572
  :update)
2573
+ SENSITIVE = []
2337
2574
  include Aws::Structure
2338
2575
  end
2339
2576
 
@@ -2352,6 +2589,7 @@ module Aws::EKS
2352
2589
  class UpdateParam < Struct.new(
2353
2590
  :type,
2354
2591
  :value)
2592
+ SENSITIVE = []
2355
2593
  include Aws::Structure
2356
2594
  end
2357
2595
 
@@ -2439,6 +2677,7 @@ module Aws::EKS
2439
2677
  :endpoint_public_access,
2440
2678
  :endpoint_private_access,
2441
2679
  :public_access_cidrs)
2680
+ SENSITIVE = []
2442
2681
  include Aws::Structure
2443
2682
  end
2444
2683
 
@@ -2514,6 +2753,7 @@ module Aws::EKS
2514
2753
  :endpoint_public_access,
2515
2754
  :endpoint_private_access,
2516
2755
  :public_access_cidrs)
2756
+ SENSITIVE = []
2517
2757
  include Aws::Structure
2518
2758
  end
2519
2759