integrationaws

package
v6.0.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 6, 2023 License: MPL-2.0 Imports: 7 Imported by: 0

README

datadog_integration_aws

Refer to the Terraform Registory for docs: datadog_integration_aws.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IntegrationAws_IsConstruct

func IntegrationAws_IsConstruct(x interface{}) *bool

Checks if `x` is a construct.

Use this method instead of `instanceof` to properly detect `Construct` instances, even when the construct library is symlinked.

Explanation: in JavaScript, multiple copies of the `constructs` library on disk are seen as independent, completely different libraries. As a consequence, the class `Construct` in each copy of the `constructs` library is seen as a different class, and an instance of one class will not test as `instanceof` the other class. `npm install` will not create installations like this, but users may manually symlink construct libraries together or use a monorepo tool: in those cases, multiple copies of the `constructs` library can be accidentally installed, and `instanceof` will behave unpredictably. It is safest to avoid using `instanceof`, and using this type-testing method instead.

Returns: true if `x` is an object created from a class which extends `Construct`.

func IntegrationAws_IsTerraformElement

func IntegrationAws_IsTerraformElement(x interface{}) *bool

Experimental.

func IntegrationAws_IsTerraformResource

func IntegrationAws_IsTerraformResource(x interface{}) *bool

Experimental.

func IntegrationAws_TfResourceType

func IntegrationAws_TfResourceType() *string

func NewIntegrationAws_Override

func NewIntegrationAws_Override(i IntegrationAws, scope constructs.Construct, id *string, config *IntegrationAwsConfig)

