aws-sdk-eks 1.40.0 → 1.45.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 +3 -2
- data/lib/aws-sdk-eks/client.rb +49 -25
- data/lib/aws-sdk-eks/client_api.rb +10 -0
- data/lib/aws-sdk-eks/types.rb +77 -11
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c51abca6c8deb5a5e2565314f2a8353fc470c1030c5a132bb934445aa5ffdae8
|
4
|
+
data.tar.gz: 015e16dfc5e87da3a0558a6dae231822f159cfbd02bc119f630dcf15a2d0c84e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1dd90bece231b87de4be0ff1bd8474b5fe67ccb1879155bb038098b787ee752fc3e37959da133a94c3254cc6d294e09631d4e6c370aedbb1c0ed2e3f33051b4b
|
7
|
+
data.tar.gz: a62192033ee7929d350a465f26f57021c9c1358b72c7be32173d8e169b9e6994e752df402e88f8d5cdbbea17a0defe9663a1edf0a533c3978441b382ecb68a78
|
data/lib/aws-sdk-eks.rb
CHANGED
@@ -7,6 +7,7 @@
|
|
7
7
|
#
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
9
9
|
|
10
|
+
|
10
11
|
require 'aws-sdk-core'
|
11
12
|
require 'aws-sigv4'
|
12
13
|
|
@@ -45,9 +46,9 @@ require_relative 'aws-sdk-eks/customizations'
|
|
45
46
|
#
|
46
47
|
# See {Errors} for more information.
|
47
48
|
#
|
48
|
-
#
|
49
|
+
# @!group service
|
49
50
|
module Aws::EKS
|
50
51
|
|
51
|
-
GEM_VERSION = '1.
|
52
|
+
GEM_VERSION = '1.45.0'
|
52
53
|
|
53
54
|
end
|
data/lib/aws-sdk-eks/client.rb
CHANGED
@@ -85,13 +85,28 @@ module Aws::EKS
|
|
85
85
|
# * `Aws::Credentials` - Used for configuring static, non-refreshing
|
86
86
|
# credentials.
|
87
87
|
#
|
88
|
+
# * `Aws::SharedCredentials` - Used for loading static credentials from a
|
89
|
+
# shared file, such as `~/.aws/config`.
|
90
|
+
#
|
91
|
+
# * `Aws::AssumeRoleCredentials` - Used when you need to assume a role.
|
92
|
+
#
|
93
|
+
# * `Aws::AssumeRoleWebIdentityCredentials` - Used when you need to
|
94
|
+
# assume a role after providing credentials via the web.
|
95
|
+
#
|
96
|
+
# * `Aws::SSOCredentials` - Used for loading credentials from AWS SSO using an
|
97
|
+
# access token generated from `aws login`.
|
98
|
+
#
|
99
|
+
# * `Aws::ProcessCredentials` - Used for loading credentials from a
|
100
|
+
# process that outputs to stdout.
|
101
|
+
#
|
88
102
|
# * `Aws::InstanceProfileCredentials` - Used for loading credentials
|
89
103
|
# from an EC2 IMDS on an EC2 instance.
|
90
104
|
#
|
91
|
-
# * `Aws::
|
92
|
-
#
|
105
|
+
# * `Aws::ECSCredentials` - Used for loading credentials from
|
106
|
+
# instances running in ECS.
|
93
107
|
#
|
94
|
-
# * `Aws::
|
108
|
+
# * `Aws::CognitoIdentityCredentials` - Used for loading credentials
|
109
|
+
# from the Cognito Identity service.
|
95
110
|
#
|
96
111
|
# When `:credentials` are not configured directly, the following
|
97
112
|
# locations will be searched for credentials:
|
@@ -101,10 +116,10 @@ module Aws::EKS
|
|
101
116
|
# * ENV['AWS_ACCESS_KEY_ID'], ENV['AWS_SECRET_ACCESS_KEY']
|
102
117
|
# * `~/.aws/credentials`
|
103
118
|
# * `~/.aws/config`
|
104
|
-
# * EC2 IMDS instance profile - When used by default, the timeouts
|
105
|
-
# very aggressive. Construct and pass an instance of
|
106
|
-
# `Aws::InstanceProfileCredentails`
|
107
|
-
# timeouts.
|
119
|
+
# * EC2/ECS IMDS instance profile - When used by default, the timeouts
|
120
|
+
# are very aggressive. Construct and pass an instance of
|
121
|
+
# `Aws::InstanceProfileCredentails` or `Aws::ECSCredentials` to
|
122
|
+
# enable retries and extended timeouts.
|
108
123
|
#
|
109
124
|
# @option options [required, String] :region
|
110
125
|
# The AWS region to connect to. The configured `:region` is
|
@@ -397,6 +412,9 @@ module Aws::EKS
|
|
397
412
|
# [1]: https://docs.aws.amazon.com/eks/latest/userguide/network_reqs.html
|
398
413
|
# [2]: https://docs.aws.amazon.com/eks/latest/userguide/sec-group-reqs.html
|
399
414
|
#
|
415
|
+
# @option params [Types::KubernetesNetworkConfigRequest] :kubernetes_network_config
|
416
|
+
# The Kubernetes network configuration for the cluster.
|
417
|
+
#
|
400
418
|
# @option params [Types::Logging] :logging
|
401
419
|
# Enable or disable exporting the Kubernetes control plane logs for your
|
402
420
|
# cluster to CloudWatch Logs. By default, cluster control plane logs
|
@@ -472,6 +490,9 @@ module Aws::EKS
|
|
472
490
|
# endpoint_private_access: false,
|
473
491
|
# public_access_cidrs: ["String"],
|
474
492
|
# },
|
493
|
+
# kubernetes_network_config: {
|
494
|
+
# service_ipv_4_cidr: "String",
|
495
|
+
# },
|
475
496
|
# logging: {
|
476
497
|
# cluster_logging: [
|
477
498
|
# {
|
@@ -512,6 +533,7 @@ module Aws::EKS
|
|
512
533
|
# resp.cluster.resources_vpc_config.endpoint_private_access #=> Boolean
|
513
534
|
# resp.cluster.resources_vpc_config.public_access_cidrs #=> Array
|
514
535
|
# resp.cluster.resources_vpc_config.public_access_cidrs[0] #=> String
|
536
|
+
# resp.cluster.kubernetes_network_config.service_ipv_4_cidr #=> String
|
515
537
|
# resp.cluster.logging.cluster_logging #=> Array
|
516
538
|
# resp.cluster.logging.cluster_logging[0].types #=> Array
|
517
539
|
# resp.cluster.logging.cluster_logging[0].types[0] #=> String, one of "api", "audit", "authenticator", "controllerManager", "scheduler"
|
@@ -744,13 +766,13 @@ module Aws::EKS
|
|
744
766
|
#
|
745
767
|
# @option params [String] :ami_type
|
746
768
|
# The AMI type for your node group. GPU instance types should use the
|
747
|
-
# `AL2_x86_64_GPU` AMI type
|
748
|
-
# AMI
|
749
|
-
#
|
750
|
-
# specify `launchTemplate`, and your launch template uses a custom
|
751
|
-
# then don't specify `amiType`, or the node group deployment will
|
752
|
-
# For more information about using launch templates with Amazon
|
753
|
-
# [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.
|
754
776
|
#
|
755
777
|
#
|
756
778
|
#
|
@@ -808,8 +830,8 @@ module Aws::EKS
|
|
808
830
|
# @option params [Types::LaunchTemplateSpecification] :launch_template
|
809
831
|
# An object representing a node group's launch template specification.
|
810
832
|
# If specified, then do not specify `instanceTypes`, `diskSize`, or
|
811
|
-
# `remoteAccess
|
812
|
-
#
|
833
|
+
# `remoteAccess` and make sure that the launch template meets the
|
834
|
+
# requirements in `launchTemplateSpecification`.
|
813
835
|
#
|
814
836
|
# @option params [String] :version
|
815
837
|
# The Kubernetes version to use for your managed nodes. By default, the
|
@@ -908,7 +930,7 @@ module Aws::EKS
|
|
908
930
|
# resp.nodegroup.resources.remote_access_security_group #=> String
|
909
931
|
# resp.nodegroup.disk_size #=> Integer
|
910
932
|
# resp.nodegroup.health.issues #=> Array
|
911
|
-
# resp.nodegroup.health.issues[0].code #=> String, one of "AutoScalingGroupNotFound", "AutoScalingGroupInvalidConfiguration", "Ec2SecurityGroupNotFound", "Ec2SecurityGroupDeletionFailure", "Ec2LaunchTemplateNotFound", "Ec2LaunchTemplateVersionMismatch", "Ec2SubnetNotFound", "Ec2SubnetInvalidConfiguration", "IamInstanceProfileNotFound", "IamLimitExceeded", "IamNodeRoleNotFound", "NodeCreationFailure", "AsgInstanceLaunchFailures", "InstanceLimitExceeded", "InsufficientFreeAddresses", "AccessDenied", "InternalFailure"
|
933
|
+
# resp.nodegroup.health.issues[0].code #=> String, one of "AutoScalingGroupNotFound", "AutoScalingGroupInvalidConfiguration", "Ec2SecurityGroupNotFound", "Ec2SecurityGroupDeletionFailure", "Ec2LaunchTemplateNotFound", "Ec2LaunchTemplateVersionMismatch", "Ec2SubnetNotFound", "Ec2SubnetInvalidConfiguration", "IamInstanceProfileNotFound", "IamLimitExceeded", "IamNodeRoleNotFound", "NodeCreationFailure", "AsgInstanceLaunchFailures", "InstanceLimitExceeded", "InsufficientFreeAddresses", "AccessDenied", "InternalFailure", "ClusterUnreachable"
|
912
934
|
# resp.nodegroup.health.issues[0].message #=> String
|
913
935
|
# resp.nodegroup.health.issues[0].resource_ids #=> Array
|
914
936
|
# resp.nodegroup.health.issues[0].resource_ids[0] #=> String
|
@@ -988,6 +1010,7 @@ module Aws::EKS
|
|
988
1010
|
# resp.cluster.resources_vpc_config.endpoint_private_access #=> Boolean
|
989
1011
|
# resp.cluster.resources_vpc_config.public_access_cidrs #=> Array
|
990
1012
|
# resp.cluster.resources_vpc_config.public_access_cidrs[0] #=> String
|
1013
|
+
# resp.cluster.kubernetes_network_config.service_ipv_4_cidr #=> String
|
991
1014
|
# resp.cluster.logging.cluster_logging #=> Array
|
992
1015
|
# resp.cluster.logging.cluster_logging[0].types #=> Array
|
993
1016
|
# resp.cluster.logging.cluster_logging[0].types[0] #=> String, one of "api", "audit", "authenticator", "controllerManager", "scheduler"
|
@@ -1118,7 +1141,7 @@ module Aws::EKS
|
|
1118
1141
|
# resp.nodegroup.resources.remote_access_security_group #=> String
|
1119
1142
|
# resp.nodegroup.disk_size #=> Integer
|
1120
1143
|
# resp.nodegroup.health.issues #=> Array
|
1121
|
-
# resp.nodegroup.health.issues[0].code #=> String, one of "AutoScalingGroupNotFound", "AutoScalingGroupInvalidConfiguration", "Ec2SecurityGroupNotFound", "Ec2SecurityGroupDeletionFailure", "Ec2LaunchTemplateNotFound", "Ec2LaunchTemplateVersionMismatch", "Ec2SubnetNotFound", "Ec2SubnetInvalidConfiguration", "IamInstanceProfileNotFound", "IamLimitExceeded", "IamNodeRoleNotFound", "NodeCreationFailure", "AsgInstanceLaunchFailures", "InstanceLimitExceeded", "InsufficientFreeAddresses", "AccessDenied", "InternalFailure"
|
1144
|
+
# resp.nodegroup.health.issues[0].code #=> String, one of "AutoScalingGroupNotFound", "AutoScalingGroupInvalidConfiguration", "Ec2SecurityGroupNotFound", "Ec2SecurityGroupDeletionFailure", "Ec2LaunchTemplateNotFound", "Ec2LaunchTemplateVersionMismatch", "Ec2SubnetNotFound", "Ec2SubnetInvalidConfiguration", "IamInstanceProfileNotFound", "IamLimitExceeded", "IamNodeRoleNotFound", "NodeCreationFailure", "AsgInstanceLaunchFailures", "InstanceLimitExceeded", "InsufficientFreeAddresses", "AccessDenied", "InternalFailure", "ClusterUnreachable"
|
1122
1145
|
# resp.nodegroup.health.issues[0].message #=> String
|
1123
1146
|
# resp.nodegroup.health.issues[0].resource_ids #=> Array
|
1124
1147
|
# resp.nodegroup.health.issues[0].resource_ids[0] #=> String
|
@@ -1219,6 +1242,7 @@ module Aws::EKS
|
|
1219
1242
|
# resp.cluster.resources_vpc_config.endpoint_private_access #=> Boolean
|
1220
1243
|
# resp.cluster.resources_vpc_config.public_access_cidrs #=> Array
|
1221
1244
|
# resp.cluster.resources_vpc_config.public_access_cidrs[0] #=> String
|
1245
|
+
# resp.cluster.kubernetes_network_config.service_ipv_4_cidr #=> String
|
1222
1246
|
# resp.cluster.logging.cluster_logging #=> Array
|
1223
1247
|
# resp.cluster.logging.cluster_logging[0].types #=> Array
|
1224
1248
|
# resp.cluster.logging.cluster_logging[0].types[0] #=> String, one of "api", "audit", "authenticator", "controllerManager", "scheduler"
|
@@ -1344,7 +1368,7 @@ module Aws::EKS
|
|
1344
1368
|
# resp.nodegroup.resources.remote_access_security_group #=> String
|
1345
1369
|
# resp.nodegroup.disk_size #=> Integer
|
1346
1370
|
# resp.nodegroup.health.issues #=> Array
|
1347
|
-
# resp.nodegroup.health.issues[0].code #=> String, one of "AutoScalingGroupNotFound", "AutoScalingGroupInvalidConfiguration", "Ec2SecurityGroupNotFound", "Ec2SecurityGroupDeletionFailure", "Ec2LaunchTemplateNotFound", "Ec2LaunchTemplateVersionMismatch", "Ec2SubnetNotFound", "Ec2SubnetInvalidConfiguration", "IamInstanceProfileNotFound", "IamLimitExceeded", "IamNodeRoleNotFound", "NodeCreationFailure", "AsgInstanceLaunchFailures", "InstanceLimitExceeded", "InsufficientFreeAddresses", "AccessDenied", "InternalFailure"
|
1371
|
+
# resp.nodegroup.health.issues[0].code #=> String, one of "AutoScalingGroupNotFound", "AutoScalingGroupInvalidConfiguration", "Ec2SecurityGroupNotFound", "Ec2SecurityGroupDeletionFailure", "Ec2LaunchTemplateNotFound", "Ec2LaunchTemplateVersionMismatch", "Ec2SubnetNotFound", "Ec2SubnetInvalidConfiguration", "IamInstanceProfileNotFound", "IamLimitExceeded", "IamNodeRoleNotFound", "NodeCreationFailure", "AsgInstanceLaunchFailures", "InstanceLimitExceeded", "InsufficientFreeAddresses", "AccessDenied", "InternalFailure", "ClusterUnreachable"
|
1348
1372
|
# resp.nodegroup.health.issues[0].message #=> String
|
1349
1373
|
# resp.nodegroup.health.issues[0].resource_ids #=> Array
|
1350
1374
|
# resp.nodegroup.health.issues[0].resource_ids[0] #=> String
|
@@ -1407,7 +1431,7 @@ module Aws::EKS
|
|
1407
1431
|
# resp.update.params[0].value #=> String
|
1408
1432
|
# resp.update.created_at #=> Time
|
1409
1433
|
# resp.update.errors #=> Array
|
1410
|
-
# resp.update.errors[0].error_code #=> String, one of "SubnetNotFound", "SecurityGroupNotFound", "EniLimitReached", "IpNotAvailable", "AccessDenied", "OperationNotPermitted", "VpcIdNotFound", "Unknown", "NodeCreationFailure", "PodEvictionFailure", "InsufficientFreeAddresses"
|
1434
|
+
# resp.update.errors[0].error_code #=> String, one of "SubnetNotFound", "SecurityGroupNotFound", "EniLimitReached", "IpNotAvailable", "AccessDenied", "OperationNotPermitted", "VpcIdNotFound", "Unknown", "NodeCreationFailure", "PodEvictionFailure", "InsufficientFreeAddresses", "ClusterUnreachable"
|
1411
1435
|
# resp.update.errors[0].error_message #=> String
|
1412
1436
|
# resp.update.errors[0].resource_ids #=> Array
|
1413
1437
|
# resp.update.errors[0].resource_ids[0] #=> String
|
@@ -1874,7 +1898,7 @@ module Aws::EKS
|
|
1874
1898
|
# resp.update.params[0].value #=> String
|
1875
1899
|
# resp.update.created_at #=> Time
|
1876
1900
|
# resp.update.errors #=> Array
|
1877
|
-
# resp.update.errors[0].error_code #=> String, one of "SubnetNotFound", "SecurityGroupNotFound", "EniLimitReached", "IpNotAvailable", "AccessDenied", "OperationNotPermitted", "VpcIdNotFound", "Unknown", "NodeCreationFailure", "PodEvictionFailure", "InsufficientFreeAddresses"
|
1901
|
+
# resp.update.errors[0].error_code #=> String, one of "SubnetNotFound", "SecurityGroupNotFound", "EniLimitReached", "IpNotAvailable", "AccessDenied", "OperationNotPermitted", "VpcIdNotFound", "Unknown", "NodeCreationFailure", "PodEvictionFailure", "InsufficientFreeAddresses", "ClusterUnreachable"
|
1878
1902
|
# resp.update.errors[0].error_message #=> String
|
1879
1903
|
# resp.update.errors[0].resource_ids #=> Array
|
1880
1904
|
# resp.update.errors[0].resource_ids[0] #=> String
|
@@ -1938,7 +1962,7 @@ module Aws::EKS
|
|
1938
1962
|
# resp.update.params[0].value #=> String
|
1939
1963
|
# resp.update.created_at #=> Time
|
1940
1964
|
# resp.update.errors #=> Array
|
1941
|
-
# resp.update.errors[0].error_code #=> String, one of "SubnetNotFound", "SecurityGroupNotFound", "EniLimitReached", "IpNotAvailable", "AccessDenied", "OperationNotPermitted", "VpcIdNotFound", "Unknown", "NodeCreationFailure", "PodEvictionFailure", "InsufficientFreeAddresses"
|
1965
|
+
# resp.update.errors[0].error_code #=> String, one of "SubnetNotFound", "SecurityGroupNotFound", "EniLimitReached", "IpNotAvailable", "AccessDenied", "OperationNotPermitted", "VpcIdNotFound", "Unknown", "NodeCreationFailure", "PodEvictionFailure", "InsufficientFreeAddresses", "ClusterUnreachable"
|
1942
1966
|
# resp.update.errors[0].error_message #=> String
|
1943
1967
|
# resp.update.errors[0].resource_ids #=> Array
|
1944
1968
|
# resp.update.errors[0].resource_ids[0] #=> String
|
@@ -2014,7 +2038,7 @@ module Aws::EKS
|
|
2014
2038
|
# resp.update.params[0].value #=> String
|
2015
2039
|
# resp.update.created_at #=> Time
|
2016
2040
|
# resp.update.errors #=> Array
|
2017
|
-
# resp.update.errors[0].error_code #=> String, one of "SubnetNotFound", "SecurityGroupNotFound", "EniLimitReached", "IpNotAvailable", "AccessDenied", "OperationNotPermitted", "VpcIdNotFound", "Unknown", "NodeCreationFailure", "PodEvictionFailure", "InsufficientFreeAddresses"
|
2041
|
+
# resp.update.errors[0].error_code #=> String, one of "SubnetNotFound", "SecurityGroupNotFound", "EniLimitReached", "IpNotAvailable", "AccessDenied", "OperationNotPermitted", "VpcIdNotFound", "Unknown", "NodeCreationFailure", "PodEvictionFailure", "InsufficientFreeAddresses", "ClusterUnreachable"
|
2018
2042
|
# resp.update.errors[0].error_message #=> String
|
2019
2043
|
# resp.update.errors[0].resource_ids #=> Array
|
2020
2044
|
# resp.update.errors[0].resource_ids[0] #=> String
|
@@ -2145,7 +2169,7 @@ module Aws::EKS
|
|
2145
2169
|
# resp.update.params[0].value #=> String
|
2146
2170
|
# resp.update.created_at #=> Time
|
2147
2171
|
# resp.update.errors #=> Array
|
2148
|
-
# resp.update.errors[0].error_code #=> String, one of "SubnetNotFound", "SecurityGroupNotFound", "EniLimitReached", "IpNotAvailable", "AccessDenied", "OperationNotPermitted", "VpcIdNotFound", "Unknown", "NodeCreationFailure", "PodEvictionFailure", "InsufficientFreeAddresses"
|
2172
|
+
# resp.update.errors[0].error_code #=> String, one of "SubnetNotFound", "SecurityGroupNotFound", "EniLimitReached", "IpNotAvailable", "AccessDenied", "OperationNotPermitted", "VpcIdNotFound", "Unknown", "NodeCreationFailure", "PodEvictionFailure", "InsufficientFreeAddresses", "ClusterUnreachable"
|
2149
2173
|
# resp.update.errors[0].error_message #=> String
|
2150
2174
|
# resp.update.errors[0].resource_ids #=> Array
|
2151
2175
|
# resp.update.errors[0].resource_ids[0] #=> String
|
@@ -2172,7 +2196,7 @@ module Aws::EKS
|
|
2172
2196
|
params: params,
|
2173
2197
|
config: config)
|
2174
2198
|
context[:gem_name] = 'aws-sdk-eks'
|
2175
|
-
context[:gem_version] = '1.
|
2199
|
+
context[:gem_version] = '1.45.0'
|
2176
2200
|
Seahorse::Client::Request.new(handlers, context)
|
2177
2201
|
end
|
2178
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.45.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-
|
11
|
+
date: 2020-10-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|
@@ -19,7 +19,7 @@ dependencies:
|
|
19
19
|
version: '3'
|
20
20
|
- - ">="
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: 3.
|
22
|
+
version: 3.109.0
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -29,7 +29,7 @@ dependencies:
|
|
29
29
|
version: '3'
|
30
30
|
- - ">="
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: 3.
|
32
|
+
version: 3.109.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|