{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-cloudformation/json-schema/amazon-cloudformation-get-template-summary-output-schema.json",
  "title": "GetTemplateSummaryOutput",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-cloudformation-operations-api-openapi.yml#/components/schemas/GetTemplateSummaryOutput",
  "type": "object",
  "properties": {
    "Parameters": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/ParameterDeclaration"
      },
      "description": "A list of parameter declarations that describe various properties for each parameter."
    },
    "Description": {
      "type": "string",
      "description": "The value that's defined in the Description property of the template."
    },
    "Capabilities": {
      "type": "array",
      "items": {
        "type": "string",
        "enum": [
          "CAPABILITY_IAM",
          "CAPABILITY_NAMED_IAM",
          "CAPABILITY_AUTO_EXPAND"
        ]
      },
      "description": "The capabilities found within the template. If your template contains IAM resources, you must specify the CAPABILITY_IAM or CAPABILITY_NAMED_IAM value for this parameter when you use the CreateStack or UpdateStack actions with your template; otherwise, those actions return an InsufficientCapabilities error. For more information, see Acknowledging IAM resources in CloudFormation templates."
    },
    "CapabilitiesReason": {
      "type": "string",
      "description": "The list of resources that generated the values in the Capabilities response element."
    },
    "ResourceTypes": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "A list of all the template resource types that are defined in the template, such as AWS::EC2::Instance, AWS::Dynamo::Table, and Custom::MyCustomInstance."
    },
    "Version": {
      "type": "string",
      "description": "The Amazon Web Services template format version, which identifies the capabilities of the template."
    },
    "Metadata": {
      "type": "string",
      "description": "The value that's defined for the Metadata property of the template."
    },
    "DeclaredTransforms": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "A list of the transforms that are declared in the template."
    },
    "ResourceIdentifierSummaries": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/ResourceIdentifierSummary"
      },
      "description": "A list of resource identifier summaries that describe the target resources of an import operation and the properties you can provide during the import to identify the target resources. For example, BucketName is a possible identifier property for an AWS::S3::Bucket resource."
    },
    "Warnings": {
      "$ref": "#/$defs/Warnings"
    }
  },
  "$defs": {
    "ParameterConstraints": {
      "type": "object",
      "properties": {
        "AllowedValues": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "A list of values that are permitted for a parameter."
        }
      }
    },
    "ParameterDeclaration": {
      "type": "object",
      "properties": {
        "ParameterKey": {
          "type": "string",
          "description": "The name that's associated with the parameter."
        },
        "DefaultValue": {
          "type": "string",
          "description": "The default value of the parameter."
        },
        "ParameterType": {
          "type": "string",
          "description": "The type of parameter."
        },
        "NoEcho": {
          "type": "boolean",
          "description": "Flag that indicates whether the parameter value is shown as plain text in logs and in the Amazon Web Services Management Console."
        },
        "Description": {
          "type": "string",
          "description": "The description that's associate with the parameter."
        },
        "ParameterConstraints": {
          "$ref": "#/$defs/ParameterConstraints"
        }
      }
    },
    "ResourceIdentifierSummary": {
      "type": "object",
      "properties": {
        "ResourceType": {
          "type": "string",
          "description": "The template resource type of the target resources, such as AWS::S3::Bucket."
        },
        "LogicalResourceIds": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "The logical IDs of the target resources of the specified ResourceType, as defined in the import template."
        },
        "ResourceIdentifiers": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "The resource properties you can provide during the import to identify your target resources. For example, BucketName is a possible identifier property for AWS::S3::Bucket resources."
        }
      }
    },
    "Warnings": {
      "type": "object",
      "properties": {
        "UnrecognizedResourceTypes": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "A list of all of the unrecognized resource types. This is only returned if the TemplateSummaryConfig parameter has the TreatUnrecognizedResourceTypesAsWarning configuration set to True."
        }
      }
    }
  }
}