{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/aws-security-hub/json-schema/aws-security-hub-get-configuration-policy-response-schema.json",
  "title": "GetConfigurationPolicyResponse",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/aws-security-hub-configuration-policies-api-openapi.yml#/components/schemas/GetConfigurationPolicyResponse",
  "type": "object",
  "properties": {
    "Arn": {
      "type": "string",
      "description": "The ARN of the configuration policy."
    },
    "Id": {
      "type": "string",
      "description": "The UUID of the configuration policy."
    },
    "Name": {
      "type": "string",
      "description": "The name of the configuration policy."
    },
    "Description": {
      "type": "string",
      "description": "The description of the configuration policy."
    },
    "UpdatedAt": {
      "type": "string",
      "format": "date-time",
      "description": "The date and time, in UTC and ISO 8601 format, that the configuration policy was last updated."
    },
    "CreatedAt": {
      "type": "string",
      "format": "date-time",
      "description": "The date and time, in UTC and ISO 8601 format, that the configuration policy was created."
    },
    "ConfigurationPolicy": {
      "$ref": "#/$defs/Policy"
    }
  },
  "$defs": {
    "ParameterConfiguration": {
      "type": "object",
      "properties": {
        "ValueType": {
          "type": "string",
          "enum": [
            "DEFAULT",
            "CUSTOM"
          ],
          "description": "Identifies whether a control parameter uses a custom user-defined value or subscribes to the default Security Hub CSPM behavior. When ValueType is set equal to DEFAULT, the default behavior can be a specific Security Hub CSPM default value, or the default behavior can be to ignore a specific parameter. When ValueType is set equal to DEFAULT, Security Hub CSPM ignores user-provided input for the Value field. When ValueType is set equal to CUSTOM, the Value field can't be empty."
        },
        "Value": {
          "$ref": "#/$defs/ParameterValue"
        }
      },
      "required": [
        "ValueType"
      ]
    },
    "ParameterValue": {
      "type": "object",
      "properties": {
        "Integer": {
          "type": "integer",
          "description": "A control parameter that is an integer."
        },
        "IntegerList": {
          "type": "array",
          "items": {
            "type": "integer"
          },
          "description": "A control parameter that is a list of integers."
        },
        "Double": {
          "type": "number",
          "description": "A control parameter that is a double."
        },
        "String": {
          "type": "string",
          "description": "A control parameter that is a string."
        },
        "StringList": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "A control parameter that is a list of strings."
        },
        "Boolean": {
          "type": "boolean",
          "description": "A control parameter that is a boolean."
        },
        "Enum": {
          "type": "string",
          "description": "A control parameter that is an enum."
        },
        "EnumList": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "A control parameter that is a list of enums."
        }
      },
      "description": "Exactly one member is set."
    },
    "Policy": {
      "type": "object",
      "properties": {
        "SecurityHub": {
          "$ref": "#/$defs/SecurityHubPolicy"
        }
      },
      "description": "Exactly one member is set."
    },
    "SecurityControlCustomParameter": {
      "type": "object",
      "properties": {
        "SecurityControlId": {
          "type": "string",
          "description": "The ID of the security control."
        },
        "Parameters": {
          "type": "object",
          "additionalProperties": {
            "$ref": "#/$defs/ParameterConfiguration"
          },
          "description": "An object that specifies parameter values for a control in a configuration policy."
        }
      }
    },
    "SecurityControlsConfiguration": {
      "type": "object",
      "properties": {
        "EnabledSecurityControlIdentifiers": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "A list of security controls that are enabled in the configuration policy. Security Hub CSPM disables all other controls (including newly released controls) other than the listed controls."
        },
        "DisabledSecurityControlIdentifiers": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "A list of security controls that are disabled in the configuration policy. Security Hub CSPM enables all other controls (including newly released controls) other than the listed controls."
        },
        "SecurityControlCustomParameters": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/SecurityControlCustomParameter"
          },
          "description": "A list of security controls and control parameter values that are included in a configuration policy."
        }
      }
    },
    "SecurityHubPolicy": {
      "type": "object",
      "properties": {
        "ServiceEnabled": {
          "type": "boolean",
          "description": "Indicates whether Security Hub CSPM is enabled in the policy."
        },
        "EnabledStandardIdentifiers": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "A list that defines which security standards are enabled in the configuration policy."
        },
        "SecurityControlsConfiguration": {
          "$ref": "#/$defs/SecurityControlsConfiguration"
        }
      }
    }
  }
}