Struct aws_sdk_eks::types::PodIdentityAssociation
source · #[non_exhaustive]pub struct PodIdentityAssociation {
pub cluster_name: Option<String>,
pub namespace: Option<String>,
pub service_account: Option<String>,
pub role_arn: Option<String>,
pub association_arn: Option<String>,
pub association_id: Option<String>,
pub tags: Option<HashMap<String, String>>,
pub created_at: Option<DateTime>,
pub modified_at: Option<DateTime>,
}Expand description
Amazon EKS Pod Identity associations provide the ability to manage credentials for your applications, similar to the way that 7EC2l instance profiles provide credentials to Amazon EC2 instances.
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 that the association is 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.
association_arn: Option<String>The Amazon Resource Name (ARN) of the association.
association_id: Option<String>The ID of the association.
The metadata that you apply to a resource to assist with categorization and organization. Each tag consists of a key and an optional value. You define both.
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.
created_at: Option<DateTime>The timestamp that the association was created at.
modified_at: Option<DateTime>The most recent timestamp that the association was modified at
Implementations§
source§impl PodIdentityAssociation
impl PodIdentityAssociation
sourcepub fn cluster_name(&self) -> Option<&str>
pub fn cluster_name(&self) -> Option<&str>
The name of the cluster that the association is 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 association_arn(&self) -> Option<&str>
pub fn association_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of the association.
sourcepub fn association_id(&self) -> Option<&str>
pub fn association_id(&self) -> Option<&str>
The ID of the association.
The metadata that you apply to a resource to assist with categorization and organization. Each tag consists of a key and an optional value. You define both.
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.
sourcepub fn created_at(&self) -> Option<&DateTime>
pub fn created_at(&self) -> Option<&DateTime>
The timestamp that the association was created at.
sourcepub fn modified_at(&self) -> Option<&DateTime>
pub fn modified_at(&self) -> Option<&DateTime>
The most recent timestamp that the association was modified at
source§impl PodIdentityAssociation
impl PodIdentityAssociation
sourcepub fn builder() -> PodIdentityAssociationBuilder
pub fn builder() -> PodIdentityAssociationBuilder
Creates a new builder-style object to manufacture PodIdentityAssociation.
Trait Implementations§
source§impl Clone for PodIdentityAssociation
impl Clone for PodIdentityAssociation
source§fn clone(&self) -> PodIdentityAssociation
fn clone(&self) -> PodIdentityAssociation
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for PodIdentityAssociation
impl Debug for PodIdentityAssociation
source§impl PartialEq for PodIdentityAssociation
impl PartialEq for PodIdentityAssociation
source§fn eq(&self, other: &PodIdentityAssociation) -> bool
fn eq(&self, other: &PodIdentityAssociation) -> bool
self and other values to be equal, and is used
by ==.