[][src]Struct rusoto_eks::CreateFargateProfileRequest

pub struct CreateFargateProfileRequest {
    pub client_request_token: Option<String>,
    pub cluster_name: String,
    pub fargate_profile_name: String,
    pub pod_execution_role_arn: String,
    pub selectors: Option<Vec<FargateProfileSelector>>,
    pub subnets: Option<Vec<String>>,
    pub tags: Option<HashMap<String, String>>,
}

Fields

client_request_token: Option<String>

Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.

cluster_name: String

The name of the Amazon EKS cluster to apply the Fargate profile to.

fargate_profile_name: String

The name of the Fargate profile.

pod_execution_role_arn: 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.

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.

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.

tags: Option<HashMap<String, String>>

The metadata to apply to the Fargate profile to assist with categorization and organization. Each tag consists of a key and an optional value, both of which you define. 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

impl Clone for CreateFargateProfileRequest[src]

impl Debug for CreateFargateProfileRequest[src]

impl Default for CreateFargateProfileRequest[src]

impl PartialEq<CreateFargateProfileRequest> for CreateFargateProfileRequest[src]

impl Serialize for CreateFargateProfileRequest[src]

impl StructuralPartialEq for CreateFargateProfileRequest[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.