#[non_exhaustive]pub struct AssociateAccessPolicyInput {
pub cluster_name: Option<String>,
pub principal_arn: Option<String>,
pub policy_arn: Option<String>,
pub access_scope: Option<AccessScope>,
}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.cluster_name: Option<String>The name of your cluster.
principal_arn: Option<String>The Amazon Resource Name (ARN) of the IAM user or role for the AccessEntry that you're associating the access policy to.
policy_arn: Option<String>The ARN of the AccessPolicy that you're associating. For a list of ARNs, use ListAccessPolicies.
access_scope: Option<AccessScope>The scope for the AccessPolicy. You can scope access policies to an entire cluster or to specific Kubernetes namespaces.
Implementations§
source§impl AssociateAccessPolicyInput
impl AssociateAccessPolicyInput
sourcepub fn cluster_name(&self) -> Option<&str>
pub fn cluster_name(&self) -> Option<&str>
The name of your cluster.
sourcepub fn principal_arn(&self) -> Option<&str>
pub fn principal_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of the IAM user or role for the AccessEntry that you're associating the access policy to.
sourcepub fn policy_arn(&self) -> Option<&str>
pub fn policy_arn(&self) -> Option<&str>
The ARN of the AccessPolicy that you're associating. For a list of ARNs, use ListAccessPolicies.
sourcepub fn access_scope(&self) -> Option<&AccessScope>
pub fn access_scope(&self) -> Option<&AccessScope>
The scope for the AccessPolicy. You can scope access policies to an entire cluster or to specific Kubernetes namespaces.
source§impl AssociateAccessPolicyInput
impl AssociateAccessPolicyInput
sourcepub fn builder() -> AssociateAccessPolicyInputBuilder
pub fn builder() -> AssociateAccessPolicyInputBuilder
Creates a new builder-style object to manufacture AssociateAccessPolicyInput.
Trait Implementations§
source§impl Clone for AssociateAccessPolicyInput
impl Clone for AssociateAccessPolicyInput
source§fn clone(&self) -> AssociateAccessPolicyInput
fn clone(&self) -> AssociateAccessPolicyInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for AssociateAccessPolicyInput
impl Debug for AssociateAccessPolicyInput
source§impl PartialEq for AssociateAccessPolicyInput
impl PartialEq for AssociateAccessPolicyInput
source§fn eq(&self, other: &AssociateAccessPolicyInput) -> bool
fn eq(&self, other: &AssociateAccessPolicyInput) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for AssociateAccessPolicyInput
Auto Trait Implementations§
impl Freeze for AssociateAccessPolicyInput
impl RefUnwindSafe for AssociateAccessPolicyInput
impl Send for AssociateAccessPolicyInput
impl Sync for AssociateAccessPolicyInput
impl Unpin for AssociateAccessPolicyInput
impl UnwindSafe for AssociateAccessPolicyInput
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)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