#[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§
source§impl 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.
source§impl CreateFargateProfileInput
impl CreateFargateProfileInput
sourcepub fn builder() -> CreateFargateProfileInputBuilder
pub fn builder() -> CreateFargateProfileInputBuilder
Creates a new builder-style object to manufacture CreateFargateProfileInput
.
Trait Implementations§
source§impl Clone for CreateFargateProfileInput
impl Clone for CreateFargateProfileInput
source§fn clone(&self) -> CreateFargateProfileInput
fn clone(&self) -> CreateFargateProfileInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CreateFargateProfileInput
impl Debug for CreateFargateProfileInput
source§impl PartialEq for CreateFargateProfileInput
impl PartialEq for CreateFargateProfileInput
source§fn eq(&self, other: &CreateFargateProfileInput) -> bool
fn eq(&self, other: &CreateFargateProfileInput) -> bool
self
and other
values to be equal, and is used
by ==
.