Represents a {@link https://registry.terraform.io/providers/datadog/datadog/3.50.0/docs datadog}.
using HashiCorp.Cdktf.Providers.Datadog;
new DatadogProvider(Construct Scope, string Id, DatadogProviderConfig Config = null);
Name | Type | Description |
---|---|---|
Scope |
Constructs.Construct |
The scope in which to define this construct. |
Id |
string |
The scoped construct ID. |
Config |
DatadogProviderConfig |
No description. |
- Type: Constructs.Construct
The scope in which to define this construct.
- Type: string
The scoped construct ID.
Must be unique amongst siblings in the same scope
- Type: DatadogProviderConfig
Name | Description |
---|---|
ToString |
Returns a string representation of this construct. |
AddOverride |
No description. |
OverrideLogicalId |
Overrides the auto-generated logical ID with a specific ID. |
ResetOverrideLogicalId |
Resets a previously passed logical Id to use the auto-generated logical id again. |
ToHclTerraform |
No description. |
ToMetadata |
No description. |
ToTerraform |
Adds this resource to the terraform JSON output. |
ResetAlias |
No description. |
ResetApiKey |
No description. |
ResetApiUrl |
No description. |
ResetAppKey |
No description. |
ResetDefaultTags |
No description. |
ResetHttpClientRetryBackoffBase |
No description. |
ResetHttpClientRetryBackoffMultiplier |
No description. |
ResetHttpClientRetryEnabled |
No description. |
ResetHttpClientRetryMaxRetries |
No description. |
ResetHttpClientRetryTimeout |
No description. |
ResetValidate |
No description. |
private string ToString()
Returns a string representation of this construct.
private void AddOverride(string Path, object Value)
- Type: string
- Type: object
private void OverrideLogicalId(string NewLogicalId)
Overrides the auto-generated logical ID with a specific ID.
- Type: string
The new logical ID to use for this stack element.
private void ResetOverrideLogicalId()
Resets a previously passed logical Id to use the auto-generated logical id again.
private object ToHclTerraform()
private object ToMetadata()
private object ToTerraform()
Adds this resource to the terraform JSON output.
private void ResetAlias()
private void ResetApiKey()
private void ResetApiUrl()
private void ResetAppKey()
private void ResetDefaultTags()
private void ResetHttpClientRetryBackoffBase()
private void ResetHttpClientRetryBackoffMultiplier()
private void ResetHttpClientRetryEnabled()
private void ResetHttpClientRetryMaxRetries()
private void ResetHttpClientRetryTimeout()
private void ResetValidate()
Name | Description |
---|---|
IsConstruct |
Checks if x is a construct. |
IsTerraformElement |
No description. |
IsTerraformProvider |
No description. |
GenerateConfigForImport |
Generates CDKTF code for importing a DatadogProvider resource upon running "cdktf plan ". |
using HashiCorp.Cdktf.Providers.Datadog;
DatadogProvider.IsConstruct(object X);
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.
- Type: object
Any object.
using HashiCorp.Cdktf.Providers.Datadog;
DatadogProvider.IsTerraformElement(object X);
- Type: object
using HashiCorp.Cdktf.Providers.Datadog;
DatadogProvider.IsTerraformProvider(object X);
- Type: object
using HashiCorp.Cdktf.Providers.Datadog;
DatadogProvider.GenerateConfigForImport(Construct Scope, string ImportToId, string ImportFromId, TerraformProvider Provider = null);
Generates CDKTF code for importing a DatadogProvider resource upon running "cdktf plan ".
- Type: Constructs.Construct
The scope in which to define this construct.
- Type: string
The construct id used in the generated config for the DatadogProvider to import.
- Type: string
The id of the existing DatadogProvider that should be imported.
Refer to the {@link https://registry.terraform.io/providers/datadog/datadog/3.50.0/docs#import import section} in the documentation of this resource for the id to use
- Type: HashiCorp.Cdktf.TerraformProvider
? Optional instance of the provider where the DatadogProvider to import is found.
Name | Type | Description |
---|---|---|
Node |
Constructs.Node |
The tree node. |
CdktfStack |
HashiCorp.Cdktf.TerraformStack |
No description. |
Fqn |
string |
No description. |
FriendlyUniqueId |
string |
No description. |
MetaAttributes |
System.Collections.Generic.IDictionary<string, object> |
No description. |
TerraformResourceType |
string |
No description. |
TerraformGeneratorMetadata |
HashiCorp.Cdktf.TerraformProviderGeneratorMetadata |
No description. |
TerraformProviderSource |
string |
No description. |
Alias |
string |
No description. |
AliasInput |
string |
No description. |
ApiKeyInput |
string |
No description. |
ApiUrlInput |
string |
No description. |
AppKeyInput |
string |
No description. |
DefaultTagsInput |
DatadogProviderDefaultTags |
No description. |
HttpClientRetryBackoffBaseInput |
double |
No description. |
HttpClientRetryBackoffMultiplierInput |
double |
No description. |
HttpClientRetryEnabledInput |
string |
No description. |
HttpClientRetryMaxRetriesInput |
double |
No description. |
HttpClientRetryTimeoutInput |
double |
No description. |
ValidateInput |
string |
No description. |
ApiKey |
string |
No description. |
ApiUrl |
string |
No description. |
AppKey |
string |
No description. |
DefaultTags |
DatadogProviderDefaultTags |
No description. |
HttpClientRetryBackoffBase |
double |
No description. |
HttpClientRetryBackoffMultiplier |
double |
No description. |
HttpClientRetryEnabled |
string |
No description. |
HttpClientRetryMaxRetries |
double |
No description. |
HttpClientRetryTimeout |
double |
No description. |
Validate |
string |
No description. |
public Node Node { get; }
- Type: Constructs.Node
The tree node.
public TerraformStack CdktfStack { get; }
- Type: HashiCorp.Cdktf.TerraformStack
public string Fqn { get; }
- Type: string
public string FriendlyUniqueId { get; }
- Type: string
public System.Collections.Generic.IDictionary<string, object> MetaAttributes { get; }
- Type: System.Collections.Generic.IDictionary<string, object>
public string TerraformResourceType { get; }
- Type: string
public TerraformProviderGeneratorMetadata TerraformGeneratorMetadata { get; }
- Type: HashiCorp.Cdktf.TerraformProviderGeneratorMetadata
public string TerraformProviderSource { get; }
- Type: string
public string Alias { get; }
- Type: string
public string AliasInput { get; }
- Type: string
public string ApiKeyInput { get; }
- Type: string
public string ApiUrlInput { get; }
- Type: string
public string AppKeyInput { get; }
- Type: string
public DatadogProviderDefaultTags DefaultTagsInput { get; }
public double HttpClientRetryBackoffBaseInput { get; }
- Type: double
public double HttpClientRetryBackoffMultiplierInput { get; }
- Type: double
public string HttpClientRetryEnabledInput { get; }
- Type: string
public double HttpClientRetryMaxRetriesInput { get; }
- Type: double
public double HttpClientRetryTimeoutInput { get; }
- Type: double
public string ValidateInput { get; }
- Type: string
public string ApiKey { get; }
- Type: string
public string ApiUrl { get; }
- Type: string
public string AppKey { get; }
- Type: string
public DatadogProviderDefaultTags DefaultTags { get; }
public double HttpClientRetryBackoffBase { get; }
- Type: double
public double HttpClientRetryBackoffMultiplier { get; }
- Type: double
public string HttpClientRetryEnabled { get; }
- Type: string
public double HttpClientRetryMaxRetries { get; }
- Type: double
public double HttpClientRetryTimeout { get; }
- Type: double
public string Validate { get; }
- Type: string
Name | Type | Description |
---|---|---|
TfResourceType |
string |
No description. |
public string TfResourceType { get; }
- Type: string
using HashiCorp.Cdktf.Providers.Datadog;
new DatadogProviderConfig {
string Alias = null,
string ApiKey = null,
string ApiUrl = null,
string AppKey = null,
DatadogProviderDefaultTags DefaultTags = null,
double HttpClientRetryBackoffBase = null,
double HttpClientRetryBackoffMultiplier = null,
string HttpClientRetryEnabled = null,
double HttpClientRetryMaxRetries = null,
double HttpClientRetryTimeout = null,
string Validate = null
};
Name | Type | Description |
---|---|---|
Alias |
string |
Alias name. |
ApiKey |
string |
(Required unless validate is false) Datadog API key. This can also be set via the DD_API_KEY environment variable. |
ApiUrl |
string |
The API URL. |
AppKey |
string |
(Required unless validate is false) Datadog APP key. This can also be set via the DD_APP_KEY environment variable. |
DefaultTags |
DatadogProviderDefaultTags |
default_tags block. |
HttpClientRetryBackoffBase |
double |
The HTTP request retry back off base. Defaults to 2. |
HttpClientRetryBackoffMultiplier |
double |
The HTTP request retry back off multiplier. Defaults to 2. |
HttpClientRetryEnabled |
string |
Enables request retries on HTTP status codes 429 and 5xx. Valid values are [true , false ]. Defaults to true . |
HttpClientRetryMaxRetries |
double |
The HTTP request maximum retry number. Defaults to 3. |
HttpClientRetryTimeout |
double |
The HTTP request retry timeout period. Defaults to 60 seconds. |
Validate |
string |
Enables validation of the provided API key during provider initialization. |
public string Alias { get; set; }
- Type: string
Alias name.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/datadog/datadog/3.50.0/docs#alias DatadogProvider#alias}
public string ApiKey { get; set; }
- Type: string
(Required unless validate is false) Datadog API key. This can also be set via the DD_API_KEY environment variable.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/datadog/datadog/3.50.0/docs#api_key DatadogProvider#api_key}
public string ApiUrl { get; set; }
- Type: string
The API URL.
This can also be set via the DD_HOST environment variable, and defaults to https://api.datadoghq.com
. Note that this URL must not end with the /api/
path. For example, https://api.datadoghq.com/
is a correct value, while https://api.datadoghq.com/api/
is not. And if you're working with "EU" version of Datadog, use https://api.datadoghq.eu/
. Other Datadog region examples: https://api.us5.datadoghq.com/
, https://api.us3.datadoghq.com/
and https://api.ddog-gov.com/
. See https://docs.datadoghq.com/getting_started/site/ for all available regions.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/datadog/datadog/3.50.0/docs#api_url DatadogProvider#api_url}
public string AppKey { get; set; }
- Type: string
(Required unless validate is false) Datadog APP key. This can also be set via the DD_APP_KEY environment variable.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/datadog/datadog/3.50.0/docs#app_key DatadogProvider#app_key}
public DatadogProviderDefaultTags DefaultTags { get; set; }
default_tags block.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/datadog/datadog/3.50.0/docs#default_tags DatadogProvider#default_tags}
public double HttpClientRetryBackoffBase { get; set; }
- Type: double
The HTTP request retry back off base. Defaults to 2.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/datadog/datadog/3.50.0/docs#http_client_retry_backoff_base DatadogProvider#http_client_retry_backoff_base}
public double HttpClientRetryBackoffMultiplier { get; set; }
- Type: double
The HTTP request retry back off multiplier. Defaults to 2.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/datadog/datadog/3.50.0/docs#http_client_retry_backoff_multiplier DatadogProvider#http_client_retry_backoff_multiplier}
public string HttpClientRetryEnabled { get; set; }
- Type: string
Enables request retries on HTTP status codes 429 and 5xx. Valid values are [true
, false
]. Defaults to true
.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/datadog/datadog/3.50.0/docs#http_client_retry_enabled DatadogProvider#http_client_retry_enabled}
public double HttpClientRetryMaxRetries { get; set; }
- Type: double
The HTTP request maximum retry number. Defaults to 3.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/datadog/datadog/3.50.0/docs#http_client_retry_max_retries DatadogProvider#http_client_retry_max_retries}
public double HttpClientRetryTimeout { get; set; }
- Type: double
The HTTP request retry timeout period. Defaults to 60 seconds.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/datadog/datadog/3.50.0/docs#http_client_retry_timeout DatadogProvider#http_client_retry_timeout}
public string Validate { get; set; }
- Type: string
Enables validation of the provided API key during provider initialization.
Valid values are [true
, false
]. Default is true. When false, api_key won't be checked.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/datadog/datadog/3.50.0/docs#validate DatadogProvider#validate}
using HashiCorp.Cdktf.Providers.Datadog;
new DatadogProviderDefaultTags {
System.Collections.Generic.IDictionary<string, string> Tags = null
};
Name | Type | Description |
---|---|---|
Tags |
System.Collections.Generic.IDictionary<string, string> |
[Experimental - Monitors only] Resource tags to be applied by default across all resources. |
public System.Collections.Generic.IDictionary<string, string> Tags { get; set; }
- Type: System.Collections.Generic.IDictionary<string, string>
[Experimental - Monitors only] Resource tags to be applied by default across all resources.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/datadog/datadog/3.50.0/docs#tags DatadogProvider#tags}