Struct aws_sdk_eks::input::CreateFargateProfileInput
source · [−]#[non_exhaustive]pub struct CreateFargateProfileInput {
pub fargate_profile_name: Option<String>,
pub cluster_name: Option<String>,
pub pod_execution_role_arn: Option<String>,
pub subnets: Option<Vec<String>>,
pub selectors: Option<Vec<FargateProfileSelector>>,
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.fargate_profile_name: Option<String>
The name of the Fargate profile.
cluster_name: Option<String>
The name of the Amazon EKS cluster to apply the Fargate profile to.
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. The pod execution role allows Fargate infrastructure to register with your cluster as a node, and it provides read access to Amazon ECR image repositories. For more information, see Pod Execution Role in the Amazon EKS User Guide.
subnets: Option<Vec<String>>
The IDs of subnets to launch your pods into. At this time, pods running on Fargate are not assigned public IP addresses, so only private subnets (with no direct route to an Internet Gateway) are accepted for this parameter.
selectors: Option<Vec<FargateProfileSelector>>
The selectors to match for pods to use this Fargate profile. Each selector must have an associated namespace. Optionally, you can also specify labels for a namespace. You may specify up to five selectors in a Fargate profile.
client_request_token: Option<String>
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
The metadata to apply 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 CreateFargateProfileInput
impl CreateFargateProfileInput
sourcepub async fn make_operation(
self,
_config: &Config
) -> Result<Operation<CreateFargateProfile, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
self,
_config: &Config
) -> Result<Operation<CreateFargateProfile, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<CreateFargateProfile
>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture CreateFargateProfileInput
sourceimpl CreateFargateProfileInput
impl CreateFargateProfileInput
sourcepub fn fargate_profile_name(&self) -> Option<&str>
pub fn fargate_profile_name(&self) -> Option<&str>
The name 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 to apply the Fargate profile to.
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. The pod execution role allows Fargate infrastructure to register with your cluster as a node, and it provides read access to Amazon ECR image repositories. For more information, see Pod Execution Role in the Amazon EKS User Guide.
sourcepub fn subnets(&self) -> Option<&[String]>
pub fn subnets(&self) -> Option<&[String]>
The IDs of subnets to launch your pods into. At this time, pods running on Fargate are not assigned public IP addresses, so only private subnets (with no direct route to an Internet Gateway) are accepted for this parameter.
sourcepub fn selectors(&self) -> Option<&[FargateProfileSelector]>
pub fn selectors(&self) -> Option<&[FargateProfileSelector]>
The selectors to match for pods to use this Fargate profile. Each selector must have an associated namespace. Optionally, you can also specify labels for a namespace. You may specify up to five selectors in a Fargate profile.
sourcepub fn client_request_token(&self) -> Option<&str>
pub fn client_request_token(&self) -> Option<&str>
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
The metadata to apply 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.
Trait Implementations
sourceimpl Clone for CreateFargateProfileInput
impl Clone for CreateFargateProfileInput
sourcefn clone(&self) -> CreateFargateProfileInput
fn clone(&self) -> CreateFargateProfileInput
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 CreateFargateProfileInput
impl Debug for CreateFargateProfileInput
sourceimpl PartialEq<CreateFargateProfileInput> for CreateFargateProfileInput
impl PartialEq<CreateFargateProfileInput> for CreateFargateProfileInput
sourcefn eq(&self, other: &CreateFargateProfileInput) -> bool
fn eq(&self, other: &CreateFargateProfileInput) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &CreateFargateProfileInput) -> bool
fn ne(&self, other: &CreateFargateProfileInput) -> bool
This method tests for !=
.
impl StructuralPartialEq for CreateFargateProfileInput
Auto Trait Implementations
impl RefUnwindSafe for CreateFargateProfileInput
impl Send for CreateFargateProfileInput
impl Sync for CreateFargateProfileInput
impl Unpin for CreateFargateProfileInput
impl UnwindSafe for CreateFargateProfileInput
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