Struct aws_sdk_eks::types::CreateAccessConfigRequest
source · #[non_exhaustive]pub struct CreateAccessConfigRequest {
pub bootstrap_cluster_creator_admin_permissions: Option<bool>,
pub authentication_mode: Option<AuthenticationMode>,
}
Expand description
The access configuration information for the cluster.
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.bootstrap_cluster_creator_admin_permissions: Option<bool>
Specifies whether or not the cluster creator IAM principal was set as a cluster admin access entry during cluster creation time. The default value is true
.
authentication_mode: Option<AuthenticationMode>
The desired authentication mode for the cluster. If you create a cluster by using the EKS API, Amazon Web Services SDKs, or CloudFormation, the default is CONFIG_MAP
. If you create the cluster by using the Amazon Web Services Management Console, the default value is API_AND_CONFIG_MAP
.
Implementations§
source§impl CreateAccessConfigRequest
impl CreateAccessConfigRequest
sourcepub fn bootstrap_cluster_creator_admin_permissions(&self) -> Option<bool>
pub fn bootstrap_cluster_creator_admin_permissions(&self) -> Option<bool>
Specifies whether or not the cluster creator IAM principal was set as a cluster admin access entry during cluster creation time. The default value is true
.
sourcepub fn authentication_mode(&self) -> Option<&AuthenticationMode>
pub fn authentication_mode(&self) -> Option<&AuthenticationMode>
The desired authentication mode for the cluster. If you create a cluster by using the EKS API, Amazon Web Services SDKs, or CloudFormation, the default is CONFIG_MAP
. If you create the cluster by using the Amazon Web Services Management Console, the default value is API_AND_CONFIG_MAP
.
source§impl CreateAccessConfigRequest
impl CreateAccessConfigRequest
sourcepub fn builder() -> CreateAccessConfigRequestBuilder
pub fn builder() -> CreateAccessConfigRequestBuilder
Creates a new builder-style object to manufacture CreateAccessConfigRequest
.
Trait Implementations§
source§impl Clone for CreateAccessConfigRequest
impl Clone for CreateAccessConfigRequest
source§fn clone(&self) -> CreateAccessConfigRequest
fn clone(&self) -> CreateAccessConfigRequest
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CreateAccessConfigRequest
impl Debug for CreateAccessConfigRequest
source§impl PartialEq for CreateAccessConfigRequest
impl PartialEq for CreateAccessConfigRequest
source§fn eq(&self, other: &CreateAccessConfigRequest) -> bool
fn eq(&self, other: &CreateAccessConfigRequest) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CreateAccessConfigRequest
Auto Trait Implementations§
impl Freeze for CreateAccessConfigRequest
impl RefUnwindSafe for CreateAccessConfigRequest
impl Send for CreateAccessConfigRequest
impl Sync for CreateAccessConfigRequest
impl Unpin for CreateAccessConfigRequest
impl UnwindSafe for CreateAccessConfigRequest
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more