---
title: "Validate AWS CCM config"
method: POST
path: "/api/v2/integration/aws/validate_ccm_config"
tags: ["AWS Integration"]
---

# Validate AWS CCM config

`POST /api/v2/integration/aws/validate_ccm_config`

Validate a Cloud Cost Management config for an AWS account using Cost and Usage Report
(CUR) 2.0 against Datadog's ingest requirements without persisting it.

## Request body

- AWSCcmConfigValidationRequest — AWS CCM config validation request body.
  - `data` AWSCcmConfigValidationRequestData, required — AWS CCM config validation request data.
    - `attributes` AWSCcmConfigValidationRequestAttributes, required — Attributes for an AWS CCM config validation request.
      - `account_id` string, required — Your AWS Account ID without dashes.
      - `bucket_name` string, required — Name of the S3 bucket where the Cost and Usage Report is stored.
      - `bucket_region` string, required — AWS region of the S3 bucket.
      - `report_name` string, required — Name of the Cost and Usage Report.
      - `report_prefix` string — S3 prefix where the Cost and Usage Report is stored.
    - `type` 'ccm_config_validation', required — AWS CCM config validation resource type.

## Response `200`

AWS CCM Config validation result

- AWSCcmConfigValidationResponse — AWS CCM config validation response body.
  - `data` AWSCcmConfigValidationResponseData, required — AWS CCM config validation response data.
    - `attributes` AWSCcmConfigValidationResponseAttributes, required — Attributes for an AWS CCM config validation response.
      - `account_id` string, required — Your AWS Account ID without dashes.
      - `issues` AWSCcmConfigValidationIssue[], required — List of validation issues found for the Cost and Usage Report (CUR) 2.0 configuration. Empty when the configuration is valid.
        - `code` 'ISSUE_CODE_UNSPECIFIED' | 'CREDENTIAL_ERROR' | 'BUCKET_NAME_INVALID_GOVCLOUD' | 'S3_LIST_PERMISSION_MISSING' | 'S3_GET_PERMISSION_MISSING' | 'S3_BUCKET_REGION_MISMATCH' | 'S3_BUCKET_NOT_ACCESSIBLE' | 'EXPORT_LIST_PERMISSION_MISSING' | 'EXPORT_GET_PERMISSION_MISSING' | 'EXPORT_NOT_FOUND' | 'EXPORT_STATUS_UNHEALTHY' | 'TIME_GRANULARITY_INVALID' | 'FILE_FORMAT_INVALID' | 'INCLUDE_RESOURCES_DISABLED' | 'REFRESH_CADENCE_INVALID' | 'OVERWRITE_MODE_INVALID' | 'QUERY_STATEMENT_INVALID', required — Identifies the specific reason a Cost and Usage Report (CUR) 2.0 configuration failed validation.
        - `description` string, required — Human-readable description of the validation issue.
    - `id` string, required — AWS CCM config validation resource identifier.
    - `type` 'ccm_config_validation', required — AWS CCM config validation resource type.

## Other responses

- `400` — Bad Request
- `403` — Forbidden
- `429` — Too many requests
- `503` — Service Unavailable

---

[API](https://skmtc.net/datadog/apis/api-v2.md) · [All operations](https://skmtc.net/datadog/apis/api-v2/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/datadog/api-v2/revisions/da68bf029e4c/schema)
