{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-eks/json-schema/amazon-eks-create-fargate-profile-response-schema.json",
  "title": "CreateFargateProfileResponse",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-eks-fargate-profiles-api-openapi.yml#/components/schemas/CreateFargateProfileResponse",
  "type": "object",
  "properties": {
    "fargateProfile": {
      "$ref": "#/$defs/FargateProfile"
    }
  },
  "$defs": {
    "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": "#/$defs/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": "#/$defs/FargateProfileHealth"
        }
      }
    },
    "FargateProfileHealth": {
      "type": "object",
      "properties": {
        "issues": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/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."
        }
      }
    }
  }
}