Amazon EKS Fargate Profiles API

Operations for managing EKS Fargate profiles

GitHub OpenAPI
Business capability
IT Infrastructure Management BC-600.50

Operations 4

POST /clusters/{clusterName}/fargate-profiles Create Fargate Profile #
GET /clusters/{clusterName}/fargate-profiles List Fargate Profiles #
DELETE /clusters/{clusterName}/fargate-profiles/{fargateProfileName} Delete Fargate Profile #
GET /clusters/{clusterName}/fargate-profiles/{fargateProfileName} Describe Fargate Profile #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/amazon-eks:amazon-eks-fargate-profiles-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

amazon-eks-fargate-profiles-api-openapi.yml Raw ↑
openapi: 3.1.0
info:
  title: Amazon Elastic Kubernetes Service Fargate Profiles API
  version: '2017-11-01'
  description: Generated from AWS's published Smithy model for Amazon Elastic Kubernetes Service. 4 operation(s).
  contact:
    name: Amazon Web Services
    url: https://aws.amazon.com/contact-us/
  license:
    name: Apache 2.0
    identifier: Apache-2.0
    url: https://github.com/aws/api-models-aws/blob/main/LICENSE
servers:
- url: https://eks.{region}.amazonaws.com
  variables:
    region:
      default: us-east-1
security:
- sigv4: []
paths:
  /clusters/{clusterName}/fargate-profiles:
    post:
      operationId: CreateFargateProfile
      summary: Create Fargate Profile
      description: Creates an Fargate profile for your Amazon EKS cluster. You must have at least one Fargate profile in a
        cluster to be able to run pods on Fargate. The Fargate profile allows an administrator to declare which pods run on
        Fargate and specify which pods run on which Fargate profile. This declaration is done through the profile's selectors.
        Each profile can have up to five selectors that contain a namespace and labels. A namespace is required for every
        selector. The label field consists of multiple optional key-value pairs. Pods that match the selectors are scheduled
        on Fargate. If a to-be-scheduled pod matches any of the selectors in the Fargate profile, then that pod is run on
        Fargate. When you create a Fargate profile, you must specify a pod execution role to use with the pods that are scheduled
        with the profile. This role is added to the cluster's Kubernetes Role Based Access Control (RBAC) for authorization
        so that the kubelet that is running on the Fargate infrastructure can register with your Amazon EKS cluster so that
        it can appear in your cluster as a node. The pod execution role also provides IAM permissions to the Fargate infrastructure
        to allow read access to Amazon ECR ima
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CreateFargateProfileResponse'
        '400':
          description: ClientException; InvalidParameterException; InvalidRequestException; ResourceLimitExceededException;
            UnsupportedAvailabilityZoneException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ClientException'
        '500':
          description: ServerException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ServerException'
      parameters:
      - name: clusterName
        in: path
        required: true
        schema:
          type: string
        description: The name of your cluster.
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                fargateProfileName:
                  type: string
                  description: The name of the Fargate profile.
                podExecutionRoleArn:
                  type: string
                  description: 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:
                  type: array
                  items:
                    type: string
                  description: 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:
                  type: array
                  items:
                    $ref: '#/components/schemas/FargateProfileSelector'
                  description: 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.
                clientRequestToken:
                  type: string
                  description: A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
                tags:
                  type: object
                  additionalProperties:
                    type: string
                  description: 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.
              required:
              - fargateProfileName
              - podExecutionRoleArn
      tags:
      - Fargate Profiles
    get:
      operationId: ListFargateProfiles
      summary: List Fargate Profiles
      description: Lists the Fargate profiles associated with the specified cluster in your Amazon Web Services account in
        the specified Amazon Web Services Region.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ListFargateProfilesResponse'
        '400':
          description: ClientException; InvalidParameterException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ClientException'
        '404':
          description: ResourceNotFoundException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResourceNotFoundException'
        '500':
          description: ServerException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ServerException'
      parameters:
      - name: clusterName
        in: path
        required: true
        schema:
          type: string
        description: The name of your cluster.
      - name: maxResults
        in: query
        schema:
          type: integer
        description: The maximum number of results, returned in paginated output. You receive maxResults in a single page,
          along with a nextToken response element. You can see the remaining results of the initial request by sending another
          request with the returned nextToken value. This value can be between 1 and 100. If you don't use this parameter,
          100 results and a nextToken value, if applicable, are returned.
      - name: nextToken
        in: query
        schema:
          type: string
        description: The nextToken value returned from a previous paginated request, where maxResults was used and the results
          exceeded the value of that parameter. Pagination continues from the end of the previous results that returned the
          nextToken value. This value is null when there are no more results to return. This token should be treated as an
          opaque identifier that is used only to retrieve the next items in a list and not for other programmatic purposes.
      tags:
      - Fargate Profiles
  /clusters/{clusterName}/fargate-profiles/{fargateProfileName}:
    delete:
      operationId: DeleteFargateProfile
      summary: Delete Fargate Profile
      description: Deletes an Fargate profile. When you delete a Fargate profile, any Pod running on Fargate that was created
        with the profile is deleted. If the Pod matches another Fargate profile, then it is scheduled on Fargate with that
        profile. If it no longer matches any Fargate profiles, then it's not scheduled on Fargate and may remain in a pending
        state. Only one Fargate profile in a cluster can be in the DELETING status at a time. You must wait for a Fargate
        profile to finish deleting before you can delete any other profiles in that cluster.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DeleteFargateProfileResponse'
        '400':
          description: ClientException; InvalidParameterException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ClientException'
        '404':
          description: ResourceNotFoundException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResourceNotFoundException'
        '500':
          description: ServerException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ServerException'
      parameters:
      - name: clusterName
        in: path
        required: true
        schema:
          type: string
        description: The name of your cluster.
      - name: fargateProfileName
        in: path
        required: true
        schema:
          type: string
        description: The name of the Fargate profile to delete.
      tags:
      - Fargate Profiles
    get:
      operationId: DescribeFargateProfile
      summary: Describe Fargate Profile
      description: Describes an Fargate profile.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DescribeFargateProfileResponse'
        '400':
          description: ClientException; InvalidParameterException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ClientException'
        '404':
          description: ResourceNotFoundException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResourceNotFoundException'
        '500':
          description: ServerException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ServerException'
      parameters:
      - name: clusterName
        in: path
        required: true
        schema:
          type: string
        description: The name of your cluster.
      - name: fargateProfileName
        in: path
        required: true
        schema:
          type: string
        description: The name of the Fargate profile to describe.
      tags:
      - Fargate Profiles
