Class: DatadogAPIClient::V1::AWSAccount
- Inherits:
-
Object
- Object
- DatadogAPIClient::V1::AWSAccount
- Includes:
- BaseGenericModel
- Defined in:
- lib/datadog_api_client/v1/models/aws_account.rb
Overview
Returns the AWS account associated with this integration.
Instance Attribute Summary collapse
-
#access_key_id ⇒ Object
Your AWS access key ID.
-
#account_id ⇒ Object
Your AWS Account ID without dashes.
-
#account_specific_namespace_rules ⇒ Object
An object, (in the form ‘“namespace2”:true/false`), that enables or disables metric collection for specific AWS namespaces for this AWS account only.
-
#additional_properties ⇒ Object
Returns the value of attribute additional_properties.
-
#cspm_resource_collection_enabled ⇒ Object
Whether Datadog collects cloud security posture management resources from your AWS account.
-
#excluded_regions ⇒ Object
An array of [AWS regions](docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints) to exclude from metrics collection.
-
#extended_resource_collection_enabled ⇒ Object
Whether Datadog collects additional attributes and configuration information about the resources in your AWS account.
-
#filter_tags ⇒ Object
The array of EC2 tags (in the form ‘key:value`) defines a filter that Datadog uses when collecting metrics from EC2.
-
#host_tags ⇒ Object
Array of tags (in the form ‘key:value`) to add to all hosts and metrics reporting through this integration.
-
#metrics_collection_enabled ⇒ Object
Whether Datadog collects metrics for this AWS account.
-
#resource_collection_enabled ⇒ Object
Deprecated in favor of ‘extended_resource_collection_enabled’.
-
#role_name ⇒ Object
Your Datadog role delegation name.
-
#secret_access_key ⇒ Object
Your AWS secret access key.
Method Summary
Methods included from BaseGenericModel
Instance Attribute Details
#access_key_id ⇒ Object
Your AWS access key ID. Only required if your AWS account is a GovCloud or China account.
25 26 27 |
# File 'lib/datadog_api_client/v1/models/aws_account.rb', line 25 def access_key_id @access_key_id end |
#account_id ⇒ Object
Your AWS Account ID without dashes.
28 29 30 |
# File 'lib/datadog_api_client/v1/models/aws_account.rb', line 28 def account_id @account_id end |
#account_specific_namespace_rules ⇒ Object
An object, (in the form ‘“namespace2”:true/false`), that enables or disables metric collection for specific AWS namespaces for this AWS account only.
33 34 35 |
# File 'lib/datadog_api_client/v1/models/aws_account.rb', line 33 def account_specific_namespace_rules @account_specific_namespace_rules end |
#additional_properties ⇒ Object
Returns the value of attribute additional_properties.
69 70 71 |
# File 'lib/datadog_api_client/v1/models/aws_account.rb', line 69 def additional_properties @additional_properties end |
#cspm_resource_collection_enabled ⇒ Object
Whether Datadog collects cloud security posture management resources from your AWS account. This includes additional resources not covered under the general ‘resource_collection`.
36 37 38 |
# File 'lib/datadog_api_client/v1/models/aws_account.rb', line 36 def cspm_resource_collection_enabled @cspm_resource_collection_enabled end |
#excluded_regions ⇒ Object
An array of [AWS regions](docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints) to exclude from metrics collection.
40 41 42 |
# File 'lib/datadog_api_client/v1/models/aws_account.rb', line 40 def excluded_regions @excluded_regions end |
#extended_resource_collection_enabled ⇒ Object
Whether Datadog collects additional attributes and configuration information about the resources in your AWS account. Required for ‘cspm_resource_collection`.
43 44 45 |
# File 'lib/datadog_api_client/v1/models/aws_account.rb', line 43 def extended_resource_collection_enabled @extended_resource_collection_enabled end |
#filter_tags ⇒ Object
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`
51 52 53 |
# File 'lib/datadog_api_client/v1/models/aws_account.rb', line 51 def @filter_tags end |
#host_tags ⇒ Object
Array of tags (in the form ‘key:value`) to add to all hosts and metrics reporting through this integration.
55 56 57 |
# File 'lib/datadog_api_client/v1/models/aws_account.rb', line 55 def @host_tags end |
#metrics_collection_enabled ⇒ Object
Whether Datadog collects metrics for this AWS account.
58 59 60 |
# File 'lib/datadog_api_client/v1/models/aws_account.rb', line 58 def metrics_collection_enabled @metrics_collection_enabled end |
#resource_collection_enabled ⇒ Object
Deprecated in favor of ‘extended_resource_collection_enabled’. Whether Datadog collects a standard set of resources from your AWS account.
61 62 63 |
# File 'lib/datadog_api_client/v1/models/aws_account.rb', line 61 def resource_collection_enabled @resource_collection_enabled end |
#role_name ⇒ Object
Your Datadog role delegation name.
64 65 66 |
# File 'lib/datadog_api_client/v1/models/aws_account.rb', line 64 def role_name @role_name end |
#secret_access_key ⇒ Object
Your AWS secret access key. Only required if your AWS account is a GovCloud or China account.
67 68 69 |
# File 'lib/datadog_api_client/v1/models/aws_account.rb', line 67 def secret_access_key @secret_access_key end |