1. Packages
  2. AWS Cloud Control
  3. API Docs
  4. eks
  5. FargateProfile

We recommend new projects start with resources from the AWS provider.

AWS Cloud Control v1.6.0 published on Monday, Nov 4, 2024 by Pulumi

aws-native.eks.FargateProfile

Explore with Pulumi AI

aws-native logo

We recommend new projects start with resources from the AWS provider.

AWS Cloud Control v1.6.0 published on Monday, Nov 4, 2024 by Pulumi

    Resource Schema for AWS::EKS::FargateProfile

    Create FargateProfile Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new FargateProfile(name: string, args: FargateProfileArgs, opts?: CustomResourceOptions);
    @overload
    def FargateProfile(resource_name: str,
                       args: FargateProfileArgs,
                       opts: Optional[ResourceOptions] = None)
    
    @overload
    def FargateProfile(resource_name: str,
                       opts: Optional[ResourceOptions] = None,
                       cluster_name: Optional[str] = None,
                       pod_execution_role_arn: Optional[str] = None,
                       selectors: Optional[Sequence[FargateProfileSelectorArgs]] = None,
                       fargate_profile_name: Optional[str] = None,
                       subnets: Optional[Sequence[str]] = None,
                       tags: Optional[Sequence[_root_inputs.TagArgs]] = None)
    func NewFargateProfile(ctx *Context, name string, args FargateProfileArgs, opts ...ResourceOption) (*FargateProfile, error)
    public FargateProfile(string name, FargateProfileArgs args, CustomResourceOptions? opts = null)
    public FargateProfile(String name, FargateProfileArgs args)
    public FargateProfile(String name, FargateProfileArgs args, CustomResourceOptions options)
    
    type: aws-native:eks:FargateProfile
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args FargateProfileArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args FargateProfileArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args FargateProfileArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args FargateProfileArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args FargateProfileArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    FargateProfile Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The FargateProfile resource accepts the following input properties:

    ClusterName string
    Name of the Cluster
    PodExecutionRoleArn string
    The IAM policy arn for pods
    Selectors List<Pulumi.AwsNative.Eks.Inputs.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.
    FargateProfileName string
    Name of FargateProfile
    Subnets List<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.
    Tags List<Pulumi.AwsNative.Inputs.Tag>
    An array of key-value pairs to apply to this resource.
    ClusterName string
    Name of the Cluster
    PodExecutionRoleArn string
    The IAM policy arn for pods
    Selectors []FargateProfileSelectorArgs
    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.
    FargateProfileName string
    Name of FargateProfile
    Subnets []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.
    Tags TagArgs
    An array of key-value pairs to apply to this resource.
    clusterName String
    Name of the Cluster
    podExecutionRoleArn String
    The IAM policy arn for pods
    selectors List<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.
    fargateProfileName String
    Name of FargateProfile
    subnets List<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.
    tags List<Tag>
    An array of key-value pairs to apply to this resource.
    clusterName string
    Name of the Cluster
    podExecutionRoleArn string
    The IAM policy arn for pods
    selectors 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.
    fargateProfileName string
    Name of FargateProfile
    subnets 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.
    tags Tag[]
    An array of key-value pairs to apply to this resource.
    cluster_name str
    Name of the Cluster
    pod_execution_role_arn str
    The IAM policy arn for pods
    selectors Sequence[FargateProfileSelectorArgs]
    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.
    fargate_profile_name str
    Name of FargateProfile
    subnets Sequence[str]
    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.
    tags Sequence[TagArgs]
    An array of key-value pairs to apply to this resource.
    clusterName String
    Name of the Cluster
    podExecutionRoleArn String
    The IAM policy arn for pods
    selectors List<Property Map>
    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.
    fargateProfileName String
    Name of FargateProfile
    subnets List<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.
    tags List<Property Map>
    An array of key-value pairs to apply to this resource.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the FargateProfile resource produces the following output properties:

    Arn string
    The ARN of the cluster, such as arn:aws:eks:us-west-2:666666666666:fargateprofile/myCluster/myFargateProfile/1cb1a11a-1dc1-1d11-cf11-1111f11fa111 .
    Id string
    The provider-assigned unique ID for this managed resource.
    Arn string
    The ARN of the cluster, such as arn:aws:eks:us-west-2:666666666666:fargateprofile/myCluster/myFargateProfile/1cb1a11a-1dc1-1d11-cf11-1111f11fa111 .
    Id string
    The provider-assigned unique ID for this managed resource.
    arn String
    The ARN of the cluster, such as arn:aws:eks:us-west-2:666666666666:fargateprofile/myCluster/myFargateProfile/1cb1a11a-1dc1-1d11-cf11-1111f11fa111 .
    id String
    The provider-assigned unique ID for this managed resource.
    arn string
    The ARN of the cluster, such as arn:aws:eks:us-west-2:666666666666:fargateprofile/myCluster/myFargateProfile/1cb1a11a-1dc1-1d11-cf11-1111f11fa111 .
    id string
    The provider-assigned unique ID for this managed resource.
    arn str
    The ARN of the cluster, such as arn:aws:eks:us-west-2:666666666666:fargateprofile/myCluster/myFargateProfile/1cb1a11a-1dc1-1d11-cf11-1111f11fa111 .
    id str
    The provider-assigned unique ID for this managed resource.
    arn String
    The ARN of the cluster, such as arn:aws:eks:us-west-2:666666666666:fargateprofile/myCluster/myFargateProfile/1cb1a11a-1dc1-1d11-cf11-1111f11fa111 .
    id String
    The provider-assigned unique ID for this managed resource.

    Supporting Types

    FargateProfileLabel, FargateProfileLabelArgs

    Key string
    The key name of the label.
    Value string
    The value for the label.
    Key string
    The key name of the label.
    Value string
    The value for the label.
    key String
    The key name of the label.
    value String
    The value for the label.
    key string
    The key name of the label.
    value string
    The value for the label.
    key str
    The key name of the label.
    value str
    The value for the label.
    key String
    The key name of the label.
    value String
    The value for the label.

    FargateProfileSelector, FargateProfileSelectorArgs

    Namespace string
    The Kubernetes namespace that the selector should match.
    Labels List<Pulumi.AwsNative.Eks.Inputs.FargateProfileLabel>
    The Kubernetes labels that the selector should match. A pod must contain all of the labels that are specified in the selector for it to be considered a match.
    Namespace string
    The Kubernetes namespace that the selector should match.
    Labels []FargateProfileLabel
    The Kubernetes labels that the selector should match. A pod must contain all of the labels that are specified in the selector for it to be considered a match.
    namespace String
    The Kubernetes namespace that the selector should match.
    labels List<FargateProfileLabel>
    The Kubernetes labels that the selector should match. A pod must contain all of the labels that are specified in the selector for it to be considered a match.
    namespace string
    The Kubernetes namespace that the selector should match.
    labels FargateProfileLabel[]
    The Kubernetes labels that the selector should match. A pod must contain all of the labels that are specified in the selector for it to be considered a match.
    namespace str
    The Kubernetes namespace that the selector should match.
    labels Sequence[FargateProfileLabel]
    The Kubernetes labels that the selector should match. A pod must contain all of the labels that are specified in the selector for it to be considered a match.
    namespace String
    The Kubernetes namespace that the selector should match.
    labels List<Property Map>
    The Kubernetes labels that the selector should match. A pod must contain all of the labels that are specified in the selector for it to be considered a match.

    Tag, TagArgs

    Key string
    The key name of the tag
    Value string
    The value of the tag
    Key string
    The key name of the tag
    Value string
    The value of the tag
    key String
    The key name of the tag
    value String
    The value of the tag
    key string
    The key name of the tag
    value string
    The value of the tag
    key str
    The key name of the tag
    value str
    The value of the tag
    key String
    The key name of the tag
    value String
    The value of the tag

    Package Details

    Repository
    AWS Native pulumi/pulumi-aws-native
    License
    Apache-2.0
    aws-native logo

    We recommend new projects start with resources from the AWS provider.

    AWS Cloud Control v1.6.0 published on Monday, Nov 4, 2024 by Pulumi