Skip to main content

aws_cur_configs

Creates, updates, deletes, gets or lists an aws_cur_configs resource.

Overview

Nameaws_cur_configs
TypeResource
Iddatadog.cloud_costs.aws_cur_configs

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstringThe AwsCurConfigResponseData id.
attributesobjectThe definition of AwsCurConfigResponseDataAttributes object.
typestringAWS CUR config resource type. (aws_cur_config) (default: aws_cur_config, example: aws_cur_config)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_cost_awscurconfigselectcloud_account_idGet 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.

NameDatatypeDescription
cloud_account_idinteger (int64)The unique identifier of the cloud account
sitestringThe 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 a specific AWS CUR config.

SELECT
id,
attributes,
type
FROM datadog.cloud_costs.aws_cur_configs
WHERE cloud_account_id = '{{ cloud_account_id }}' -- required
;