Struct aws_sdk_eks::model::VpcConfigResponse
source · [−]#[non_exhaustive]pub struct VpcConfigResponse {
pub subnet_ids: Option<Vec<String>>,
pub security_group_ids: Option<Vec<String>>,
pub cluster_security_group_id: Option<String>,
pub vpc_id: Option<String>,
pub endpoint_public_access: bool,
pub endpoint_private_access: bool,
pub public_access_cidrs: Option<Vec<String>>,
}
Expand description
An object representing an Amazon EKS cluster VPC configuration response.
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.subnet_ids: Option<Vec<String>>
The subnets associated with your cluster.
security_group_ids: Option<Vec<String>>
The security groups associated with the cross-account elastic network interfaces that are used to allow communication between your nodes and the Kubernetes control plane.
cluster_security_group_id: Option<String>
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.
vpc_id: Option<String>
The VPC associated with your cluster.
endpoint_public_access: bool
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.
endpoint_private_access: bool
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 nodes or Fargate pods in the cluster, then ensure that publicAccessCidrs
includes the necessary CIDR blocks for communication with the nodes or Fargate pods. For more information, see Amazon EKS cluster endpoint access control in the Amazon EKS User Guide .
public_access_cidrs: Option<Vec<String>>
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 nodes or 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 .
Implementations
sourceimpl VpcConfigResponse
impl VpcConfigResponse
sourcepub fn security_group_ids(&self) -> Option<&[String]>
pub fn security_group_ids(&self) -> Option<&[String]>
The security groups associated with the cross-account elastic network interfaces that are used to allow communication between your nodes and the Kubernetes control plane.
sourcepub fn cluster_security_group_id(&self) -> Option<&str>
pub fn cluster_security_group_id(&self) -> Option<&str>
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.
sourcepub fn endpoint_public_access(&self) -> bool
pub fn endpoint_public_access(&self) -> bool
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.
sourcepub fn endpoint_private_access(&self) -> bool
pub fn endpoint_private_access(&self) -> bool
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 nodes or Fargate pods in the cluster, then ensure that publicAccessCidrs
includes the necessary CIDR blocks for communication with the nodes or Fargate pods. For more information, see Amazon EKS cluster endpoint access control in the Amazon EKS User Guide .
sourcepub fn public_access_cidrs(&self) -> Option<&[String]>
pub fn public_access_cidrs(&self) -> Option<&[String]>
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 nodes or 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 .
sourceimpl VpcConfigResponse
impl VpcConfigResponse
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture VpcConfigResponse
Trait Implementations
sourceimpl Clone for VpcConfigResponse
impl Clone for VpcConfigResponse
sourcefn clone(&self) -> VpcConfigResponse
fn clone(&self) -> VpcConfigResponse
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for VpcConfigResponse
impl Debug for VpcConfigResponse
sourceimpl PartialEq<VpcConfigResponse> for VpcConfigResponse
impl PartialEq<VpcConfigResponse> for VpcConfigResponse
sourcefn eq(&self, other: &VpcConfigResponse) -> bool
fn eq(&self, other: &VpcConfigResponse) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &VpcConfigResponse) -> bool
fn ne(&self, other: &VpcConfigResponse) -> bool
This method tests for !=
.
impl StructuralPartialEq for VpcConfigResponse
Auto Trait Implementations
impl RefUnwindSafe for VpcConfigResponse
impl Send for VpcConfigResponse
impl Sync for VpcConfigResponse
impl Unpin for VpcConfigResponse
impl UnwindSafe for VpcConfigResponse
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more