Create a new {@link https://registry.terraform.io/providers/datadog/datadog/3.26.0/docs/resources/integration_aws datadog_integration_aws} Resource.

Types

type IntegrationAws

type IntegrationAws interface {
	cdktf.TerraformResource
	AccessKeyId() *string
	SetAccessKeyId(val *string)
	AccessKeyIdInput() *string
	AccountId() *string
	SetAccountId(val *string)
	AccountIdInput() *string
	AccountSpecificNamespaceRules() *map[string]interface{}
	SetAccountSpecificNamespaceRules(val *map[string]interface{})
	AccountSpecificNamespaceRulesInput() *map[string]interface{}
	// Experimental.
	CdktfStack() cdktf.TerraformStack
	// Experimental.
	Connection() interface{}
	// Experimental.
	SetConnection(val interface{})
	// Experimental.
	ConstructNodeMetadata() *map[string]interface{}
	// Experimental.
	Count() interface{}
	// Experimental.
	SetCount(val interface{})
	CspmResourceCollectionEnabled() *string
	SetCspmResourceCollectionEnabled(val *string)
	CspmResourceCollectionEnabledInput() *string
	// Experimental.
	DependsOn() *[]*string
	// Experimental.
	SetDependsOn(val *[]*string)
	ExcludedRegions() *[]*string
	SetExcludedRegions(val *[]*string)
	ExcludedRegionsInput() *[]*string
	ExternalId() *string
	FilterTags() *[]*string
	SetFilterTags(val *[]*string)
	FilterTagsInput() *[]*string
	// Experimental.
	ForEach() cdktf.ITerraformIterator
	// Experimental.
	SetForEach(val cdktf.ITerraformIterator)
	// Experimental.
	Fqn() *string
	// Experimental.
	FriendlyUniqueId() *string
	HostTags() *[]*string
	SetHostTags(val *[]*string)
	HostTagsInput() *[]*string
	Id() *string
	SetId(val *string)
	IdInput() *string
	// Experimental.
	Lifecycle() *cdktf.TerraformResourceLifecycle
	// Experimental.
	SetLifecycle(val *cdktf.TerraformResourceLifecycle)
	MetricsCollectionEnabled() *string
	SetMetricsCollectionEnabled(val *string)
	MetricsCollectionEnabledInput() *string
	// The tree node.
	Node() constructs.Node
	// Experimental.
	Provider() cdktf.TerraformProvider
	// Experimental.
	SetProvider(val cdktf.TerraformProvider)
	// Experimental.
	Provisioners() *[]interface{}
	// Experimental.
	SetProvisioners(val *[]interface{})
	// Experimental.
	RawOverrides() interface{}
	ResourceCollectionEnabled() *string
	SetResourceCollectionEnabled(val *string)
	ResourceCollectionEnabledInput() *string
	RoleName() *string
	SetRoleName(val *string)
	RoleNameInput() *string
	SecretAccessKey() *string
	SetSecretAccessKey(val *string)
	SecretAccessKeyInput() *string
	// Experimental.
	TerraformGeneratorMetadata() *cdktf.TerraformProviderGeneratorMetadata
	// Experimental.
	TerraformMetaArguments() *map[string]interface{}
	// Experimental.
	TerraformResourceType() *string
	// Experimental.
	AddOverride(path *string, value interface{})
	// Experimental.
	GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{}
	// Experimental.
	GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable
	// Experimental.
	GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool
	// Experimental.
	GetListAttribute(terraformAttribute *string) *[]*string
	// Experimental.
	GetNumberAttribute(terraformAttribute *string) *float64
	// Experimental.
	GetNumberListAttribute(terraformAttribute *string) *[]*float64
	// Experimental.
	GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64
	// Experimental.
	GetStringAttribute(terraformAttribute *string) *string
	// Experimental.
	GetStringMapAttribute(terraformAttribute *string) *map[string]*string
	// Experimental.
	InterpolationForAttribute(terraformAttribute *string) cdktf.IResolvable
	// Overrides the auto-generated logical ID with a specific ID.
	// Experimental.
	OverrideLogicalId(newLogicalId *string)
	ResetAccessKeyId()
	ResetAccountId()
	ResetAccountSpecificNamespaceRules()
	ResetCspmResourceCollectionEnabled()
	ResetExcludedRegions()
	ResetFilterTags()
	ResetHostTags()
	ResetId()
	ResetMetricsCollectionEnabled()
	// Resets a previously passed logical Id to use the auto-generated logical id again.
	// Experimental.
	ResetOverrideLogicalId()
	ResetResourceCollectionEnabled()
	ResetRoleName()
	ResetSecretAccessKey()
	SynthesizeAttributes() *map[string]interface{}
	// Experimental.
	ToMetadata() interface{}
	// Returns a string representation of this construct.
	ToString() *string
	// Adds this resource to the terraform JSON output.
	// Experimental.
	ToTerraform() interface{}
}

Represents a {@link https://registry.terraform.io/providers/datadog/datadog/3.26.0/docs/resources/integration_aws datadog_integration_aws}.

func NewIntegrationAws

func NewIntegrationAws(scope constructs.Construct, id *string, config *IntegrationAwsConfig) IntegrationAws

Create a new {@link https://registry.terraform.io/providers/datadog/datadog/3.26.0/docs/resources/integration_aws datadog_integration_aws} Resource.

type IntegrationAwsConfig

type IntegrationAwsConfig struct {
	// Experimental.
	Connection interface{} `field:"optional" json:"connection" yaml:"connection"`
	// Experimental.
	Count interface{} `field:"optional" json:"count" yaml:"count"`
	// Experimental.
	DependsOn *[]cdktf.ITerraformDependable `field:"optional" json:"dependsOn" yaml:"dependsOn"`
	// Experimental.
	ForEach cdktf.ITerraformIterator `field:"optional" json:"forEach" yaml:"forEach"`
	// Experimental.
	Lifecycle *cdktf.TerraformResourceLifecycle `field:"optional" json:"lifecycle" yaml:"lifecycle"`
	// Experimental.
	Provider cdktf.TerraformProvider `field:"optional" json:"provider" yaml:"provider"`
	// Experimental.
	Provisioners *[]interface{} `field:"optional" json:"provisioners" yaml:"provisioners"`
	// Your AWS access key ID. Only required if your AWS account is a GovCloud or China account.
	//
	// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/datadog/datadog/3.26.0/docs/resources/integration_aws#access_key_id IntegrationAws#access_key_id}
	AccessKeyId *string `field:"optional" json:"accessKeyId" yaml:"accessKeyId"`
	// Your AWS Account ID without dashes.
	//
	// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/datadog/datadog/3.26.0/docs/resources/integration_aws#account_id IntegrationAws#account_id}
	AccountId *string `field:"optional" json:"accountId" yaml:"accountId"`
	// Enables or disables metric collection for specific AWS namespaces for this AWS account only.
	//
	// A list of namespaces can be found at the [available namespace rules API endpoint](https://docs.datadoghq.com/api/v1/aws-integration/#list-namespace-rules).
	//
	// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/datadog/datadog/3.26.0/docs/resources/integration_aws#account_specific_namespace_rules IntegrationAws#account_specific_namespace_rules}
	AccountSpecificNamespaceRules *map[string]interface{} `field:"optional" json:"accountSpecificNamespaceRules" yaml:"accountSpecificNamespaceRules"`
	// Whether Datadog collects cloud security posture management resources from your AWS account.
	//
	// This includes additional resources not covered under the general resource_collection.
	//
	// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/datadog/datadog/3.26.0/docs/resources/integration_aws#cspm_resource_collection_enabled IntegrationAws#cspm_resource_collection_enabled}
	CspmResourceCollectionEnabled *string `field:"optional" json:"cspmResourceCollectionEnabled" yaml:"cspmResourceCollectionEnabled"`
	// An array of AWS regions to exclude from metrics collection.
	//
	// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/datadog/datadog/3.26.0/docs/resources/integration_aws#excluded_regions IntegrationAws#excluded_regions}
	ExcludedRegions *[]*string `field:"optional" json:"excludedRegions" yaml:"excludedRegions"`
	// 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. e.x. `env:production,instance-type:c1.*,!region:us-east-1`.
	//
	// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/datadog/datadog/3.26.0/docs/resources/integration_aws#filter_tags IntegrationAws#filter_tags}
	FilterTags *[]*string `field:"optional" json:"filterTags" yaml:"filterTags"`
	// Array of tags (in the form `key:value`) to add to all hosts and metrics reporting through this integration.
	//
	// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/datadog/datadog/3.26.0/docs/resources/integration_aws#host_tags IntegrationAws#host_tags}
	HostTags *[]*string `field:"optional" json:"hostTags" yaml:"hostTags"`
	// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/datadog/datadog/3.26.0/docs/resources/integration_aws#id IntegrationAws#id}.
	//
	// Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2.
	// If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable.
	Id *string `field:"optional" json:"id" yaml:"id"`
	// Whether Datadog collects metrics for this AWS account.
	//
	// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/datadog/datadog/3.26.0/docs/resources/integration_aws#metrics_collection_enabled IntegrationAws#metrics_collection_enabled}
	MetricsCollectionEnabled *string `field:"optional" json:"metricsCollectionEnabled" yaml:"metricsCollectionEnabled"`
	// Whether Datadog collects a standard set of resources from your AWS account.
	//
	// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/datadog/datadog/3.26.0/docs/resources/integration_aws#resource_collection_enabled IntegrationAws#resource_collection_enabled}
	ResourceCollectionEnabled *string `field:"optional" json:"resourceCollectionEnabled" yaml:"resourceCollectionEnabled"`
	// Your Datadog role delegation name.
	//
	// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/datadog/datadog/3.26.0/docs/resources/integration_aws#role_name IntegrationAws#role_name}
	RoleName *string `field:"optional" json:"roleName" yaml:"roleName"`
	// Your AWS secret access key. Only required if your AWS account is a GovCloud or China account.
	//
	// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/datadog/datadog/3.26.0/docs/resources/integration_aws#secret_access_key IntegrationAws#secret_access_key}
	SecretAccessKey *string `field:"optional" json:"secretAccessKey" yaml:"secretAccessKey"`
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL