Struct aws_sdk_eks::model::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
sourceimpl 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.
sourceimpl FargateProfile
impl FargateProfile
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture FargateProfile
Trait Implementations
sourceimpl Clone for FargateProfile
impl Clone for FargateProfile
sourcefn clone(&self) -> FargateProfile
fn clone(&self) -> FargateProfile
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for FargateProfile
impl Debug for FargateProfile
sourceimpl PartialEq<FargateProfile> for FargateProfile
impl PartialEq<FargateProfile> for FargateProfile
sourcefn eq(&self, other: &FargateProfile) -> bool
fn eq(&self, other: &FargateProfile) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &FargateProfile) -> bool
fn ne(&self, other: &FargateProfile) -> bool
This method tests for !=
.
impl StructuralPartialEq for FargateProfile
Auto Trait Implementations
impl RefUnwindSafe for FargateProfile
impl Send for FargateProfile
impl Sync for FargateProfile
impl Unpin for FargateProfile
impl UnwindSafe for FargateProfile
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more