class DatadogEndpoint
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.KinesisFirehose.DatadogEndpoint |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awskinesisfirehose#DatadogEndpoint |
Java | software.amazon.awscdk.services.kinesisfirehose.DatadogEndpoint |
Python | aws_cdk.aws_kinesisfirehose.DatadogEndpoint |
TypeScript (source) | aws-cdk-lib » aws_kinesisfirehose » DatadogEndpoint |
A Datadog endpoint URL for use with Kinesis Data Firehose.
Use one of the predefined static members for a known Datadog region, or
DatadogEndpoint.of(url) for a custom URL.
Example
import * as secretsmanager from 'aws-cdk-lib/aws-secretsmanager';
declare const apiKey: secretsmanager.Secret;
const datadogDestination = new firehose.Datadog({
apiKey,
endpoint: firehose.DatadogEndpoint.LOGS_US1,
});
Properties
| Name | Type | Description |
|---|---|---|
| url | string | The endpoint URL string. |
| static CONFIGURATION_AP1 | Datadog | Configurations — AP1 (Japan). |
| static CONFIGURATION_EU | Datadog | Configurations — EU. |
| static CONFIGURATION_US1 | Datadog | Configurations — US1. |
| static CONFIGURATION_US3 | Datadog | Configurations — US3. |
| static CONFIGURATION_US5 | Datadog | Configurations — US5. |
| static CONFIGURATION_US_GOV | Datadog | Configurations — US Government. |
| static LOGS_AP1 | Datadog | Logs — AP1 (Japan). |
| static LOGS_EU | Datadog | Logs — EU. |
| static LOGS_GOV | Datadog | Logs — US Government. |
| static LOGS_US1 | Datadog | Logs — US1. |
| static LOGS_US3 | Datadog | Logs — US3. |
| static LOGS_US5 | Datadog | Logs — US5. |
| static METRICS_AP1 | Datadog | Metrics — AP1 (Japan). |
| static METRICS_EU | Datadog | Metrics — EU. |
| static METRICS_US | Datadog | Metrics — US. |
| static METRICS_US5 | Datadog | Metrics — US5. |
url
Type:
string
The endpoint URL string.
static CONFIGURATION_AP1
Type:
Datadog
Configurations — AP1 (Japan).
static CONFIGURATION_EU
Type:
Datadog
Configurations — EU.
static CONFIGURATION_US1
Type:
Datadog
Configurations — US1.
static CONFIGURATION_US3
Type:
Datadog
Configurations — US3.
static CONFIGURATION_US5
Type:
Datadog
Configurations — US5.
static CONFIGURATION_US_GOV
Type:
Datadog
Configurations — US Government.
static LOGS_AP1
Type:
Datadog
Logs — AP1 (Japan).
static LOGS_EU
Type:
Datadog
Logs — EU.
static LOGS_GOV
Type:
Datadog
Logs — US Government.
static LOGS_US1
Type:
Datadog
Logs — US1.
static LOGS_US3
Type:
Datadog
Logs — US3.
static LOGS_US5
Type:
Datadog
Logs — US5.
static METRICS_AP1
Type:
Datadog
Metrics — AP1 (Japan).
static METRICS_EU
Type:
Datadog
Metrics — EU.
static METRICS_US
Type:
Datadog
Metrics — US.
static METRICS_US5
Type:
Datadog
Metrics — US5.
Methods
| Name | Description |
|---|---|
| static of(url) | Use a custom Datadog endpoint URL. |
static of(url)
public static of(url: string): DatadogEndpoint
Parameters
- url
string— The full HTTPS endpoint URL.
Returns
Use a custom Datadog endpoint URL.
This is an escape hatch for endpoints not covered by the predefined members (for
example a new region or a proxy in front of Datadog). The value is passed through
as-is and is not validated by CDK. It must be a valid HTTPS Datadog intake URL: the
Firehose API requires the endpoint URL to match https://, so an invalid value fails
at deployment. The caller is responsible for providing a correct URL.

.NET
Go
Java
Python
TypeScript (