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
pub 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>
Creates a new builder-style object to manufacture CreateFargateProfileInput
The name of the Fargate profile.
The name of the Amazon EKS cluster to apply the Fargate profile to.
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.
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.
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.
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
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
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
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more