components:
  securitySchemes:
    sigv4:
      type: apiKey
      in: header
      name: Authorization
      description: AWS Signature Version 4. The Authorization header carries an AWS4-HMAC-SHA256 signature over the canonical
        request, with X-Amz-Date (and X-Amz-Security-Token for temporary credentials). Not a bearer token.
      x-aws-sigv4:
        signingName: eks
  schemas:
    ClientException:
      type: object
      properties:
        clusterName:
          type: string
          description: The Amazon EKS cluster associated with the exception.
        nodegroupName:
          type: string
          description: The Amazon EKS managed node group associated with the exception.
        addonName:
          type: string
          description: The Amazon EKS add-on name associated with the exception.
        subscriptionId:
          type: string
          description: The Amazon EKS subscription ID with the exception.
        message:
          type: string
          description: These errors are usually caused by a client action. Actions can include using an action or resource
            on behalf of an IAM principal that doesn't have permissions to use the action or resource or specifying an identifier
            that is not valid.
    CreateFargateProfileResponse:
      type: object
      properties:
        fargateProfile:
          $ref: '#/components/schemas/FargateProfile'
    DeleteFargateProfileResponse:
      type: object
      properties:
        fargateProfile:
          $ref: '#/components/schemas/FargateProfile'
    DescribeFargateProfileResponse:
      type: object
      properties:
        fargateProfile:
          $ref: '#/components/schemas/FargateProfile'
    FargateProfile:
      type: object
      properties:
        fargateProfileName:
          type: string
          description: The name of the Fargate profile.
        fargateProfileArn:
          type: string
          description: The full Amazon Resource Name (ARN) of the Fargate profile.
        clusterName:
          type: string
          description: The name of your cluster.
        createdAt:
          type: string
          format: date-time
          description: The Unix epoch timestamp at object creation.
        podExecutionRoleArn:
          type: string
          description: The Amazon Resource Name (ARN) of the Pod execution role to use for any Pod that matches the selectors
            in the Fargate profile. For more information, see Pod execution role in the Amazon EKS User Guide.
        subnets:
          type: array
          items:
            type: string
          description: The IDs of subnets to launch a Pod into.
        selectors:
          type: array
          items:
            $ref: '#/components/schemas/FargateProfileSelector'
          description: The selectors to match for a Pod to use this Fargate profile.
        status:
          type: string
          enum:
          - CREATING
          - ACTIVE
          - DELETING
          - CREATE_FAILED
          - DELETE_FAILED
          description: The current status of the Fargate profile.
        tags:
          type: object
          additionalProperties:
            type: string
          description: 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.
        health:
          $ref: '#/components/schemas/FargateProfileHealth'
    FargateProfileHealth:
      type: object
      properties:
        issues:
          type: array
          items:
            $ref: '#/components/schemas/FargateProfileIssue'
          description: Any issues that are associated with the Fargate profile.
    FargateProfileIssue:
      type: object
      properties:
        code:
          type: string
          enum:
          - PodExecutionRoleAlreadyInUse
          - AccessDenied
          - ClusterUnreachable
          - InternalFailure
          description: A brief description of the error.
        message:
          type: string
          description: The error message associated with the issue.
        resourceIds:
          type: array
          items:
            type: string
          description: The Amazon Web Services resources that are affected by this issue.
    FargateProfileSelector:
      type: object
      properties:
        namespace:
          type: string
          description: The Kubernetes namespace that the selector should match.
        labels:
          type: object
          additionalProperties:
            type: string
          description: 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.
    ListFargateProfilesResponse:
      type: object
      properties:
        fargateProfileNames:
          type: array
          items:
            type: string
          description: A list of all of the Fargate profiles associated with the specified cluster.
        nextToken:
          type: string
          description: The nextToken value returned from a previous paginated request, where maxResults was used and the results
            exceeded the value of that parameter. Pagination continues from the end of the previous results that returned
            the nextToken value. This value is null when there are no more results to return. This token should be treated
            as an opaque identifier that is used only to retrieve the next items in a list and not for other programmatic
            purposes.
    ResourceNotFoundException:
      type: object
      properties:
        clusterName:
          type: string
          description: The Amazon EKS cluster associated with the exception.
        nodegroupName:
          type: string
          description: The Amazon EKS managed node group associated with the exception.
        fargateProfileName:
          type: string
          description: The Fargate profile associated with the exception.
        addonName:
          type: string
          description: The Amazon EKS add-on name associated with the exception.
        subscriptionId:
          type: string
          description: The Amazon EKS subscription ID with the exception.
        message:
          type: string
          description: The Amazon EKS message associated with the exception.
    ServerException:
      type: object
      properties:
        clusterName:
          type: string
          description: The Amazon EKS cluster associated with the exception.
        nodegroupName:
          type: string
          description: The Amazon EKS managed node group associated with the exception.
        addonName:
          type: string
          description: The Amazon EKS add-on name associated with the exception.
        subscriptionId:
          type: string
          description: The Amazon EKS subscription ID with the exception.
        message:
          type: string
          description: These errors are usually caused by a server-side issue.
x-provenance:
  method: harvested
  publisher: Amazon Web Services
  source: https://raw.githubusercontent.com/aws/api-models-aws/3cd98287b471c106254abd89279cc87308d38bfd/models/eks/service/2017-11-01/eks-2017-11-01.json
  note: converted by smithy-to-openapi.py from AWS's Smithy model (roadmap#1001)