/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include An object representing an Amazon EKS cluster VPC configuration
* response.See Also:
AWS
* API Reference
The subnets associated with your cluster.
*/ inline const Aws::VectorThe subnets associated with your cluster.
*/ inline bool SubnetIdsHasBeenSet() const { return m_subnetIdsHasBeenSet; } /** *The subnets associated with your cluster.
*/ inline void SetSubnetIds(const Aws::VectorThe subnets associated with your cluster.
*/ inline void SetSubnetIds(Aws::VectorThe subnets associated with your cluster.
*/ inline VpcConfigResponse& WithSubnetIds(const Aws::VectorThe subnets associated with your cluster.
*/ inline VpcConfigResponse& WithSubnetIds(Aws::VectorThe subnets associated with your cluster.
*/ inline VpcConfigResponse& AddSubnetIds(const Aws::String& value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(value); return *this; } /** *The subnets associated with your cluster.
*/ inline VpcConfigResponse& AddSubnetIds(Aws::String&& value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(std::move(value)); return *this; } /** *The subnets associated with your cluster.
*/ inline VpcConfigResponse& AddSubnetIds(const char* value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(value); return *this; } /** *The security groups associated with the cross-account elastic network * interfaces that are used to allow communication between your worker nodes and * the Kubernetes control plane.
*/ inline const Aws::VectorThe security groups associated with the cross-account elastic network * interfaces that are used to allow communication between your worker nodes and * the Kubernetes control plane.
*/ inline bool SecurityGroupIdsHasBeenSet() const { return m_securityGroupIdsHasBeenSet; } /** *The security groups associated with the cross-account elastic network * interfaces that are used to allow communication between your worker nodes and * the Kubernetes control plane.
*/ inline void SetSecurityGroupIds(const Aws::VectorThe security groups associated with the cross-account elastic network * interfaces that are used to allow communication between your worker nodes and * the Kubernetes control plane.
*/ inline void SetSecurityGroupIds(Aws::VectorThe security groups associated with the cross-account elastic network * interfaces that are used to allow communication between your worker nodes and * the Kubernetes control plane.
*/ inline VpcConfigResponse& WithSecurityGroupIds(const Aws::VectorThe security groups associated with the cross-account elastic network * interfaces that are used to allow communication between your worker nodes and * the Kubernetes control plane.
*/ inline VpcConfigResponse& WithSecurityGroupIds(Aws::VectorThe security groups associated with the cross-account elastic network * interfaces that are used to allow communication between your worker nodes and * the Kubernetes control plane.
*/ inline VpcConfigResponse& AddSecurityGroupIds(const Aws::String& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds.push_back(value); return *this; } /** *The security groups associated with the cross-account elastic network * interfaces that are used to allow communication between your worker nodes and * the Kubernetes control plane.
*/ inline VpcConfigResponse& AddSecurityGroupIds(Aws::String&& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds.push_back(std::move(value)); return *this; } /** *The security groups associated with the cross-account elastic network * interfaces that are used to allow communication between your worker nodes and * the Kubernetes control plane.
*/ inline VpcConfigResponse& AddSecurityGroupIds(const char* value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds.push_back(value); return *this; } /** *The cluster security group that was created by Amazon EKS for the cluster. * Managed node groups use this security group for control-plane-to-data-plane * communication.
*/ inline const Aws::String& GetClusterSecurityGroupId() const{ return m_clusterSecurityGroupId; } /** *The cluster security group that was created by Amazon EKS for the cluster. * Managed node groups use this security group for control-plane-to-data-plane * communication.
*/ inline bool ClusterSecurityGroupIdHasBeenSet() const { return m_clusterSecurityGroupIdHasBeenSet; } /** *The cluster security group that was created by Amazon EKS for the cluster. * Managed node groups use this security group for control-plane-to-data-plane * communication.
*/ inline void SetClusterSecurityGroupId(const Aws::String& value) { m_clusterSecurityGroupIdHasBeenSet = true; m_clusterSecurityGroupId = value; } /** *The cluster security group that was created by Amazon EKS for the cluster. * Managed node groups use this security group for control-plane-to-data-plane * communication.
*/ inline void SetClusterSecurityGroupId(Aws::String&& value) { m_clusterSecurityGroupIdHasBeenSet = true; m_clusterSecurityGroupId = std::move(value); } /** *The cluster security group that was created by Amazon EKS for the cluster. * Managed node groups use this security group for control-plane-to-data-plane * communication.
*/ inline void SetClusterSecurityGroupId(const char* value) { m_clusterSecurityGroupIdHasBeenSet = true; m_clusterSecurityGroupId.assign(value); } /** *The cluster security group that was created by Amazon EKS for the cluster. * Managed node groups use this security group for control-plane-to-data-plane * communication.
*/ inline VpcConfigResponse& WithClusterSecurityGroupId(const Aws::String& value) { SetClusterSecurityGroupId(value); return *this;} /** *The cluster security group that was created by Amazon EKS for the cluster. * Managed node groups use this security group for control-plane-to-data-plane * communication.
*/ inline VpcConfigResponse& WithClusterSecurityGroupId(Aws::String&& value) { SetClusterSecurityGroupId(std::move(value)); return *this;} /** *The cluster security group that was created by Amazon EKS for the cluster. * Managed node groups use this security group for control-plane-to-data-plane * communication.
*/ inline VpcConfigResponse& WithClusterSecurityGroupId(const char* value) { SetClusterSecurityGroupId(value); return *this;} /** *The VPC associated with your cluster.
*/ inline const Aws::String& GetVpcId() const{ return m_vpcId; } /** *The VPC associated with your cluster.
*/ inline bool VpcIdHasBeenSet() const { return m_vpcIdHasBeenSet; } /** *The VPC associated with your cluster.
*/ inline void SetVpcId(const Aws::String& value) { m_vpcIdHasBeenSet = true; m_vpcId = value; } /** *The VPC associated with your cluster.
*/ inline void SetVpcId(Aws::String&& value) { m_vpcIdHasBeenSet = true; m_vpcId = std::move(value); } /** *The VPC associated with your cluster.
*/ inline void SetVpcId(const char* value) { m_vpcIdHasBeenSet = true; m_vpcId.assign(value); } /** *The VPC associated with your cluster.
*/ inline VpcConfigResponse& WithVpcId(const Aws::String& value) { SetVpcId(value); return *this;} /** *The VPC associated with your cluster.
*/ inline VpcConfigResponse& WithVpcId(Aws::String&& value) { SetVpcId(std::move(value)); return *this;} /** *The VPC associated with your cluster.
*/ inline VpcConfigResponse& WithVpcId(const char* value) { SetVpcId(value); return *this;} /** *This parameter indicates whether the Amazon EKS public API server endpoint is * enabled. If the Amazon EKS public API server endpoint is disabled, your * cluster's Kubernetes API server can only receive requests that originate from * within the cluster VPC.
*/ inline bool GetEndpointPublicAccess() const{ return m_endpointPublicAccess; } /** *This parameter indicates whether the Amazon EKS public API server endpoint is * enabled. If the Amazon EKS public API server endpoint is disabled, your * cluster's Kubernetes API server can only receive requests that originate from * within the cluster VPC.
*/ inline bool EndpointPublicAccessHasBeenSet() const { return m_endpointPublicAccessHasBeenSet; } /** *This parameter indicates whether the Amazon EKS public API server endpoint is * enabled. If the Amazon EKS public API server endpoint is disabled, your * cluster's Kubernetes API server can only receive requests that originate from * within the cluster VPC.
*/ inline void SetEndpointPublicAccess(bool value) { m_endpointPublicAccessHasBeenSet = true; m_endpointPublicAccess = value; } /** *This parameter indicates whether the Amazon EKS public API server endpoint is * enabled. If the Amazon EKS public API server endpoint is disabled, your * cluster's Kubernetes API server can only receive requests that originate from * within the cluster VPC.
*/ inline VpcConfigResponse& WithEndpointPublicAccess(bool value) { SetEndpointPublicAccess(value); return *this;} /** *This parameter indicates whether the Amazon EKS private API server endpoint
* is enabled. If the Amazon EKS private API server endpoint is enabled, Kubernetes
* API requests that originate from within your cluster's VPC use the private VPC
* endpoint instead of traversing the internet. If this value is disabled and you
* have worker nodes or AWS Fargate pods in the cluster, then ensure that
* publicAccessCidrs includes the necessary CIDR blocks for
* communication with the worker nodes or Fargate pods. For more information, see
* Amazon
* EKS Cluster Endpoint Access Control in the Amazon EKS User Guide
* .
This parameter indicates whether the Amazon EKS private API server endpoint
* is enabled. If the Amazon EKS private API server endpoint is enabled, Kubernetes
* API requests that originate from within your cluster's VPC use the private VPC
* endpoint instead of traversing the internet. If this value is disabled and you
* have worker nodes or AWS Fargate pods in the cluster, then ensure that
* publicAccessCidrs includes the necessary CIDR blocks for
* communication with the worker nodes or Fargate pods. For more information, see
* Amazon
* EKS Cluster Endpoint Access Control in the Amazon EKS User Guide
* .
This parameter indicates whether the Amazon EKS private API server endpoint
* is enabled. If the Amazon EKS private API server endpoint is enabled, Kubernetes
* API requests that originate from within your cluster's VPC use the private VPC
* endpoint instead of traversing the internet. If this value is disabled and you
* have worker nodes or AWS Fargate pods in the cluster, then ensure that
* publicAccessCidrs includes the necessary CIDR blocks for
* communication with the worker nodes or Fargate pods. For more information, see
* Amazon
* EKS Cluster Endpoint Access Control in the Amazon EKS User Guide
* .
This parameter indicates whether the Amazon EKS private API server endpoint
* is enabled. If the Amazon EKS private API server endpoint is enabled, Kubernetes
* API requests that originate from within your cluster's VPC use the private VPC
* endpoint instead of traversing the internet. If this value is disabled and you
* have worker nodes or AWS Fargate pods in the cluster, then ensure that
* publicAccessCidrs includes the necessary CIDR blocks for
* communication with the worker nodes or Fargate pods. For more information, see
* Amazon
* EKS Cluster Endpoint Access Control in the Amazon EKS User Guide
* .
The CIDR blocks that are allowed access to your cluster's public Kubernetes
* API server endpoint. Communication to the endpoint from addresses outside of the
* listed CIDR blocks is denied. The default value is 0.0.0.0/0. If
* you've disabled private endpoint access and you have worker nodes or AWS Fargate
* pods in the cluster, then ensure that the necessary CIDR blocks are listed. For
* more information, see Amazon
* EKS Cluster Endpoint Access Control in the Amazon EKS User Guide
* .
The CIDR blocks that are allowed access to your cluster's public Kubernetes
* API server endpoint. Communication to the endpoint from addresses outside of the
* listed CIDR blocks is denied. The default value is 0.0.0.0/0. If
* you've disabled private endpoint access and you have worker nodes or AWS Fargate
* pods in the cluster, then ensure that the necessary CIDR blocks are listed. For
* more information, see Amazon
* EKS Cluster Endpoint Access Control in the Amazon EKS User Guide
* .
The CIDR blocks that are allowed access to your cluster's public Kubernetes
* API server endpoint. Communication to the endpoint from addresses outside of the
* listed CIDR blocks is denied. The default value is 0.0.0.0/0. If
* you've disabled private endpoint access and you have worker nodes or AWS Fargate
* pods in the cluster, then ensure that the necessary CIDR blocks are listed. For
* more information, see Amazon
* EKS Cluster Endpoint Access Control in the Amazon EKS User Guide
* .
The CIDR blocks that are allowed access to your cluster's public Kubernetes
* API server endpoint. Communication to the endpoint from addresses outside of the
* listed CIDR blocks is denied. The default value is 0.0.0.0/0. If
* you've disabled private endpoint access and you have worker nodes or AWS Fargate
* pods in the cluster, then ensure that the necessary CIDR blocks are listed. For
* more information, see Amazon
* EKS Cluster Endpoint Access Control in the Amazon EKS User Guide
* .
The CIDR blocks that are allowed access to your cluster's public Kubernetes
* API server endpoint. Communication to the endpoint from addresses outside of the
* listed CIDR blocks is denied. The default value is 0.0.0.0/0. If
* you've disabled private endpoint access and you have worker nodes or AWS Fargate
* pods in the cluster, then ensure that the necessary CIDR blocks are listed. For
* more information, see Amazon
* EKS Cluster Endpoint Access Control in the Amazon EKS User Guide
* .
The CIDR blocks that are allowed access to your cluster's public Kubernetes
* API server endpoint. Communication to the endpoint from addresses outside of the
* listed CIDR blocks is denied. The default value is 0.0.0.0/0. If
* you've disabled private endpoint access and you have worker nodes or AWS Fargate
* pods in the cluster, then ensure that the necessary CIDR blocks are listed. For
* more information, see Amazon
* EKS Cluster Endpoint Access Control in the Amazon EKS User Guide
* .
The CIDR blocks that are allowed access to your cluster's public Kubernetes
* API server endpoint. Communication to the endpoint from addresses outside of the
* listed CIDR blocks is denied. The default value is 0.0.0.0/0. If
* you've disabled private endpoint access and you have worker nodes or AWS Fargate
* pods in the cluster, then ensure that the necessary CIDR blocks are listed. For
* more information, see Amazon
* EKS Cluster Endpoint Access Control in the Amazon EKS User Guide
* .
The CIDR blocks that are allowed access to your cluster's public Kubernetes
* API server endpoint. Communication to the endpoint from addresses outside of the
* listed CIDR blocks is denied. The default value is 0.0.0.0/0. If
* you've disabled private endpoint access and you have worker nodes or AWS Fargate
* pods in the cluster, then ensure that the necessary CIDR blocks are listed. For
* more information, see Amazon
* EKS Cluster Endpoint Access Control in the Amazon EKS User Guide
* .
The CIDR blocks that are allowed access to your cluster's public Kubernetes
* API server endpoint. Communication to the endpoint from addresses outside of the
* listed CIDR blocks is denied. The default value is 0.0.0.0/0. If
* you've disabled private endpoint access and you have worker nodes or AWS Fargate
* pods in the cluster, then ensure that the necessary CIDR blocks are listed. For
* more information, see Amazon
* EKS Cluster Endpoint Access Control in the Amazon EKS User Guide
* .