{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-config/json-schema/amazon-config-put-third-party-service-linked-configuration-recorder-request-schema.json",
  "title": "PutThirdPartyServiceLinkedConfigurationRecorderRequest",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-config-operations-api-openapi.yml#/components/schemas/PutThirdPartyServiceLinkedConfigurationRecorderRequest",
  "type": "object",
  "properties": {
    "ServicePrincipal": {
      "type": "string",
      "description": "The service principal of the Amazon Web Services service for the service-linked configuration recorder that you want to create."
    },
    "ConnectorArn": {
      "type": "string",
      "description": "The Amazon Resource Name (ARN) of the connector that specifies the connection between the third-party cloud service provider and Config. The specified connector must exist."
    },
    "ScopeConfiguration": {
      "$ref": "#/$defs/ScopeConfiguration"
    },
    "Tags": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/Tag"
      },
      "description": "The tags for a service-linked configuration recorder. Each tag consists of a key and an optional value, both of which you define."
    }
  },
  "required": [
    "ServicePrincipal",
    "ConnectorArn",
    "ScopeConfiguration"
  ],
  "$defs": {
    "ScopeConfiguration": {
      "type": "object",
      "properties": {
        "scopeType": {
          "type": "string",
          "description": "The type of scope for the third-party cloud resources. Valid values include tenant and subscription."
        },
        "scopeValues": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "The list of specific scope values for the third-party cloud resources. For example, a list of Azure subscriptions or management groups."
        },
        "allRegions": {
          "type": "boolean",
          "description": "Specifies whether to record resources from all supported regions for the third-party cloud service provider."
        },
        "includedRegions": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "The list of regions from the third-party cloud service provider to include when recording resources. Used when allRegions is set to false."
        }
      },
      "required": [
        "scopeType",
        "allRegions"
      ]
    },
    "Tag": {
      "type": "object",
      "properties": {
        "Key": {
          "type": "string",
          "description": "One part of a key-value pair that make up a tag. A key is a general label that acts like a category for more specific tag values."
        },
        "Value": {
          "type": "string",
          "description": "The optional part of a key-value pair that make up a tag. A value acts as a descriptor within a tag category (key)."
        }
      }
    }
  }
}