Struct aws_sdk_eks::types::FargateProfile
source · #[non_exhaustive]pub struct FargateProfile {
pub fargate_profile_name: Option<String>,
pub fargate_profile_arn: Option<String>,
pub cluster_name: Option<String>,
pub created_at: Option<DateTime>,
pub pod_execution_role_arn: Option<String>,
pub subnets: Option<Vec<String>>,
pub selectors: Option<Vec<FargateProfileSelector>>,
pub status: Option<FargateProfileStatus>,
pub tags: Option<HashMap<String, String>>,
}
Expand description
An object representing an Fargate profile.
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.fargate_profile_name: Option<String>
The name of the Fargate profile.
fargate_profile_arn: Option<String>
The full Amazon Resource Name (ARN) of the Fargate profile.
cluster_name: Option<String>
The name of the Amazon EKS cluster that the Fargate profile belongs to.
created_at: Option<DateTime>
The Unix epoch timestamp in seconds for when the Fargate profile was created.
pod_execution_role_arn: Option<String>
The Amazon Resource Name (ARN) of the pod execution role to use for pods that match the selectors in the Fargate profile. For more information, see Pod Execution Role in the Amazon EKS User Guide.
subnets: Option<Vec<String>>
The IDs of subnets to launch pods into.
selectors: Option<Vec<FargateProfileSelector>>
The selectors to match for pods to use this Fargate profile.
status: Option<FargateProfileStatus>
The current status of the Fargate profile.
The metadata applied to the Fargate profile to assist with categorization and organization. Each tag consists of a key and an optional value. You define both. Fargate profile tags do not propagate to any other resources associated with the Fargate profile, such as the pods that are scheduled with it.
Implementations§
source§impl FargateProfile
impl FargateProfile
sourcepub fn fargate_profile_name(&self) -> Option<&str>
pub fn fargate_profile_name(&self) -> Option<&str>
The name of the Fargate profile.
sourcepub fn fargate_profile_arn(&self) -> Option<&str>
pub fn fargate_profile_arn(&self) -> Option<&str>
The full Amazon Resource Name (ARN) of the Fargate profile.
sourcepub fn cluster_name(&self) -> Option<&str>
pub fn cluster_name(&self) -> Option<&str>
The name of the Amazon EKS cluster that the Fargate profile belongs to.
sourcepub fn created_at(&self) -> Option<&DateTime>
pub fn created_at(&self) -> Option<&DateTime>
The Unix epoch timestamp in seconds for when the Fargate profile was created.
sourcepub fn pod_execution_role_arn(&self) -> Option<&str>
pub fn pod_execution_role_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of the pod execution role to use for pods that match the selectors in the Fargate profile. For more information, see Pod Execution Role in the Amazon EKS User Guide.
sourcepub fn selectors(&self) -> Option<&[FargateProfileSelector]>
pub fn selectors(&self) -> Option<&[FargateProfileSelector]>
The selectors to match for pods to use this Fargate profile.
sourcepub fn status(&self) -> Option<&FargateProfileStatus>
pub fn status(&self) -> Option<&FargateProfileStatus>
The current status of the Fargate profile.
The metadata applied to the Fargate profile to assist with categorization and organization. Each tag consists of a key and an optional value. You define both. Fargate profile tags do not propagate to any other resources associated with the Fargate profile, such as the pods that are scheduled with it.
source§impl FargateProfile
impl FargateProfile
sourcepub fn builder() -> FargateProfileBuilder
pub fn builder() -> FargateProfileBuilder
Creates a new builder-style object to manufacture FargateProfile
.
Trait Implementations§
source§impl Clone for FargateProfile
impl Clone for FargateProfile
source§fn clone(&self) -> FargateProfile
fn clone(&self) -> FargateProfile
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for FargateProfile
impl Debug for FargateProfile
source§impl PartialEq for FargateProfile
impl PartialEq for FargateProfile
source§fn eq(&self, other: &FargateProfile) -> bool
fn eq(&self, other: &FargateProfile) -> bool
self
and other
values to be equal, and is used
by ==
.