aws_cur_configs
Creates, updates, deletes, gets or lists an aws_cur_configs resource.
Overview
| Name | aws_cur_configs |
| Type | Resource |
| Id | datadog.cloud_costs.aws_cur_configs |
Fields
The following fields are returned by SELECT queries:
- get_cost_awscurconfig
| Name | Datatype | Description |
|---|---|---|
id | string | The AwsCurConfigResponseData id. |
attributes | object | The definition of AwsCurConfigResponseDataAttributes object. |
type | string | AWS CUR config resource type. (aws_cur_config) (default: aws_cur_config, example: aws_cur_config) |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get_cost_awscurconfig | select | cloud_account_id | Get a specific AWS CUR config. |
Parameters
Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
| Name | Datatype | Description |
|---|---|---|
cloud_account_id | integer (int64) | The unique identifier of the cloud account |
site | string | The Datadog site (region) for your organization, for example datadoghq.com, us3.datadoghq.com, us5.datadoghq.com, ap1.datadoghq.com, ap2.datadoghq.com, datadoghq.eu, ddog-gov.com. Resolved from the DD_SITE environment variable when set. Optional: defaults to datadoghq.com, or the value of the DD_SITE environment variable when set; a WHERE value overrides both. |
SELECT examples
- get_cost_awscurconfig
Get a specific AWS CUR config.
SELECT
id,
attributes,
type
FROM datadog.cloud_costs.aws_cur_configs
WHERE cloud_account_id = '{{ cloud_account_id }}' -- required
;