aws-sdk-eks 1.42.0 → 1.43.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aws-sdk-eks.rb +1 -1
- data/lib/aws-sdk-eks/client.rb +19 -10
- data/lib/aws-sdk-eks/client_api.rb +10 -0
- data/lib/aws-sdk-eks/types.rb +77 -11
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e643aaeaf6fd2bd87ba886b74fdfe88f835a49e0a8a4c3b70d5154488db1a163
|
4
|
+
data.tar.gz: 1d5772c7531bab316e3a6252578e18bce2ce916a88a9ace4cba5d69a3c7330aa
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 132b8a7b2eea84d79a9c00ce7d19ed6d616343ea523bc01124c8d211f738fa40d49b2577bf4302d8c7f6c89980bfa5a61b2655f7589899f3ca6154c77faaeb36
|
7
|
+
data.tar.gz: 37562972e2b80cec7326408273befa35865a66565fead20d216ce00c183d77c819a7e586d6fc2b610be9f49ce3bd4e18022f5b1bedd41af161d83c9c19de53b2
|
data/lib/aws-sdk-eks.rb
CHANGED
data/lib/aws-sdk-eks/client.rb
CHANGED
@@ -412,6 +412,9 @@ module Aws::EKS
|
|
412
412
|
# [1]: https://docs.aws.amazon.com/eks/latest/userguide/network_reqs.html
|
413
413
|
# [2]: https://docs.aws.amazon.com/eks/latest/userguide/sec-group-reqs.html
|
414
414
|
#
|
415
|
+
# @option params [Types::KubernetesNetworkConfigRequest] :kubernetes_network_config
|
416
|
+
# The Kubernetes network configuration for the cluster.
|
417
|
+
#
|
415
418
|
# @option params [Types::Logging] :logging
|
416
419
|
# Enable or disable exporting the Kubernetes control plane logs for your
|
417
420
|
# cluster to CloudWatch Logs. By default, cluster control plane logs
|
@@ -487,6 +490,9 @@ module Aws::EKS
|
|
487
490
|
# endpoint_private_access: false,
|
488
491
|
# public_access_cidrs: ["String"],
|
489
492
|
# },
|
493
|
+
# kubernetes_network_config: {
|
494
|
+
# service_ipv_4_cidr: "String",
|
495
|
+
# },
|
490
496
|
# logging: {
|
491
497
|
# cluster_logging: [
|
492
498
|
# {
|
@@ -527,6 +533,7 @@ module Aws::EKS
|
|
527
533
|
# resp.cluster.resources_vpc_config.endpoint_private_access #=> Boolean
|
528
534
|
# resp.cluster.resources_vpc_config.public_access_cidrs #=> Array
|
529
535
|
# resp.cluster.resources_vpc_config.public_access_cidrs[0] #=> String
|
536
|
+
# resp.cluster.kubernetes_network_config.service_ipv_4_cidr #=> String
|
530
537
|
# resp.cluster.logging.cluster_logging #=> Array
|
531
538
|
# resp.cluster.logging.cluster_logging[0].types #=> Array
|
532
539
|
# resp.cluster.logging.cluster_logging[0].types[0] #=> String, one of "api", "audit", "authenticator", "controllerManager", "scheduler"
|
@@ -759,13 +766,13 @@ module Aws::EKS
|
|
759
766
|
#
|
760
767
|
# @option params [String] :ami_type
|
761
768
|
# The AMI type for your node group. GPU instance types should use the
|
762
|
-
# `AL2_x86_64_GPU` AMI type
|
763
|
-
# AMI
|
764
|
-
#
|
765
|
-
# specify `launchTemplate`, and your launch template uses a custom
|
766
|
-
# then don't specify `amiType`, or the node group deployment will
|
767
|
-
# For more information about using launch templates with Amazon
|
768
|
-
# [Launch template support][1] in the Amazon EKS User Guide.
|
769
|
+
# `AL2_x86_64_GPU` AMI type. Non-GPU instances should use the
|
770
|
+
# `AL2_x86_64` AMI type. Arm instances should use the `AL2_ARM_64` AMI
|
771
|
+
# type. All types use the Amazon EKS-optimized Amazon Linux 2 AMI. If
|
772
|
+
# you specify `launchTemplate`, and your launch template uses a custom
|
773
|
+
# AMI, then don't specify `amiType`, or the node group deployment will
|
774
|
+
# fail. For more information about using launch templates with Amazon
|
775
|
+
# EKS, see [Launch template support][1] in the Amazon EKS User Guide.
|
769
776
|
#
|
770
777
|
#
|
771
778
|
#
|
@@ -823,8 +830,8 @@ module Aws::EKS
|
|
823
830
|
# @option params [Types::LaunchTemplateSpecification] :launch_template
|
824
831
|
# An object representing a node group's launch template specification.
|
825
832
|
# If specified, then do not specify `instanceTypes`, `diskSize`, or
|
826
|
-
# `remoteAccess
|
827
|
-
#
|
833
|
+
# `remoteAccess` and make sure that the launch template meets the
|
834
|
+
# requirements in `launchTemplateSpecification`.
|
828
835
|
#
|
829
836
|
# @option params [String] :version
|
830
837
|
# The Kubernetes version to use for your managed nodes. By default, the
|
@@ -1003,6 +1010,7 @@ module Aws::EKS
|
|
1003
1010
|
# resp.cluster.resources_vpc_config.endpoint_private_access #=> Boolean
|
1004
1011
|
# resp.cluster.resources_vpc_config.public_access_cidrs #=> Array
|
1005
1012
|
# resp.cluster.resources_vpc_config.public_access_cidrs[0] #=> String
|
1013
|
+
# resp.cluster.kubernetes_network_config.service_ipv_4_cidr #=> String
|
1006
1014
|
# resp.cluster.logging.cluster_logging #=> Array
|
1007
1015
|
# resp.cluster.logging.cluster_logging[0].types #=> Array
|
1008
1016
|
# resp.cluster.logging.cluster_logging[0].types[0] #=> String, one of "api", "audit", "authenticator", "controllerManager", "scheduler"
|
@@ -1234,6 +1242,7 @@ module Aws::EKS
|
|
1234
1242
|
# resp.cluster.resources_vpc_config.endpoint_private_access #=> Boolean
|
1235
1243
|
# resp.cluster.resources_vpc_config.public_access_cidrs #=> Array
|
1236
1244
|
# resp.cluster.resources_vpc_config.public_access_cidrs[0] #=> String
|
1245
|
+
# resp.cluster.kubernetes_network_config.service_ipv_4_cidr #=> String
|
1237
1246
|
# resp.cluster.logging.cluster_logging #=> Array
|
1238
1247
|
# resp.cluster.logging.cluster_logging[0].types #=> Array
|
1239
1248
|
# resp.cluster.logging.cluster_logging[0].types[0] #=> String, one of "api", "audit", "authenticator", "controllerManager", "scheduler"
|
@@ -2187,7 +2196,7 @@ module Aws::EKS
|
|
2187
2196
|
params: params,
|
2188
2197
|
config: config)
|
2189
2198
|
context[:gem_name] = 'aws-sdk-eks'
|
2190
|
-
context[:gem_version] = '1.
|
2199
|
+
context[:gem_version] = '1.43.0'
|
2191
2200
|
Seahorse::Client::Request.new(handlers, context)
|
2192
2201
|
end
|
2193
2202
|
|
@@ -62,6 +62,8 @@ module Aws::EKS
|
|
62
62
|
InvalidRequestException = Shapes::StructureShape.new(name: 'InvalidRequestException')
|
63
63
|
Issue = Shapes::StructureShape.new(name: 'Issue')
|
64
64
|
IssueList = Shapes::ListShape.new(name: 'IssueList')
|
65
|
+
KubernetesNetworkConfigRequest = Shapes::StructureShape.new(name: 'KubernetesNetworkConfigRequest')
|
66
|
+
KubernetesNetworkConfigResponse = Shapes::StructureShape.new(name: 'KubernetesNetworkConfigResponse')
|
65
67
|
LaunchTemplateSpecification = Shapes::StructureShape.new(name: 'LaunchTemplateSpecification')
|
66
68
|
ListClustersRequest = Shapes::StructureShape.new(name: 'ListClustersRequest')
|
67
69
|
ListClustersRequestMaxResults = Shapes::IntegerShape.new(name: 'ListClustersRequestMaxResults')
|
@@ -153,6 +155,7 @@ module Aws::EKS
|
|
153
155
|
Cluster.add_member(:endpoint, Shapes::ShapeRef.new(shape: String, location_name: "endpoint"))
|
154
156
|
Cluster.add_member(:role_arn, Shapes::ShapeRef.new(shape: String, location_name: "roleArn"))
|
155
157
|
Cluster.add_member(:resources_vpc_config, Shapes::ShapeRef.new(shape: VpcConfigResponse, location_name: "resourcesVpcConfig"))
|
158
|
+
Cluster.add_member(:kubernetes_network_config, Shapes::ShapeRef.new(shape: KubernetesNetworkConfigResponse, location_name: "kubernetesNetworkConfig"))
|
156
159
|
Cluster.add_member(:logging, Shapes::ShapeRef.new(shape: Logging, location_name: "logging"))
|
157
160
|
Cluster.add_member(:identity, Shapes::ShapeRef.new(shape: Identity, location_name: "identity"))
|
158
161
|
Cluster.add_member(:status, Shapes::ShapeRef.new(shape: ClusterStatus, location_name: "status"))
|
@@ -167,6 +170,7 @@ module Aws::EKS
|
|
167
170
|
CreateClusterRequest.add_member(:version, Shapes::ShapeRef.new(shape: String, location_name: "version"))
|
168
171
|
CreateClusterRequest.add_member(:role_arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "roleArn"))
|
169
172
|
CreateClusterRequest.add_member(:resources_vpc_config, Shapes::ShapeRef.new(shape: VpcConfigRequest, required: true, location_name: "resourcesVpcConfig"))
|
173
|
+
CreateClusterRequest.add_member(:kubernetes_network_config, Shapes::ShapeRef.new(shape: KubernetesNetworkConfigRequest, location_name: "kubernetesNetworkConfig"))
|
170
174
|
CreateClusterRequest.add_member(:logging, Shapes::ShapeRef.new(shape: Logging, location_name: "logging"))
|
171
175
|
CreateClusterRequest.add_member(:client_request_token, Shapes::ShapeRef.new(shape: String, location_name: "clientRequestToken", metadata: {"idempotencyToken"=>true}))
|
172
176
|
CreateClusterRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
|
@@ -310,6 +314,12 @@ module Aws::EKS
|
|
310
314
|
|
311
315
|
IssueList.member = Shapes::ShapeRef.new(shape: Issue)
|
312
316
|
|
317
|
+
KubernetesNetworkConfigRequest.add_member(:service_ipv_4_cidr, Shapes::ShapeRef.new(shape: String, location_name: "serviceIpv4Cidr"))
|
318
|
+
KubernetesNetworkConfigRequest.struct_class = Types::KubernetesNetworkConfigRequest
|
319
|
+
|
320
|
+
KubernetesNetworkConfigResponse.add_member(:service_ipv_4_cidr, Shapes::ShapeRef.new(shape: String, location_name: "serviceIpv4Cidr"))
|
321
|
+
KubernetesNetworkConfigResponse.struct_class = Types::KubernetesNetworkConfigResponse
|
322
|
+
|
313
323
|
LaunchTemplateSpecification.add_member(:name, Shapes::ShapeRef.new(shape: String, location_name: "name"))
|
314
324
|
LaunchTemplateSpecification.add_member(:version, Shapes::ShapeRef.new(shape: String, location_name: "version"))
|
315
325
|
LaunchTemplateSpecification.add_member(:id, Shapes::ShapeRef.new(shape: String, location_name: "id"))
|
data/lib/aws-sdk-eks/types.rb
CHANGED
@@ -126,6 +126,10 @@ module Aws::EKS
|
|
126
126
|
# [2]: https://docs.aws.amazon.com/eks/latest/userguide/sec-group-reqs.html
|
127
127
|
# @return [Types::VpcConfigResponse]
|
128
128
|
#
|
129
|
+
# @!attribute [rw] kubernetes_network_config
|
130
|
+
# Network configuration settings for your cluster.
|
131
|
+
# @return [Types::KubernetesNetworkConfigResponse]
|
132
|
+
#
|
129
133
|
# @!attribute [rw] logging
|
130
134
|
# The logging configuration for your cluster.
|
131
135
|
# @return [Types::Logging]
|
@@ -178,6 +182,7 @@ module Aws::EKS
|
|
178
182
|
:endpoint,
|
179
183
|
:role_arn,
|
180
184
|
:resources_vpc_config,
|
185
|
+
:kubernetes_network_config,
|
181
186
|
:logging,
|
182
187
|
:identity,
|
183
188
|
:status,
|
@@ -204,6 +209,9 @@ module Aws::EKS
|
|
204
209
|
# endpoint_private_access: false,
|
205
210
|
# public_access_cidrs: ["String"],
|
206
211
|
# },
|
212
|
+
# kubernetes_network_config: {
|
213
|
+
# service_ipv_4_cidr: "String",
|
214
|
+
# },
|
207
215
|
# logging: {
|
208
216
|
# cluster_logging: [
|
209
217
|
# {
|
@@ -262,6 +270,10 @@ module Aws::EKS
|
|
262
270
|
# [2]: https://docs.aws.amazon.com/eks/latest/userguide/sec-group-reqs.html
|
263
271
|
# @return [Types::VpcConfigRequest]
|
264
272
|
#
|
273
|
+
# @!attribute [rw] kubernetes_network_config
|
274
|
+
# The Kubernetes network configuration for the cluster.
|
275
|
+
# @return [Types::KubernetesNetworkConfigRequest]
|
276
|
+
#
|
265
277
|
# @!attribute [rw] logging
|
266
278
|
# Enable or disable exporting the Kubernetes control plane logs for
|
267
279
|
# your cluster to CloudWatch Logs. By default, cluster control plane
|
@@ -306,6 +318,7 @@ module Aws::EKS
|
|
306
318
|
:version,
|
307
319
|
:role_arn,
|
308
320
|
:resources_vpc_config,
|
321
|
+
:kubernetes_network_config,
|
309
322
|
:logging,
|
310
323
|
:client_request_token,
|
311
324
|
:tags,
|
@@ -519,10 +532,10 @@ module Aws::EKS
|
|
519
532
|
#
|
520
533
|
# @!attribute [rw] ami_type
|
521
534
|
# The AMI type for your node group. GPU instance types should use the
|
522
|
-
# `AL2_x86_64_GPU` AMI type
|
523
|
-
# AMI
|
524
|
-
#
|
525
|
-
# specify `launchTemplate`, and your launch template uses a custom
|
535
|
+
# `AL2_x86_64_GPU` AMI type. Non-GPU instances should use the
|
536
|
+
# `AL2_x86_64` AMI type. Arm instances should use the `AL2_ARM_64` AMI
|
537
|
+
# type. All types use the Amazon EKS-optimized Amazon Linux 2 AMI. If
|
538
|
+
# you specify `launchTemplate`, and your launch template uses a custom
|
526
539
|
# AMI, then don't specify `amiType`, or the node group deployment
|
527
540
|
# will fail. For more information about using launch templates with
|
528
541
|
# Amazon EKS, see [Launch template support][1] in the Amazon EKS User
|
@@ -591,9 +604,8 @@ module Aws::EKS
|
|
591
604
|
# @!attribute [rw] launch_template
|
592
605
|
# An object representing a node group's launch template
|
593
606
|
# specification. If specified, then do not specify `instanceTypes`,
|
594
|
-
# `diskSize`, or `remoteAccess
|
595
|
-
#
|
596
|
-
# `launchTemplateSpecification`.
|
607
|
+
# `diskSize`, or `remoteAccess` and make sure that the launch template
|
608
|
+
# meets the requirements in `launchTemplateSpecification`.
|
597
609
|
# @return [Types::LaunchTemplateSpecification]
|
598
610
|
#
|
599
611
|
# @!attribute [rw] version
|
@@ -1253,6 +1265,61 @@ module Aws::EKS
|
|
1253
1265
|
include Aws::Structure
|
1254
1266
|
end
|
1255
1267
|
|
1268
|
+
# The Kubernetes network configuration for the cluster.
|
1269
|
+
#
|
1270
|
+
# @note When making an API call, you may pass KubernetesNetworkConfigRequest
|
1271
|
+
# data as a hash:
|
1272
|
+
#
|
1273
|
+
# {
|
1274
|
+
# service_ipv_4_cidr: "String",
|
1275
|
+
# }
|
1276
|
+
#
|
1277
|
+
# @!attribute [rw] service_ipv_4_cidr
|
1278
|
+
# The CIDR block to assign Kubernetes service IP addresses from. If
|
1279
|
+
# you don't specify a block, Kubernetes assigns addresses from either
|
1280
|
+
# the 10.100.0.0/16 or 172.20.0.0/16 CIDR blocks. We recommend that
|
1281
|
+
# you specify a block that does not overlap with resources in other
|
1282
|
+
# networks that are peered or connected to your VPC. The block must
|
1283
|
+
# meet the following requirements:
|
1284
|
+
#
|
1285
|
+
# * Within one of the following private IP address blocks: 10.0.0.0/8,
|
1286
|
+
# 172.16.0.0.0/12, or 192.168.0.0/16.
|
1287
|
+
#
|
1288
|
+
# * Doesn't overlap with any CIDR block assigned to the VPC that you
|
1289
|
+
# selected for VPC.
|
1290
|
+
#
|
1291
|
+
# * Between /24 and /12.
|
1292
|
+
#
|
1293
|
+
# You can only specify a custom CIDR block when you create a cluster
|
1294
|
+
# and can't change this value once the cluster is created.
|
1295
|
+
# @return [String]
|
1296
|
+
#
|
1297
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/KubernetesNetworkConfigRequest AWS API Documentation
|
1298
|
+
#
|
1299
|
+
class KubernetesNetworkConfigRequest < Struct.new(
|
1300
|
+
:service_ipv_4_cidr)
|
1301
|
+
SENSITIVE = []
|
1302
|
+
include Aws::Structure
|
1303
|
+
end
|
1304
|
+
|
1305
|
+
# The Kubernetes network configuration for the cluster.
|
1306
|
+
#
|
1307
|
+
# @!attribute [rw] service_ipv_4_cidr
|
1308
|
+
# The CIDR block that Kubernetes service IP addresses are assigned
|
1309
|
+
# from. If you didn't specify a CIDR block, then Kubernetes assigns
|
1310
|
+
# addresses from either the 10.100.0.0/16 or 172.20.0.0/16 CIDR
|
1311
|
+
# blocks. If this was specified, then it was specified when the
|
1312
|
+
# cluster was created and it cannot be changed.
|
1313
|
+
# @return [String]
|
1314
|
+
#
|
1315
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/KubernetesNetworkConfigResponse AWS API Documentation
|
1316
|
+
#
|
1317
|
+
class KubernetesNetworkConfigResponse < Struct.new(
|
1318
|
+
:service_ipv_4_cidr)
|
1319
|
+
SENSITIVE = []
|
1320
|
+
include Aws::Structure
|
1321
|
+
end
|
1322
|
+
|
1256
1323
|
# An object representing a node group launch template specification. The
|
1257
1324
|
# launch template cannot include [ `SubnetId` ][1], [
|
1258
1325
|
# `IamInstanceProfile` ][2], [ `RequestSpotInstances` ][3], [
|
@@ -1707,8 +1774,7 @@ module Aws::EKS
|
|
1707
1774
|
# @!attribute [rw] instance_types
|
1708
1775
|
# If the node group wasn't deployed with a launch template, then this
|
1709
1776
|
# is the instance type that is associated with the node group. If the
|
1710
|
-
# node group was deployed with a launch template, then `
|
1711
|
-
# is `null`.
|
1777
|
+
# node group was deployed with a launch template, then this is `null`.
|
1712
1778
|
# @return [Array<String>]
|
1713
1779
|
#
|
1714
1780
|
# @!attribute [rw] subnets
|
@@ -1720,7 +1786,7 @@ module Aws::EKS
|
|
1720
1786
|
# If the node group wasn't deployed with a launch template, then this
|
1721
1787
|
# is the remote access configuration that is associated with the node
|
1722
1788
|
# group. If the node group was deployed with a launch template, then
|
1723
|
-
#
|
1789
|
+
# this is `null`.
|
1724
1790
|
# @return [Types::RemoteAccessConfig]
|
1725
1791
|
#
|
1726
1792
|
# @!attribute [rw] ami_type
|
@@ -1755,7 +1821,7 @@ module Aws::EKS
|
|
1755
1821
|
# @!attribute [rw] disk_size
|
1756
1822
|
# If the node group wasn't deployed with a launch template, then this
|
1757
1823
|
# is the disk size in the node group configuration. If the node group
|
1758
|
-
# was deployed with a launch template, then
|
1824
|
+
# was deployed with a launch template, then this is `null`.
|
1759
1825
|
# @return [Integer]
|
1760
1826
|
#
|
1761
1827
|
# @!attribute [rw] health
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-eks
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.43.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-09-
|
11
|
+
date: 2020-09-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|