Struct aws_sdk_eks::operation::create_pod_identity_association::CreatePodIdentityAssociationInput
source · #[non_exhaustive]pub struct CreatePodIdentityAssociationInput {
pub cluster_name: Option<String>,
pub namespace: Option<String>,
pub service_account: Option<String>,
pub role_arn: Option<String>,
pub client_request_token: Option<String>,
pub tags: Option<HashMap<String, String>>,
}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 the cluster to create the association in.
namespace: Option<String>The name of the Kubernetes namespace inside the cluster to create the association in. The service account and the pods that use the service account must be in this namespace.
service_account: Option<String>The name of the Kubernetes service account inside the cluster to associate the IAM credentials with.
role_arn: Option<String>The Amazon Resource Name (ARN) of the IAM role to associate with the service account. The EKS Pod Identity agent manages credentials to assume this role for applications in the containers in the pods that use this service account.
client_request_token: Option<String>A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
Metadata that assists with categorization and organization. Each tag consists of a key and an optional value. You define both. Tags don't propagate to any other cluster or Amazon Web Services resources.
The following basic restrictions apply to tags:
-
Maximum number of tags per resource – 50
-
For each resource, each tag key must be unique, and each tag key can have only one value.
-
Maximum key length – 128 Unicode characters in UTF-8
-
Maximum value length – 256 Unicode characters in UTF-8
-
If your tagging schema is used across multiple services and resources, remember that other services may have restrictions on allowed characters. Generally allowed characters are: letters, numbers, and spaces representable in UTF-8, and the following characters: + - = . _ : / @.
-
Tag keys and values are case-sensitive.
-
Do not use
aws:,AWS:, or any upper or lowercase combination of such as a prefix for either keys or values as it is reserved for Amazon Web Services use. You cannot edit or delete tag keys or values with this prefix. Tags with this prefix do not count against your tags per resource limit.
Implementations§
source§impl CreatePodIdentityAssociationInput
impl CreatePodIdentityAssociationInput
sourcepub fn cluster_name(&self) -> Option<&str>
pub fn cluster_name(&self) -> Option<&str>
The name of the cluster to create the association in.
sourcepub fn namespace(&self) -> Option<&str>
pub fn namespace(&self) -> Option<&str>
The name of the Kubernetes namespace inside the cluster to create the association in. The service account and the pods that use the service account must be in this namespace.
sourcepub fn service_account(&self) -> Option<&str>
pub fn service_account(&self) -> Option<&str>
The name of the Kubernetes service account inside the cluster to associate the IAM credentials with.
sourcepub fn role_arn(&self) -> Option<&str>
pub fn role_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of the IAM role to associate with the service account. The EKS Pod Identity agent manages credentials to assume this role for applications in the containers in the pods that use this service account.
sourcepub fn client_request_token(&self) -> Option<&str>
pub fn client_request_token(&self) -> Option<&str>
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
Metadata that assists with categorization and organization. Each tag consists of a key and an optional value. You define both. Tags don't propagate to any other cluster or Amazon Web Services resources.
The following basic restrictions apply to tags:
-
Maximum number of tags per resource – 50
-
For each resource, each tag key must be unique, and each tag key can have only one value.
-
Maximum key length – 128 Unicode characters in UTF-8
-
Maximum value length – 256 Unicode characters in UTF-8
-
If your tagging schema is used across multiple services and resources, remember that other services may have restrictions on allowed characters. Generally allowed characters are: letters, numbers, and spaces representable in UTF-8, and the following characters: + - = . _ : / @.
-
Tag keys and values are case-sensitive.
-
Do not use
aws:,AWS:, or any upper or lowercase combination of such as a prefix for either keys or values as it is reserved for Amazon Web Services use. You cannot edit or delete tag keys or values with this prefix. Tags with this prefix do not count against your tags per resource limit.
source§impl CreatePodIdentityAssociationInput
impl CreatePodIdentityAssociationInput
sourcepub fn builder() -> CreatePodIdentityAssociationInputBuilder
pub fn builder() -> CreatePodIdentityAssociationInputBuilder
Creates a new builder-style object to manufacture CreatePodIdentityAssociationInput.
Trait Implementations§
source§impl Clone for CreatePodIdentityAssociationInput
impl Clone for CreatePodIdentityAssociationInput
source§fn clone(&self) -> CreatePodIdentityAssociationInput
fn clone(&self) -> CreatePodIdentityAssociationInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl PartialEq for CreatePodIdentityAssociationInput
impl PartialEq for CreatePodIdentityAssociationInput
source§fn eq(&self, other: &CreatePodIdentityAssociationInput) -> bool
fn eq(&self, other: &CreatePodIdentityAssociationInput) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for CreatePodIdentityAssociationInput
Auto Trait Implementations§
impl Freeze for CreatePodIdentityAssociationInput
impl RefUnwindSafe for CreatePodIdentityAssociationInput
impl Send for CreatePodIdentityAssociationInput
impl Sync for CreatePodIdentityAssociationInput
impl Unpin for CreatePodIdentityAssociationInput
impl UnwindSafe for CreatePodIdentityAssociationInput
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