Class: DatadogAPIClient::V1::AWSAccount

Inherits:
Object
  • Object
show all
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

Method Summary

Methods included from BaseGenericModel

included

Instance Attribute Details

#access_key_idObject

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_idObject

Your AWS Account ID without dashes.



28
29
30
# File 'lib/datadog_api_client/v1/models/aws_account.rb', line 28

def 
  @account_id
end

#account_specific_namespace_rulesObject

An object (in the form ‘“namespace2”:true/false`) containing user-supplied overrides for AWS namespace metric collection. Important: This field only contains namespaces explicitly configured through API calls, not the comprehensive enabled or disabled status of all namespaces. If a namespace is absent from this field, it uses Datadog’s internal defaults (all namespaces enabled by default, except ‘AWS/SQS`, `AWS/ElasticMapReduce`, and `AWS/Usage`). For a complete view of all namespace statuses, use the V2 AWS Integration API instead.



35
36
37
# File 'lib/datadog_api_client/v1/models/aws_account.rb', line 35

def 
  @account_specific_namespace_rules
end

#additional_propertiesObject

Returns the value of attribute additional_properties.



71
72
73
# File 'lib/datadog_api_client/v1/models/aws_account.rb', line 71

def additional_properties
  @additional_properties
end

#cspm_resource_collection_enabledObject

Whether Datadog collects cloud security posture management resources from your AWS account. This includes additional resources not covered under the general ‘resource_collection`.



38
39
40
# File 'lib/datadog_api_client/v1/models/aws_account.rb', line 38

def cspm_resource_collection_enabled
  @cspm_resource_collection_enabled
end

#excluded_regionsObject

An array of [AWS regions](docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints) to exclude from metrics collection.



42
43
44
# File 'lib/datadog_api_client/v1/models/aws_account.rb', line 42

def excluded_regions
  @excluded_regions
end

#extended_resource_collection_enabledObject

Whether Datadog collects additional attributes and configuration information about the resources in your AWS account. Required for ‘cspm_resource_collection`.



45
46
47
# File 'lib/datadog_api_client/v1/models/aws_account.rb', line 45

def extended_resource_collection_enabled
  @extended_resource_collection_enabled
end

#filter_tagsObject

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`



53
54
55
# File 'lib/datadog_api_client/v1/models/aws_account.rb', line 53

def filter_tags
  @filter_tags
end

#host_tagsObject

Array of tags (in the form ‘key:value`) to add to all hosts and metrics reporting through this integration.



57
58
59
# File 'lib/datadog_api_client/v1/models/aws_account.rb', line 57

def host_tags
  @host_tags
end

#metrics_collection_enabledObject

Whether Datadog collects metrics for this AWS account.



60
61
62
# File 'lib/datadog_api_client/v1/models/aws_account.rb', line 60

def metrics_collection_enabled
  @metrics_collection_enabled
end

#resource_collection_enabledObject

Deprecated in favor of ‘extended_resource_collection_enabled’. Whether Datadog collects a standard set of resources from your AWS account.



63
64
65
# File 'lib/datadog_api_client/v1/models/aws_account.rb', line 63

def resource_collection_enabled
  @resource_collection_enabled
end

#role_nameObject

Your Datadog role delegation name.



66
67
68
# File 'lib/datadog_api_client/v1/models/aws_account.rb', line 66

def role_name
  @role_name
end

#secret_access_keyObject

Your AWS secret access key. Only required if your AWS account is a GovCloud or China account.



69
70
71
# File 'lib/datadog_api_client/v1/models/aws_account.rb', line 69

def secret_access_key
  @secret_access_key
end