{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-resilience-hub/json-schema/amazon-resilience-hub-create-app-version-resource-request-schema.json",
  "title": "CreateAppVersionResourceRequest",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-resilience-hub-operations-api-openapi.yml#/components/schemas/CreateAppVersionResourceRequest",
  "type": "object",
  "properties": {
    "appArn": {
      "type": "string",
      "description": "Amazon Resource Name (ARN) of the Resilience Hub application. The format for this ARN is: arn:partition:resiliencehub:region:account:app/app-id. For more information about ARNs, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference guide."
    },
    "resourceName": {
      "type": "string",
      "description": "Name of the resource."
    },
    "logicalResourceId": {
      "$ref": "#/$defs/LogicalResourceId"
    },
    "physicalResourceId": {
      "type": "string",
      "description": "Physical identifier of the resource."
    },
    "awsRegion": {
      "type": "string",
      "description": "Amazon Web Services region that owns the physical resource."
    },
    "awsAccountId": {
      "type": "string",
      "description": "Amazon Web Services account that owns the physical resource."
    },
    "resourceType": {
      "type": "string",
      "description": "Type of resource."
    },
    "appComponents": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "List of Application Components that this resource belongs to. If an Application Component is not part of the Resilience Hub application, it will be added."
    },
    "additionalInfo": {
      "type": "object",
      "additionalProperties": {
        "type": "array",
        "items": {
          "type": "string"
        }
      },
      "description": "Currently, there is no supported additional information for resources."
    },
    "clientToken": {
      "type": "string",
      "description": "Used for an idempotency token. A client token is a unique, case-sensitive string of up to 64 ASCII characters. You should not reuse the same client token for other API requests."
    }
  },
  "required": [
    "appArn",
    "logicalResourceId",
    "physicalResourceId",
    "resourceType",
    "appComponents"
  ],
  "$defs": {
    "LogicalResourceId": {
      "type": "object",
      "properties": {
        "identifier": {
          "type": "string",
          "description": "Identifier of the resource."
        },
        "logicalStackName": {
          "type": "string",
          "description": "The name of the CloudFormation stack this resource belongs to."
        },
        "resourceGroupName": {
          "type": "string",
          "description": "The name of the resource group that this resource belongs to."
        },
        "terraformSourceName": {
          "type": "string",
          "description": "The name of the Terraform S3 state file this resource belongs to."
        },
        "eksSourceName": {
          "type": "string",
          "description": "Name of the Amazon Elastic Kubernetes Service cluster and namespace this resource belongs to. This parameter accepts values in \"eks-cluster/namespace\" format."
        }
      },
      "required": [
        "identifier"
      ]
    }
  }
}