aws-sdk-eks 1.29.0 → 1.30.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.
- checksums.yaml +4 -4
- data/lib/aws-sdk-eks.rb +1 -1
- data/lib/aws-sdk-eks/client.rb +37 -30
- data/lib/aws-sdk-eks/client_api.rb +2 -0
- data/lib/aws-sdk-eks/types.rb +67 -16
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e03cf8481cf62f4305d5af638d2a6468bda36209
|
4
|
+
data.tar.gz: 706c9a86c3cc3e1af58edad859cbf1d0682adfe4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b9ed1099533ec887fb247e485f3e4a3191ae7a290fd8bd2a8973314448c9d164910ee855f828b4ff6d6a2b49cf515e5ebd226ee8fa7f053327ae9fc0d6f80c97
|
7
|
+
data.tar.gz: e5b46c49ce8b3214ad309e1e8dd9a3eadaae4d1e309f6b5d4f506fc820f4ac5d1afd211905d55a61eaedb09f915439fcc4ba675aca7d2355b9cd5ec33b4c6603
|
data/lib/aws-sdk-eks.rb
CHANGED
data/lib/aws-sdk-eks/client.rb
CHANGED
@@ -409,6 +409,7 @@ module Aws::EKS
|
|
409
409
|
# security_group_ids: ["String"],
|
410
410
|
# endpoint_public_access: false,
|
411
411
|
# endpoint_private_access: false,
|
412
|
+
# public_access_cidrs: ["String"],
|
412
413
|
# },
|
413
414
|
# logging: {
|
414
415
|
# cluster_logging: [
|
@@ -440,6 +441,8 @@ module Aws::EKS
|
|
440
441
|
# resp.cluster.resources_vpc_config.vpc_id #=> String
|
441
442
|
# resp.cluster.resources_vpc_config.endpoint_public_access #=> Boolean
|
442
443
|
# resp.cluster.resources_vpc_config.endpoint_private_access #=> Boolean
|
444
|
+
# resp.cluster.resources_vpc_config.public_access_cidrs #=> Array
|
445
|
+
# resp.cluster.resources_vpc_config.public_access_cidrs[0] #=> String
|
443
446
|
# resp.cluster.logging.cluster_logging #=> Array
|
444
447
|
# resp.cluster.logging.cluster_logging[0].types #=> Array
|
445
448
|
# resp.cluster.logging.cluster_logging[0].types[0] #=> String, one of "api", "audit", "authenticator", "controllerManager", "scheduler"
|
@@ -462,29 +465,28 @@ module Aws::EKS
|
|
462
465
|
end
|
463
466
|
|
464
467
|
# Creates an AWS Fargate profile for your Amazon EKS cluster. You must
|
465
|
-
# have at least one Fargate profile in a cluster to be able to
|
466
|
-
#
|
468
|
+
# have at least one Fargate profile in a cluster to be able to run pods
|
469
|
+
# on Fargate.
|
467
470
|
#
|
468
471
|
# The Fargate profile allows an administrator to declare which pods run
|
469
|
-
# on Fargate
|
470
|
-
#
|
471
|
-
#
|
472
|
-
#
|
473
|
-
#
|
474
|
-
#
|
475
|
-
#
|
476
|
-
# profile, then that pod is scheduled on Fargate infrastructure.
|
472
|
+
# on Fargate and specify which pods run on which Fargate profile. This
|
473
|
+
# declaration is done through the profile’s selectors. Each profile can
|
474
|
+
# have up to five selectors that contain a namespace and labels. A
|
475
|
+
# namespace is required for every selector. The label field consists of
|
476
|
+
# multiple optional key-value pairs. Pods that match the selectors are
|
477
|
+
# scheduled on Fargate. If a to-be-scheduled pod matches any of the
|
478
|
+
# selectors in the Fargate profile, then that pod is run on Fargate.
|
477
479
|
#
|
478
480
|
# When you create a Fargate profile, you must specify a pod execution
|
479
481
|
# role to use with the pods that are scheduled with the profile. This
|
480
482
|
# role is added to the cluster's Kubernetes [Role Based Access
|
481
483
|
# Control][1] (RBAC) for authorization so that the `kubelet` that is
|
482
484
|
# running on the Fargate infrastructure can register with your Amazon
|
483
|
-
# EKS cluster
|
484
|
-
#
|
485
|
-
#
|
486
|
-
#
|
487
|
-
#
|
485
|
+
# EKS cluster so that it can appear in your cluster as a node. The pod
|
486
|
+
# execution role also provides IAM permissions to the Fargate
|
487
|
+
# infrastructure to allow read access to Amazon ECR image repositories.
|
488
|
+
# For more information, see [Pod Execution Role][2] in the *Amazon EKS
|
489
|
+
# User Guide*.
|
488
490
|
#
|
489
491
|
# Fargate profiles are immutable. However, you can create a new updated
|
490
492
|
# profile to replace an existing profile and then delete the original
|
@@ -522,10 +524,10 @@ module Aws::EKS
|
|
522
524
|
# [1]: https://docs.aws.amazon.com/eks/latest/userguide/pod-execution-role.html
|
523
525
|
#
|
524
526
|
# @option params [Array<String>] :subnets
|
525
|
-
# The IDs of subnets to launch
|
526
|
-
#
|
527
|
-
# (with no direct route to an Internet Gateway) are
|
528
|
-
# parameter.
|
527
|
+
# The IDs of subnets to launch your pods into. At this time, pods
|
528
|
+
# running on Fargate are not assigned public IP addresses, so only
|
529
|
+
# private subnets (with no direct route to an Internet Gateway) are
|
530
|
+
# accepted for this parameter.
|
529
531
|
#
|
530
532
|
# @option params [Array<Types::FargateProfileSelector>] :selectors
|
531
533
|
# The selectors to match for pods to use this Fargate profile. Each
|
@@ -835,6 +837,8 @@ module Aws::EKS
|
|
835
837
|
# resp.cluster.resources_vpc_config.vpc_id #=> String
|
836
838
|
# resp.cluster.resources_vpc_config.endpoint_public_access #=> Boolean
|
837
839
|
# resp.cluster.resources_vpc_config.endpoint_private_access #=> Boolean
|
840
|
+
# resp.cluster.resources_vpc_config.public_access_cidrs #=> Array
|
841
|
+
# resp.cluster.resources_vpc_config.public_access_cidrs[0] #=> String
|
838
842
|
# resp.cluster.logging.cluster_logging #=> Array
|
839
843
|
# resp.cluster.logging.cluster_logging[0].types #=> Array
|
840
844
|
# resp.cluster.logging.cluster_logging[0].types[0] #=> String, one of "api", "audit", "authenticator", "controllerManager", "scheduler"
|
@@ -858,11 +862,11 @@ module Aws::EKS
|
|
858
862
|
|
859
863
|
# Deletes an AWS Fargate profile.
|
860
864
|
#
|
861
|
-
# When you delete a Fargate profile, any pods
|
862
|
-
#
|
863
|
-
#
|
864
|
-
#
|
865
|
-
#
|
865
|
+
# When you delete a Fargate profile, any pods running on Fargate that
|
866
|
+
# were created with the profile are deleted. If those pods match another
|
867
|
+
# Fargate profile, then they are scheduled on Fargate with that profile.
|
868
|
+
# If they no longer match any Fargate profiles, then they are not
|
869
|
+
# scheduled on Fargate and they may remain in a pending state.
|
866
870
|
#
|
867
871
|
# Only one Fargate profile in a cluster can be in the `DELETING` status
|
868
872
|
# at a time. You must wait for a Fargate profile to finish deleting
|
@@ -1057,6 +1061,8 @@ module Aws::EKS
|
|
1057
1061
|
# resp.cluster.resources_vpc_config.vpc_id #=> String
|
1058
1062
|
# resp.cluster.resources_vpc_config.endpoint_public_access #=> Boolean
|
1059
1063
|
# resp.cluster.resources_vpc_config.endpoint_private_access #=> Boolean
|
1064
|
+
# resp.cluster.resources_vpc_config.public_access_cidrs #=> Array
|
1065
|
+
# resp.cluster.resources_vpc_config.public_access_cidrs[0] #=> String
|
1060
1066
|
# resp.cluster.logging.cluster_logging #=> Array
|
1061
1067
|
# resp.cluster.logging.cluster_logging[0].types #=> Array
|
1062
1068
|
# resp.cluster.logging.cluster_logging[0].types[0] #=> String, one of "api", "audit", "authenticator", "controllerManager", "scheduler"
|
@@ -1222,7 +1228,7 @@ module Aws::EKS
|
|
1222
1228
|
# resp.update.status #=> String, one of "InProgress", "Failed", "Cancelled", "Successful"
|
1223
1229
|
# resp.update.type #=> String, one of "VersionUpdate", "EndpointAccessUpdate", "LoggingUpdate", "ConfigUpdate"
|
1224
1230
|
# resp.update.params #=> Array
|
1225
|
-
# resp.update.params[0].type #=> String, one of "Version", "PlatformVersion", "EndpointPrivateAccess", "EndpointPublicAccess", "ClusterLogging", "DesiredSize", "LabelsToAdd", "LabelsToRemove", "MaxSize", "MinSize", "ReleaseVersion"
|
1231
|
+
# resp.update.params[0].type #=> String, one of "Version", "PlatformVersion", "EndpointPrivateAccess", "EndpointPublicAccess", "ClusterLogging", "DesiredSize", "LabelsToAdd", "LabelsToRemove", "MaxSize", "MinSize", "ReleaseVersion", "PublicAccessCidrs"
|
1226
1232
|
# resp.update.params[0].value #=> String
|
1227
1233
|
# resp.update.created_at #=> Time
|
1228
1234
|
# resp.update.errors #=> Array
|
@@ -1661,6 +1667,7 @@ module Aws::EKS
|
|
1661
1667
|
# security_group_ids: ["String"],
|
1662
1668
|
# endpoint_public_access: false,
|
1663
1669
|
# endpoint_private_access: false,
|
1670
|
+
# public_access_cidrs: ["String"],
|
1664
1671
|
# },
|
1665
1672
|
# logging: {
|
1666
1673
|
# cluster_logging: [
|
@@ -1679,7 +1686,7 @@ module Aws::EKS
|
|
1679
1686
|
# resp.update.status #=> String, one of "InProgress", "Failed", "Cancelled", "Successful"
|
1680
1687
|
# resp.update.type #=> String, one of "VersionUpdate", "EndpointAccessUpdate", "LoggingUpdate", "ConfigUpdate"
|
1681
1688
|
# resp.update.params #=> Array
|
1682
|
-
# resp.update.params[0].type #=> String, one of "Version", "PlatformVersion", "EndpointPrivateAccess", "EndpointPublicAccess", "ClusterLogging", "DesiredSize", "LabelsToAdd", "LabelsToRemove", "MaxSize", "MinSize", "ReleaseVersion"
|
1689
|
+
# resp.update.params[0].type #=> String, one of "Version", "PlatformVersion", "EndpointPrivateAccess", "EndpointPublicAccess", "ClusterLogging", "DesiredSize", "LabelsToAdd", "LabelsToRemove", "MaxSize", "MinSize", "ReleaseVersion", "PublicAccessCidrs"
|
1683
1690
|
# resp.update.params[0].value #=> String
|
1684
1691
|
# resp.update.created_at #=> Time
|
1685
1692
|
# resp.update.errors #=> Array
|
@@ -1743,7 +1750,7 @@ module Aws::EKS
|
|
1743
1750
|
# resp.update.status #=> String, one of "InProgress", "Failed", "Cancelled", "Successful"
|
1744
1751
|
# resp.update.type #=> String, one of "VersionUpdate", "EndpointAccessUpdate", "LoggingUpdate", "ConfigUpdate"
|
1745
1752
|
# resp.update.params #=> Array
|
1746
|
-
# resp.update.params[0].type #=> String, one of "Version", "PlatformVersion", "EndpointPrivateAccess", "EndpointPublicAccess", "ClusterLogging", "DesiredSize", "LabelsToAdd", "LabelsToRemove", "MaxSize", "MinSize", "ReleaseVersion"
|
1753
|
+
# resp.update.params[0].type #=> String, one of "Version", "PlatformVersion", "EndpointPrivateAccess", "EndpointPublicAccess", "ClusterLogging", "DesiredSize", "LabelsToAdd", "LabelsToRemove", "MaxSize", "MinSize", "ReleaseVersion", "PublicAccessCidrs"
|
1747
1754
|
# resp.update.params[0].value #=> String
|
1748
1755
|
# resp.update.created_at #=> Time
|
1749
1756
|
# resp.update.errors #=> Array
|
@@ -1819,7 +1826,7 @@ module Aws::EKS
|
|
1819
1826
|
# resp.update.status #=> String, one of "InProgress", "Failed", "Cancelled", "Successful"
|
1820
1827
|
# resp.update.type #=> String, one of "VersionUpdate", "EndpointAccessUpdate", "LoggingUpdate", "ConfigUpdate"
|
1821
1828
|
# resp.update.params #=> Array
|
1822
|
-
# resp.update.params[0].type #=> String, one of "Version", "PlatformVersion", "EndpointPrivateAccess", "EndpointPublicAccess", "ClusterLogging", "DesiredSize", "LabelsToAdd", "LabelsToRemove", "MaxSize", "MinSize", "ReleaseVersion"
|
1829
|
+
# resp.update.params[0].type #=> String, one of "Version", "PlatformVersion", "EndpointPrivateAccess", "EndpointPublicAccess", "ClusterLogging", "DesiredSize", "LabelsToAdd", "LabelsToRemove", "MaxSize", "MinSize", "ReleaseVersion", "PublicAccessCidrs"
|
1823
1830
|
# resp.update.params[0].value #=> String
|
1824
1831
|
# resp.update.created_at #=> Time
|
1825
1832
|
# resp.update.errors #=> Array
|
@@ -1918,7 +1925,7 @@ module Aws::EKS
|
|
1918
1925
|
# resp.update.status #=> String, one of "InProgress", "Failed", "Cancelled", "Successful"
|
1919
1926
|
# resp.update.type #=> String, one of "VersionUpdate", "EndpointAccessUpdate", "LoggingUpdate", "ConfigUpdate"
|
1920
1927
|
# resp.update.params #=> Array
|
1921
|
-
# resp.update.params[0].type #=> String, one of "Version", "PlatformVersion", "EndpointPrivateAccess", "EndpointPublicAccess", "ClusterLogging", "DesiredSize", "LabelsToAdd", "LabelsToRemove", "MaxSize", "MinSize", "ReleaseVersion"
|
1928
|
+
# resp.update.params[0].type #=> String, one of "Version", "PlatformVersion", "EndpointPrivateAccess", "EndpointPublicAccess", "ClusterLogging", "DesiredSize", "LabelsToAdd", "LabelsToRemove", "MaxSize", "MinSize", "ReleaseVersion", "PublicAccessCidrs"
|
1922
1929
|
# resp.update.params[0].value #=> String
|
1923
1930
|
# resp.update.created_at #=> Time
|
1924
1931
|
# resp.update.errors #=> Array
|
@@ -1949,7 +1956,7 @@ module Aws::EKS
|
|
1949
1956
|
params: params,
|
1950
1957
|
config: config)
|
1951
1958
|
context[:gem_name] = 'aws-sdk-eks'
|
1952
|
-
context[:gem_version] = '1.
|
1959
|
+
context[:gem_version] = '1.30.0'
|
1953
1960
|
Seahorse::Client::Request.new(handlers, context)
|
1954
1961
|
end
|
1955
1962
|
|
@@ -500,6 +500,7 @@ module Aws::EKS
|
|
500
500
|
VpcConfigRequest.add_member(:security_group_ids, Shapes::ShapeRef.new(shape: StringList, location_name: "securityGroupIds"))
|
501
501
|
VpcConfigRequest.add_member(:endpoint_public_access, Shapes::ShapeRef.new(shape: BoxedBoolean, location_name: "endpointPublicAccess"))
|
502
502
|
VpcConfigRequest.add_member(:endpoint_private_access, Shapes::ShapeRef.new(shape: BoxedBoolean, location_name: "endpointPrivateAccess"))
|
503
|
+
VpcConfigRequest.add_member(:public_access_cidrs, Shapes::ShapeRef.new(shape: StringList, location_name: "publicAccessCidrs"))
|
503
504
|
VpcConfigRequest.struct_class = Types::VpcConfigRequest
|
504
505
|
|
505
506
|
VpcConfigResponse.add_member(:subnet_ids, Shapes::ShapeRef.new(shape: StringList, location_name: "subnetIds"))
|
@@ -508,6 +509,7 @@ module Aws::EKS
|
|
508
509
|
VpcConfigResponse.add_member(:vpc_id, Shapes::ShapeRef.new(shape: String, location_name: "vpcId"))
|
509
510
|
VpcConfigResponse.add_member(:endpoint_public_access, Shapes::ShapeRef.new(shape: Boolean, location_name: "endpointPublicAccess"))
|
510
511
|
VpcConfigResponse.add_member(:endpoint_private_access, Shapes::ShapeRef.new(shape: Boolean, location_name: "endpointPrivateAccess"))
|
512
|
+
VpcConfigResponse.add_member(:public_access_cidrs, Shapes::ShapeRef.new(shape: StringList, location_name: "publicAccessCidrs"))
|
511
513
|
VpcConfigResponse.struct_class = Types::VpcConfigResponse
|
512
514
|
|
513
515
|
labelsKeyList.member = Shapes::ShapeRef.new(shape: String)
|
data/lib/aws-sdk-eks/types.rb
CHANGED
@@ -190,6 +190,7 @@ module Aws::EKS
|
|
190
190
|
# security_group_ids: ["String"],
|
191
191
|
# endpoint_public_access: false,
|
192
192
|
# endpoint_private_access: false,
|
193
|
+
# public_access_cidrs: ["String"],
|
193
194
|
# },
|
194
195
|
# logging: {
|
195
196
|
# cluster_logging: [
|
@@ -342,10 +343,10 @@ module Aws::EKS
|
|
342
343
|
# @return [String]
|
343
344
|
#
|
344
345
|
# @!attribute [rw] subnets
|
345
|
-
# The IDs of subnets to launch
|
346
|
-
# Fargate
|
347
|
-
# subnets (with no direct route to an Internet Gateway) are
|
348
|
-
# for this parameter.
|
346
|
+
# The IDs of subnets to launch your pods into. At this time, pods
|
347
|
+
# running on Fargate are not assigned public IP addresses, so only
|
348
|
+
# private subnets (with no direct route to an Internet Gateway) are
|
349
|
+
# accepted for this parameter.
|
349
350
|
# @return [Array<String>]
|
350
351
|
#
|
351
352
|
# @!attribute [rw] selectors
|
@@ -866,13 +867,16 @@ module Aws::EKS
|
|
866
867
|
# @!attribute [rw] pod_execution_role_arn
|
867
868
|
# The Amazon Resource Name (ARN) of the pod execution role to use for
|
868
869
|
# pods that match the selectors in the Fargate profile. For more
|
869
|
-
# information, see [Pod Execution
|
870
|
-
#
|
871
|
-
#
|
870
|
+
# information, see [Pod Execution Role][1] in the *Amazon EKS User
|
871
|
+
# Guide*.
|
872
|
+
#
|
873
|
+
#
|
874
|
+
#
|
875
|
+
# [1]: https://docs.aws.amazon.com/eks/latest/userguide/pod-execution-role.html
|
872
876
|
# @return [String]
|
873
877
|
#
|
874
878
|
# @!attribute [rw] subnets
|
875
|
-
# The IDs of subnets to launch
|
879
|
+
# The IDs of subnets to launch pods into.
|
876
880
|
# @return [Array<String>]
|
877
881
|
#
|
878
882
|
# @!attribute [rw] selectors
|
@@ -1962,6 +1966,7 @@ module Aws::EKS
|
|
1962
1966
|
# security_group_ids: ["String"],
|
1963
1967
|
# endpoint_public_access: false,
|
1964
1968
|
# endpoint_private_access: false,
|
1969
|
+
# public_access_cidrs: ["String"],
|
1965
1970
|
# },
|
1966
1971
|
# logging: {
|
1967
1972
|
# cluster_logging: [
|
@@ -2283,6 +2288,7 @@ module Aws::EKS
|
|
2283
2288
|
# security_group_ids: ["String"],
|
2284
2289
|
# endpoint_public_access: false,
|
2285
2290
|
# endpoint_private_access: false,
|
2291
|
+
# public_access_cidrs: ["String"],
|
2286
2292
|
# }
|
2287
2293
|
#
|
2288
2294
|
# @!attribute [rw] subnet_ids
|
@@ -2301,9 +2307,9 @@ module Aws::EKS
|
|
2301
2307
|
# @return [Array<String>]
|
2302
2308
|
#
|
2303
2309
|
# @!attribute [rw] endpoint_public_access
|
2304
|
-
# Set this value to `false` to disable public access
|
2310
|
+
# Set this value to `false` to disable public access to your
|
2305
2311
|
# cluster's Kubernetes API server endpoint. If you disable public
|
2306
|
-
# access, your cluster's Kubernetes API server can receive
|
2312
|
+
# access, your cluster's Kubernetes API server can only receive
|
2307
2313
|
# requests from within the cluster VPC. The default value for this
|
2308
2314
|
# parameter is `true`, which enables public access for your Kubernetes
|
2309
2315
|
# API server. For more information, see [Amazon EKS Cluster Endpoint
|
@@ -2320,21 +2326,41 @@ module Aws::EKS
|
|
2320
2326
|
# access, Kubernetes API requests from within your cluster's VPC use
|
2321
2327
|
# the private VPC endpoint. The default value for this parameter is
|
2322
2328
|
# `false`, which disables private access for your Kubernetes API
|
2323
|
-
# server.
|
2324
|
-
#
|
2329
|
+
# server. If you disable private access and you have worker nodes or
|
2330
|
+
# AWS Fargate pods in the cluster, then ensure that
|
2331
|
+
# `publicAccessCidrs` includes the necessary CIDR blocks for
|
2332
|
+
# communication with the worker nodes or Fargate pods. For more
|
2333
|
+
# information, see [Amazon EKS Cluster Endpoint Access Control][1] in
|
2334
|
+
# the <i> <i>Amazon EKS User Guide</i> </i>.
|
2325
2335
|
#
|
2326
2336
|
#
|
2327
2337
|
#
|
2328
2338
|
# [1]: https://docs.aws.amazon.com/eks/latest/userguide/cluster-endpoint.html
|
2329
2339
|
# @return [Boolean]
|
2330
2340
|
#
|
2341
|
+
# @!attribute [rw] public_access_cidrs
|
2342
|
+
# The CIDR blocks that are allowed access to your cluster's public
|
2343
|
+
# Kubernetes API server endpoint. Communication to the endpoint from
|
2344
|
+
# addresses outside of the CIDR blocks that you specify is denied. The
|
2345
|
+
# default value is `0.0.0.0/0`. If you've disabled private endpoint
|
2346
|
+
# access and you have worker nodes or AWS Fargate pods in the cluster,
|
2347
|
+
# then ensure that you specify the necessary CIDR blocks. For more
|
2348
|
+
# information, see [Amazon EKS Cluster Endpoint Access Control][1] in
|
2349
|
+
# the <i> <i>Amazon EKS User Guide</i> </i>.
|
2350
|
+
#
|
2351
|
+
#
|
2352
|
+
#
|
2353
|
+
# [1]: https://docs.aws.amazon.com/eks/latest/userguide/cluster-endpoint.html
|
2354
|
+
# @return [Array<String>]
|
2355
|
+
#
|
2331
2356
|
# @see http://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/VpcConfigRequest AWS API Documentation
|
2332
2357
|
#
|
2333
2358
|
class VpcConfigRequest < Struct.new(
|
2334
2359
|
:subnet_ids,
|
2335
2360
|
:security_group_ids,
|
2336
2361
|
:endpoint_public_access,
|
2337
|
-
:endpoint_private_access
|
2362
|
+
:endpoint_private_access,
|
2363
|
+
:public_access_cidrs)
|
2338
2364
|
include Aws::Structure
|
2339
2365
|
end
|
2340
2366
|
|
@@ -2364,7 +2390,7 @@ module Aws::EKS
|
|
2364
2390
|
# @!attribute [rw] endpoint_public_access
|
2365
2391
|
# This parameter indicates whether the Amazon EKS public API server
|
2366
2392
|
# endpoint is enabled. If the Amazon EKS public API server endpoint is
|
2367
|
-
# disabled, your cluster's Kubernetes API server can receive
|
2393
|
+
# disabled, your cluster's Kubernetes API server can only receive
|
2368
2394
|
# requests that originate from within the cluster VPC.
|
2369
2395
|
# @return [Boolean]
|
2370
2396
|
#
|
@@ -2373,9 +2399,33 @@ module Aws::EKS
|
|
2373
2399
|
# endpoint is enabled. If the Amazon EKS private API server endpoint
|
2374
2400
|
# is enabled, Kubernetes API requests that originate from within your
|
2375
2401
|
# cluster's VPC use the private VPC endpoint instead of traversing
|
2376
|
-
# the internet.
|
2402
|
+
# the internet. If this value is disabled and you have worker nodes or
|
2403
|
+
# AWS Fargate pods in the cluster, then ensure that
|
2404
|
+
# `publicAccessCidrs` includes the necessary CIDR blocks for
|
2405
|
+
# communication with the worker nodes or Fargate pods. For more
|
2406
|
+
# information, see [Amazon EKS Cluster Endpoint Access Control][1] in
|
2407
|
+
# the <i> <i>Amazon EKS User Guide</i> </i>.
|
2408
|
+
#
|
2409
|
+
#
|
2410
|
+
#
|
2411
|
+
# [1]: https://docs.aws.amazon.com/eks/latest/userguide/cluster-endpoint.html
|
2377
2412
|
# @return [Boolean]
|
2378
2413
|
#
|
2414
|
+
# @!attribute [rw] public_access_cidrs
|
2415
|
+
# The CIDR blocks that are allowed access to your cluster's public
|
2416
|
+
# Kubernetes API server endpoint. Communication to the endpoint from
|
2417
|
+
# addresses outside of the listed CIDR blocks is denied. The default
|
2418
|
+
# value is `0.0.0.0/0`. If you've disabled private endpoint access
|
2419
|
+
# and you have worker nodes or AWS Fargate pods in the cluster, then
|
2420
|
+
# ensure that the necessary CIDR blocks are listed. For more
|
2421
|
+
# information, see [Amazon EKS Cluster Endpoint Access Control][1] in
|
2422
|
+
# the <i> <i>Amazon EKS User Guide</i> </i>.
|
2423
|
+
#
|
2424
|
+
#
|
2425
|
+
#
|
2426
|
+
# [1]: https://docs.aws.amazon.com/eks/latest/userguide/cluster-endpoint.html
|
2427
|
+
# @return [Array<String>]
|
2428
|
+
#
|
2379
2429
|
# @see http://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/VpcConfigResponse AWS API Documentation
|
2380
2430
|
#
|
2381
2431
|
class VpcConfigResponse < Struct.new(
|
@@ -2384,7 +2434,8 @@ module Aws::EKS
|
|
2384
2434
|
:cluster_security_group_id,
|
2385
2435
|
:vpc_id,
|
2386
2436
|
:endpoint_public_access,
|
2387
|
-
:endpoint_private_access
|
2437
|
+
:endpoint_private_access,
|
2438
|
+
:public_access_cidrs)
|
2388
2439
|
include Aws::Structure
|
2389
2440
|
end
|
2390
2441
|
|
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.30.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: 2019-12-
|
11
|
+
date: 2019-12-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|