Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(kinesisfirehose): add HTTP Endpoint and Datadog destination #33657

Open
wants to merge 20 commits into
base: main
Choose a base branch
from
Prev Previous commit
Next Next commit
fix: typos
  • Loading branch information
Benjamin Pottier authored and Benjamin Pottier committed Mar 5, 2025
commit cdae4242490d09d710c747e7f9a9d6c5edfeb788
10 changes: 6 additions & 4 deletions packages/aws-cdk-lib/aws-kinesisfirehose/README.md
Original file line number Diff line number Diff line change
@@ -90,8 +90,8 @@ for the implementations of these destinations.
Defining a delivery stream with an HTTP destination:

```ts
declare const endpointConfig: firehouse.HTTPEndpointConifg;
const httpDestination = new firehouse.HTTPEndpoint({
declare const endpointConfig: firehose.HTTPEndpointConifg;
const httpDestination = new firehose.HTTPEndpoint({
endpointConfig,
});
```
@@ -101,10 +101,12 @@ const httpDestination = new firehouse.HTTPEndpoint({
Defining a delivery stream with a Datadog destination:

```ts
import * as secretsmanager from 'aws-cdk-lib/aws-secretsmanager';

declare const apiKey: secretsmanager.Secret;
const datadogDestination = new firehouse.Datadog({
const datadogDestination = new firehose.Datadog({
apiKey,
url: firehouse.DatadogLogsEndpointUrl.DATADOG_LOGS_US1,
url: firehose.DatadogLogsEndpointUrl.DATADOG_LOGS_US1,
});
```