{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-cloudformation/json-schema/amazon-cloudformation-test-type-input-schema.json",
  "title": "TestTypeInput",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-cloudformation-type-api-openapi.yml#/components/schemas/TestTypeInput",
  "type": "object",
  "properties": {
    "Arn": {
      "type": "string",
      "description": "The Amazon Resource Name (ARN) of the extension. Conditional: You must specify Arn, or TypeName and Type."
    },
    "Type": {
      "type": "string",
      "enum": [
        "RESOURCE",
        "MODULE",
        "HOOK"
      ],
      "description": "The type of the extension to test. Conditional: You must specify Arn, or TypeName and Type."
    },
    "TypeName": {
      "type": "string",
      "description": "The name of the extension to test. Conditional: You must specify Arn, or TypeName and Type."
    },
    "VersionId": {
      "type": "string",
      "description": "The version of the extension to test. You can specify the version id with either Arn, or with TypeName and Type. If you don't specify a version, CloudFormation uses the default version of the extension in this account and Region for testing."
    },
    "LogDeliveryBucket": {
      "type": "string",
      "description": "The S3 bucket to which CloudFormation delivers the contract test execution logs. CloudFormation delivers the logs by the time contract testing has completed and the extension has been assigned a test type status of PASSED or FAILED. The user calling TestType must be able to access items in the specified S3 bucket. Specifically, the user needs the following permissions: GetObject PutObject For more information, see Actions, Resources, and Condition Keys for Amazon S3 in the Identity and Access Management User Guide."
    }
  }
}