Represents a {@link https://registry.terraform.io/providers/datadog/datadog/3.52.1/docs datadog}.
import "github.com/cdktf/cdktf-provider-datadog-go/datadog/v11/provider"
provider.NewDatadogProvider(scope Construct, id *string, config DatadogProviderConfig) DatadogProvider
Name | Type | Description |
---|---|---|
scope |
github.com/aws/constructs-go/constructs/v10.Construct |
The scope in which to define this construct. |
id |
*string |
The scoped construct ID. |
config |
DatadogProviderConfig |
No description. |
- Type: github.com/aws/constructs-go/constructs/v10.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. |
func ToString() *string
Returns a string representation of this construct.
func AddOverride(path *string, value interface{})
- Type: *string
- Type: interface{}
func OverrideLogicalId(newLogicalId *string)
Overrides the auto-generated logical ID with a specific ID.
- Type: *string
The new logical ID to use for this stack element.
func ResetOverrideLogicalId()
Resets a previously passed logical Id to use the auto-generated logical id again.
func ToHclTerraform() interface{}
func ToMetadata() interface{}
func ToTerraform() interface{}
Adds this resource to the terraform JSON output.
func ResetAlias()
func ResetApiKey()
func ResetApiUrl()
func ResetAppKey()
func ResetDefaultTags()
func ResetHttpClientRetryBackoffBase()
func ResetHttpClientRetryBackoffMultiplier()
func ResetHttpClientRetryEnabled()
func ResetHttpClientRetryMaxRetries()
func ResetHttpClientRetryTimeout()
func 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 ". |
import "github.com/cdktf/cdktf-provider-datadog-go/datadog/v11/provider"
provider.DatadogProvider_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.
- Type: interface{}
Any object.
import "github.com/cdktf/cdktf-provider-datadog-go/datadog/v11/provider"
provider.DatadogProvider_IsTerraformElement(x interface{}) *bool
- Type: interface{}
import "github.com/cdktf/cdktf-provider-datadog-go/datadog/v11/provider"
provider.DatadogProvider_IsTerraformProvider(x interface{}) *bool
- Type: interface{}
import "github.com/cdktf/cdktf-provider-datadog-go/datadog/v11/provider"
provider.DatadogProvider_GenerateConfigForImport(scope Construct, importToId *string, importFromId *string, provider TerraformProvider) ImportableResource
Generates CDKTF code for importing a DatadogProvider resource upon running "cdktf plan ".
- Type: github.com/aws/constructs-go/constructs/v10.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.52.1/docs#import import section} in the documentation of this resource for the id to use
- Type: github.com/hashicorp/terraform-cdk-go/cdktf.TerraformProvider
? Optional instance of the provider where the DatadogProvider to import is found.
Name | Type | Description |
---|---|---|
Node |
github.com/aws/constructs-go/constructs/v10.Node |
The tree node. |
CdktfStack |
github.com/hashicorp/terraform-cdk-go/cdktf.TerraformStack |
No description. |
Fqn |
*string |
No description. |
FriendlyUniqueId |
*string |
No description. |
MetaAttributes |
*map[string]interface{} |
No description. |
TerraformResourceType |
*string |
No description. |
TerraformGeneratorMetadata |
github.com/hashicorp/terraform-cdk-go/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 |
*f64 |
No description. |
HttpClientRetryBackoffMultiplierInput |
*f64 |
No description. |
HttpClientRetryEnabledInput |
*string |
No description. |
HttpClientRetryMaxRetriesInput |
*f64 |
No description. |
HttpClientRetryTimeoutInput |
*f64 |
No description. |
ValidateInput |
*string |
No description. |
ApiKey |
*string |
No description. |
ApiUrl |
*string |
No description. |
AppKey |
*string |
No description. |
DefaultTags |
DatadogProviderDefaultTags |
No description. |
HttpClientRetryBackoffBase |
*f64 |
No description. |
HttpClientRetryBackoffMultiplier |
*f64 |
No description. |
HttpClientRetryEnabled |
*string |
No description. |
HttpClientRetryMaxRetries |
*f64 |
No description. |
HttpClientRetryTimeout |
*f64 |
No description. |
Validate |
*string |
No description. |
func Node() Node
- Type: github.com/aws/constructs-go/constructs/v10.Node
The tree node.
func CdktfStack() TerraformStack
- Type: github.com/hashicorp/terraform-cdk-go/cdktf.TerraformStack
func Fqn() *string
- Type: *string
func FriendlyUniqueId() *string
- Type: *string
func MetaAttributes() *map[string]interface{}
- Type: *map[string]interface{}
func TerraformResourceType() *string
- Type: *string
func TerraformGeneratorMetadata() TerraformProviderGeneratorMetadata
- Type: github.com/hashicorp/terraform-cdk-go/cdktf.TerraformProviderGeneratorMetadata
func TerraformProviderSource() *string
- Type: *string
func Alias() *string
- Type: *string
func AliasInput() *string
- Type: *string
func ApiKeyInput() *string
- Type: *string
func ApiUrlInput() *string
- Type: *string
func AppKeyInput() *string
- Type: *string
func DefaultTagsInput() DatadogProviderDefaultTags
func HttpClientRetryBackoffBaseInput() *f64
- Type: *f64
func HttpClientRetryBackoffMultiplierInput() *f64
- Type: *f64
func HttpClientRetryEnabledInput() *string
- Type: *string
func HttpClientRetryMaxRetriesInput() *f64
- Type: *f64
func HttpClientRetryTimeoutInput() *f64
- Type: *f64
func ValidateInput() *string
- Type: *string
func ApiKey() *string
- Type: *string
func ApiUrl() *string
- Type: *string
func AppKey() *string
- Type: *string
func DefaultTags() DatadogProviderDefaultTags
func HttpClientRetryBackoffBase() *f64
- Type: *f64
func HttpClientRetryBackoffMultiplier() *f64
- Type: *f64
func HttpClientRetryEnabled() *string
- Type: *string
func HttpClientRetryMaxRetries() *f64
- Type: *f64
func HttpClientRetryTimeout() *f64
- Type: *f64
func Validate() *string
- Type: *string
Name | Type | Description |
---|---|---|
TfResourceType |
*string |
No description. |
func TfResourceType() *string
- Type: *string
import "github.com/cdktf/cdktf-provider-datadog-go/datadog/v11/provider"
&provider.DatadogProviderConfig {
Alias: *string,
ApiKey: *string,
ApiUrl: *string,
AppKey: *string,
DefaultTags: github.com/cdktf/cdktf-provider-datadog-go/datadog/v11.provider.DatadogProviderDefaultTags,
HttpClientRetryBackoffBase: *f64,
HttpClientRetryBackoffMultiplier: *f64,
HttpClientRetryEnabled: *string,
HttpClientRetryMaxRetries: *f64,
HttpClientRetryTimeout: *f64,
Validate: *string,
}
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 |
*f64 |
The HTTP request retry back off base. Defaults to 2. |
HttpClientRetryBackoffMultiplier |
*f64 |
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 |
*f64 |
The HTTP request maximum retry number. Defaults to 3. |
HttpClientRetryTimeout |
*f64 |
The HTTP request retry timeout period. Defaults to 60 seconds. |
Validate |
*string |
Enables validation of the provided API key during provider initialization. |
Alias *string
- Type: *string
Alias name.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/datadog/datadog/3.52.1/docs#alias DatadogProvider#alias}
ApiKey *string
- 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.52.1/docs#api_key DatadogProvider#api_key}
ApiUrl *string
- 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.52.1/docs#api_url DatadogProvider#api_url}
AppKey *string
- 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.52.1/docs#app_key DatadogProvider#app_key}
DefaultTags DatadogProviderDefaultTags
default_tags block.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/datadog/datadog/3.52.1/docs#default_tags DatadogProvider#default_tags}
HttpClientRetryBackoffBase *f64
- Type: *f64
The HTTP request retry back off base. Defaults to 2.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/datadog/datadog/3.52.1/docs#http_client_retry_backoff_base DatadogProvider#http_client_retry_backoff_base}
HttpClientRetryBackoffMultiplier *f64
- Type: *f64
The HTTP request retry back off multiplier. Defaults to 2.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/datadog/datadog/3.52.1/docs#http_client_retry_backoff_multiplier DatadogProvider#http_client_retry_backoff_multiplier}
HttpClientRetryEnabled *string
- 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.52.1/docs#http_client_retry_enabled DatadogProvider#http_client_retry_enabled}
HttpClientRetryMaxRetries *f64
- Type: *f64
The HTTP request maximum retry number. Defaults to 3.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/datadog/datadog/3.52.1/docs#http_client_retry_max_retries DatadogProvider#http_client_retry_max_retries}
HttpClientRetryTimeout *f64
- Type: *f64
The HTTP request retry timeout period. Defaults to 60 seconds.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/datadog/datadog/3.52.1/docs#http_client_retry_timeout DatadogProvider#http_client_retry_timeout}
Validate *string
- 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.52.1/docs#validate DatadogProvider#validate}
import "github.com/cdktf/cdktf-provider-datadog-go/datadog/v11/provider"
&provider.DatadogProviderDefaultTags {
Tags: *map[string]*string,
}
Name | Type | Description |
---|---|---|
Tags |
*map[string]*string |
[Experimental - Monitors only] Resource tags to be applied by default across all resources. |
Tags *map[string]*string
- Type: *map[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.52.1/docs#tags DatadogProvider#tags}