docs/v1/AWSAccount.md in datadog_api_client-1.3.0 vs docs/v1/AWSAccount.md in datadog_api_client-1.4.0
- old
+ new
@@ -5,13 +5,16 @@
| Name | Type | Description | Notes |
| ---- | ---- | ----------- | ----- |
| **access_key_id** | **String** | Your AWS access key ID. Only required if your AWS account is a GovCloud or China account. | [optional] |
| **account_id** | **String** | Your AWS Account ID without dashes. | [optional] |
| **account_specific_namespace_rules** | **Hash<String, Boolean>** | An object, (in the form `{\"namespace1\":true/false, \"namespace2\":true/false}`), that enables or disables metric collection for specific AWS namespaces for this AWS account only. | [optional] |
+| **cspm_resource_collection_enabled** | **Boolean** | Whether Datadog collects cloud security posture management resources from your AWS account. This includes additional resources not covered under the general `resource_collection`. | [optional][default to false] |
| **excluded_regions** | **Array<String>** | An array of AWS regions to exclude from metrics collection. | [optional] |
| **filter_tags** | **Array<String>** | The array of EC2 tags (in the form `key:value`) defines a filter that Datadog uses when collecting metrics from EC2. Wildcards, such as `?` (for single characters) and `*` (for multiple characters) can also be used. Only hosts that match one of the defined tags will be imported into Datadog. The rest will be ignored. Host matching a given tag can also be excluded by adding `!` before the tag. For example, `env:production,instance-type:c1.*,!region:us-east-1` | [optional] |
| **host_tags** | **Array<String>** | Array of tags (in the form `key:value`) to add to all hosts and metrics reporting through this integration. | [optional] |
+| **metrics_collection_enabled** | **Boolean** | Whether Datadog collects metrics for this AWS account. | [optional][default to true] |
+| **resource_collection_enabled** | **Boolean** | Whether Datadog collects a standard set of resources from your AWS account. | [optional][default to false] |
| **role_name** | **String** | Your Datadog role delegation name. | [optional] |
| **secret_access_key** | **String** | Your AWS secret access key. Only required if your AWS account is a GovCloud or China account. | [optional] |
## Example
@@ -20,12 +23,15 @@
instance = DatadogAPIClient::V1::AWSAccount.new(
access_key_id: null,
account_id: 1234567,
account_specific_namespace_rules: {"auto_scaling":false,"opswork":false},
+ cspm_resource_collection_enabled: true,
excluded_regions: ["us-east-1","us-west-2"],
filter_tags: ["<KEY>:<VALUE>"],
host_tags: ["<KEY>:<VALUE>"],
+ metrics_collection_enabled: false,
+ resource_collection_enabled: true,
role_name: DatadogAWSIntegrationRole,
secret_access_key: null
)
```