{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/thousandeyes/json-schema/thousandeyes-cloud-insights-integrations-api-aws-integration-policy-setting-schema.json",
  "title": "Cloud_Insights_Integrations_API_AwsIntegrationPolicySetting",
  "description": "AWS integration policy configuration that controls which resource groups and regions ThousandEyes inventories, and whether CloudTrail is enabled.",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/thousandeyes-cloud-insights-integration-policy-settings-api-openapi.yml#/components/schemas/Cloud_Insights_Integrations_API_AwsIntegrationPolicySetting",
  "type": "object",
  "required": [
    "enabledResourceGroupTypes",
    "enabledRegions",
    "enabledCloudtrail"
  ],
  "properties": {
    "enabledResourceGroupTypes": {
      "type": "array",
      "description": "The set of AWS resource group types included in inventory monitoring.",
      "items": {
        "$ref": "#/$defs/Cloud_Insights_Integrations_API_AwsResourceGroupType"
      }
    },
    "enabledRegions": {
      "type": "array",
      "description": "The AWS regions that ThousandEyes inventories for the account group.",
      "items": {
        "$ref": "#/$defs/Cloud_Insights_Integrations_API_AwsRegion"
      }
    },
    "enabledCloudtrail": {
      "type": "boolean",
      "description": "Indicates whether CloudTrail integration is enabled for AWS inventory monitoring."
    },
    "_links": {
      "$ref": "#/$defs/Cloud_Insights_Integrations_API_SelfLinks"
    }
  },
  "$defs": {
    "Cloud_Insights_Integrations_API_AwsRegion": {
      "type": "string",
      "description": "AWS region identifier that can be enabled for Cloud Insights inventory monitoring.",
      "enum": [
        "us-east-1",
        "us-east-2",
        "us-west-1",
        "us-west-2",
        "ca-central-1",
        "ca-west-1",
        "mx-central-1",
        "sa-east-1",
        "eu-central-1",
        "eu-west-1",
        "eu-west-2",
        "eu-south-1",
        "eu-west-3",
        "eu-south-2",
        "eu-north-1",
        "eu-central-2",
        "il-central-1",
        "me-south-1",
        "me-central-1",
        "af-south-1",
        "ap-east-1",
        "ap-south-2",
        "ap-southeast-3",
        "ap-southeast-5",
        "ap-southeast-4",
        "ap-southeast-7",
        "ap-south-1",
        "ap-northeast-3",
        "ap-northeast-2",
        "ap-southeast-1",
        "ap-southeast-2",
        "ap-northeast-1"
      ]
    },
    "Cloud_Insights_Integrations_API_AwsResourceGroupType": {
      "type": "string",
      "description": "Supported AWS resource group types that can be toggled within policy settings. Note that ec2 is a mandatory resource group type and will be enabled regardless of user configuration.",
      "enum": [
        "cloudfront",
        "ec2",
        "eks-ecs",
        "global-accelerator",
        "direct-connect",
        "s3-bucket",
        "network-firewall",
        "global-network"
      ]
    },
    "Cloud_Insights_Integrations_API_Link": {
      "type": "object",
      "description": "A hyperlink from the containing resource to a URI.",
      "required": [
        "href"
      ],
      "properties": {
        "href": {
          "type": "string",
          "description": "Its value is either a URI [RFC3986] or a URI template [RFC6570]."
        },
        "templated": {
          "type": "boolean",
          "description": "Should be true when the link object's \"href\" property is a URI template."
        },
        "type": {
          "type": "string",
          "description": "Used as a hint to indicate the media type expected when dereferencing the target resource."
        },
        "deprecation": {
          "type": "string",
          "description": "Its presence indicates that the link is to be deprecated at a future date. Its value is a URL that should provide further information about the deprecation."
        },
        "name": {
          "type": "string",
          "description": "Its value may be used as a secondary key for selecting link objects that share the same relation type."
        },
        "profile": {
          "type": "string",
          "description": "A URI that hints about the profile of the target resource."
        },
        "title": {
          "type": "string",
          "description": "Intended for labelling the link with a human-readable identifier"
        },
        "hreflang": {
          "type": "string",
          "description": "Indicates the language of the target resource"
        }
      }
    },
    "Cloud_Insights_Integrations_API_SelfLinks": {
      "type": "object",
      "description": "A links object containing the self link.",
      "readOnly": true,
      "properties": {
        "self": {
          "$ref": "#/$defs/Cloud_Insights_Integrations_API_Link"
        }
      }
    }
  }
}