#[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 your cluster.
pod_execution_role_arn: Option<String>The Amazon Resource Name (ARN) of the Pod execution role to use for a Pod that matches 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 a Pod into. A Pod running on Fargate isn't assigned a public IP address, 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 a Pod to use this Fargate profile. Each selector must have an associated Kubernetes 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>A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
Metadata that assists with categorization and organization. Each tag consists of a key and an optional value. You define both. Tags don't propagate to any other cluster or Amazon Web Services resources.
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 your cluster.
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 a Pod that matches 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) -> &[String]
pub fn subnets(&self) -> &[String]
The IDs of subnets to launch a Pod into. A Pod running on Fargate isn't assigned a public IP address, so only private subnets (with no direct route to an Internet Gateway) are accepted for this parameter.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .subnets.is_none().
sourcepub fn selectors(&self) -> &[FargateProfileSelector]
pub fn selectors(&self) -> &[FargateProfileSelector]
The selectors to match for a Pod to use this Fargate profile. Each selector must have an associated Kubernetes namespace. Optionally, you can also specify labels for a namespace. You may specify up to five selectors in a Fargate profile.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .selectors.is_none().
sourcepub fn client_request_token(&self) -> Option<&str>
pub fn client_request_token(&self) -> Option<&str>
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
Metadata that assists with categorization and organization. Each tag consists of a key and an optional value. You define both. Tags don't propagate to any other cluster or Amazon Web Services resources.
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 ==.