Skip to content
v2.278.0

HttpEndpointDestinationConfigurationProperty Struct ​

Describes the configuration of the HTTP endpoint destination.

Kinesis Firehose supports any custom HTTP endpoint or HTTP endpoints owned by supported third-party service providers, including Datadog, MongoDB, and New Relic.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_kinesisfirehose as kinesisfirehose } from 'aws-cdk-lib';
const httpEndpointDestinationConfigurationProperty: kinesisfirehose.CfnDeliveryStream.HttpEndpointDestinationConfigurationProperty = {
  endpointConfiguration: {
    url: 'url',

    // the properties below are optional
    accessKey: 'accessKey',
    name: 'name',
  },
  s3Configuration: {
    bucketArn: 'bucketArn',
    roleArn: 'roleArn',

    // the properties below are optional
    bufferingHints: {
      intervalInSeconds: 123,
      sizeInMBs: 123,
    },
    cloudWatchLoggingOptions: {
      enabled: false,
      logGroupName: 'logGroupName',
      logStreamName: 'logStreamName',
    },
    compressionFormat: 'compressionFormat',
    encryptionConfiguration: {
      kmsEncryptionConfig: {
        awskmsKeyArn: 'awskmsKeyArn',
      },
      noEncryptionConfig: 'noEncryptionConfig',
    },
    errorOutputPrefix: 'errorOutputPrefix',
    prefix: 'prefix',
  },

  // the properties below are optional
  bufferingHints: {
    intervalInSeconds: 123,
    sizeInMBs: 123,
  },
  cloudWatchLoggingOptions: {
    enabled: false,
    logGroupName: 'logGroupName',
    logStreamName: 'logStreamName',
  },
  processingConfiguration: {
    enabled: false,
    processors: [{
      type: 'type',

      // the properties below are optional
      parameters: [{
        parameterName: 'parameterName',
        parameterValue: 'parameterValue',
      }],
    }],
  },
  requestConfiguration: {
    commonAttributes: [{
      attributeName: 'attributeName',
      attributeValue: 'attributeValue',
    }],
    contentEncoding: 'contentEncoding',
  },
  retryOptions: {
    durationInSeconds: 123,
  },
  roleArn: 'roleArn',
  s3BackupMode: 's3BackupMode',
  secretsManagerConfiguration: {
    enabled: false,

    // the properties below are optional
    roleArn: 'roleArn',
    secretArn: 'secretArn',
  },
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_kinesisfirehose as kinesisfirehose

http_endpoint_destination_configuration_property = kinesisfirehose.CfnDeliveryStream.HttpEndpointDestinationConfigurationProperty(
    endpoint_configuration=kinesisfirehose.CfnDeliveryStream.HttpEndpointConfigurationProperty(
        url="url",

        # the properties below are optional
        access_key="accessKey",
        name="name"
    ),
    s3_configuration=kinesisfirehose.CfnDeliveryStream.S3DestinationConfigurationProperty(
        bucket_arn="bucketArn",
        role_arn="roleArn",

        # the properties below are optional
        buffering_hints=kinesisfirehose.CfnDeliveryStream.BufferingHintsProperty(
            interval_in_seconds=123,
            size_in_m_bs=123
        ),
        cloud_watch_logging_options=kinesisfirehose.CfnDeliveryStream.CloudWatchLoggingOptionsProperty(
            enabled=False,
            log_group_name="logGroupName",
            log_stream_name="logStreamName"
        ),
        compression_format="compressionFormat",
        encryption_configuration=kinesisfirehose.CfnDeliveryStream.EncryptionConfigurationProperty(
            kms_encryption_config=kinesisfirehose.CfnDeliveryStream.KMSEncryptionConfigProperty(
                awskms_key_arn="awskmsKeyArn"
            ),
            no_encryption_config="noEncryptionConfig"
        ),
        error_output_prefix="errorOutputPrefix",
        prefix="prefix"
    ),

    # the properties below are optional
    buffering_hints=kinesisfirehose.CfnDeliveryStream.BufferingHintsProperty(
        interval_in_seconds=123,
        size_in_m_bs=123
    ),
    cloud_watch_logging_options=kinesisfirehose.CfnDeliveryStream.CloudWatchLoggingOptionsProperty(
        enabled=False,
        log_group_name="logGroupName",
        log_stream_name="logStreamName"
    ),
    processing_configuration=kinesisfirehose.CfnDeliveryStream.ProcessingConfigurationProperty(
        enabled=False,
        processors=[kinesisfirehose.CfnDeliveryStream.ProcessorProperty(
            type="type",

            # the properties below are optional
            parameters=[kinesisfirehose.CfnDeliveryStream.ProcessorParameterProperty(
                parameter_name="parameterName",
                parameter_value="parameterValue"
            )]
        )]
    ),
    request_configuration=kinesisfirehose.CfnDeliveryStream.HttpEndpointRequestConfigurationProperty(
        common_attributes=[kinesisfirehose.CfnDeliveryStream.HttpEndpointCommonAttributeProperty(
            attribute_name="attributeName",
            attribute_value="attributeValue"
        )],
        content_encoding="contentEncoding"
    ),
    retry_options=kinesisfirehose.CfnDeliveryStream.RetryOptionsProperty(
        duration_in_seconds=123
    ),
    role_arn="roleArn",
    s3_backup_mode="s3BackupMode",
    secrets_manager_configuration=kinesisfirehose.CfnDeliveryStream.SecretsManagerConfigurationProperty(
        enabled=False,

        # the properties below are optional
        role_arn="roleArn",
        secret_arn="secretArn"
    )
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.kinesisfirehose.*;

HttpEndpointDestinationConfigurationProperty httpEndpointDestinationConfigurationProperty = HttpEndpointDestinationConfigurationProperty.builder()
        .endpointConfiguration(HttpEndpointConfigurationProperty.builder()
                .url("url")

                // the properties below are optional
                .accessKey("accessKey")
                .name("name")
                .build())
        .s3Configuration(S3DestinationConfigurationProperty.builder()
                .bucketArn("bucketArn")
                .roleArn("roleArn")

                // the properties below are optional
                .bufferingHints(BufferingHintsProperty.builder()
                        .intervalInSeconds(123)
                        .sizeInMBs(123)
                        .build())
                .cloudWatchLoggingOptions(CloudWatchLoggingOptionsProperty.builder()
                        .enabled(false)
                        .logGroupName("logGroupName")
                        .logStreamName("logStreamName")
                        .build())
                .compressionFormat("compressionFormat")
                .encryptionConfiguration(EncryptionConfigurationProperty.builder()
                        .kmsEncryptionConfig(KMSEncryptionConfigProperty.builder()
                                .awskmsKeyArn("awskmsKeyArn")
                                .build())
                        .noEncryptionConfig("noEncryptionConfig")
                        .build())
                .errorOutputPrefix("errorOutputPrefix")
                .prefix("prefix")
                .build())

        // the properties below are optional
        .bufferingHints(BufferingHintsProperty.builder()
                .intervalInSeconds(123)
                .sizeInMBs(123)
                .build())
        .cloudWatchLoggingOptions(CloudWatchLoggingOptionsProperty.builder()
                .enabled(false)
                .logGroupName("logGroupName")
                .logStreamName("logStreamName")
                .build())
        .processingConfiguration(ProcessingConfigurationProperty.builder()
                .enabled(false)
                .processors(List.of(ProcessorProperty.builder()
                        .type("type")

                        // the properties below are optional
                        .parameters(List.of(ProcessorParameterProperty.builder()
                                .parameterName("parameterName")
                                .parameterValue("parameterValue")
                                .build()))
                        .build()))
                .build())
        .requestConfiguration(HttpEndpointRequestConfigurationProperty.builder()
                .commonAttributes(List.of(HttpEndpointCommonAttributeProperty.builder()
                        .attributeName("attributeName")
                        .attributeValue("attributeValue")
                        .build()))
                .contentEncoding("contentEncoding")
                .build())
        .retryOptions(RetryOptionsProperty.builder()
                .durationInSeconds(123)
                .build())
        .roleArn("roleArn")
        .s3BackupMode("s3BackupMode")
        .secretsManagerConfiguration(SecretsManagerConfigurationProperty.builder()
                .enabled(false)

                // the properties below are optional
                .roleArn("roleArn")
                .secretArn("secretArn")
                .build())
        .build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.KinesisFirehose;

var httpEndpointDestinationConfigurationProperty = new HttpEndpointDestinationConfigurationProperty {
    EndpointConfiguration = new HttpEndpointConfigurationProperty {
        Url = "url",

        // the properties below are optional
        AccessKey = "accessKey",
        Name = "name"
    },
    S3Configuration = new S3DestinationConfigurationProperty {
        BucketArn = "bucketArn",
        RoleArn = "roleArn",

        // the properties below are optional
        BufferingHints = new BufferingHintsProperty {
            IntervalInSeconds = 123,
            SizeInMBs = 123
        },
        CloudWatchLoggingOptions = new CloudWatchLoggingOptionsProperty {
            Enabled = false,
            LogGroupName = "logGroupName",
            LogStreamName = "logStreamName"
        },
        CompressionFormat = "compressionFormat",
        EncryptionConfiguration = new EncryptionConfigurationProperty {
            KmsEncryptionConfig = new KMSEncryptionConfigProperty {
                AwskmsKeyArn = "awskmsKeyArn"
            },
            NoEncryptionConfig = "noEncryptionConfig"
        },
        ErrorOutputPrefix = "errorOutputPrefix",
        Prefix = "prefix"
    },

    // the properties below are optional
    BufferingHints = new BufferingHintsProperty {
        IntervalInSeconds = 123,
        SizeInMBs = 123
    },
    CloudWatchLoggingOptions = new CloudWatchLoggingOptionsProperty {
        Enabled = false,
        LogGroupName = "logGroupName",
        LogStreamName = "logStreamName"
    },
    ProcessingConfiguration = new ProcessingConfigurationProperty {
        Enabled = false,
        Processors = new [] { new ProcessorProperty {
            Type = "type",

            // the properties below are optional
            Parameters = new [] { new ProcessorParameterProperty {
                ParameterName = "parameterName",
                ParameterValue = "parameterValue"
            } }
        } }
    },
    RequestConfiguration = new HttpEndpointRequestConfigurationProperty {
        CommonAttributes = new [] { new HttpEndpointCommonAttributeProperty {
            AttributeName = "attributeName",
            AttributeValue = "attributeValue"
        } },
        ContentEncoding = "contentEncoding"
    },
    RetryOptions = new RetryOptionsProperty {
        DurationInSeconds = 123
    },
    RoleArn = "roleArn",
    S3BackupMode = "s3BackupMode",
    SecretsManagerConfiguration = new SecretsManagerConfigurationProperty {
        Enabled = false,

        // the properties below are optional
        RoleArn = "roleArn",
        SecretArn = "secretArn"
    }
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

httpEndpointDestinationConfigurationProperty := &HttpEndpointDestinationConfigurationProperty{
	EndpointConfiguration: &HttpEndpointConfigurationProperty{
		Url: jsii.String("url"),

		// the properties below are optional
		AccessKey: jsii.String("accessKey"),
		Name: jsii.String("name"),
	},
	S3Configuration: &S3DestinationConfigurationProperty{
		BucketArn: jsii.String("bucketArn"),
		RoleArn: jsii.String("roleArn"),

		// the properties below are optional
		BufferingHints: &BufferingHintsProperty{
			IntervalInSeconds: jsii.Number(123),
			SizeInMBs: jsii.Number(123),
		},
		CloudWatchLoggingOptions: &CloudWatchLoggingOptionsProperty{
			Enabled: jsii.Boolean(false),
			LogGroupName: jsii.String("logGroupName"),
			LogStreamName: jsii.String("logStreamName"),
		},
		CompressionFormat: jsii.String("compressionFormat"),
		EncryptionConfiguration: &EncryptionConfigurationProperty{
			KmsEncryptionConfig: &KMSEncryptionConfigProperty{
				AwskmsKeyArn: jsii.String("awskmsKeyArn"),
			},
			NoEncryptionConfig: jsii.String("noEncryptionConfig"),
		},
		ErrorOutputPrefix: jsii.String("errorOutputPrefix"),
		Prefix: jsii.String("prefix"),
	},

	// the properties below are optional
	BufferingHints: &BufferingHintsProperty{
		IntervalInSeconds: jsii.Number(123),
		SizeInMBs: jsii.Number(123),
	},
	CloudWatchLoggingOptions: &CloudWatchLoggingOptionsProperty{
		Enabled: jsii.Boolean(false),
		LogGroupName: jsii.String("logGroupName"),
		LogStreamName: jsii.String("logStreamName"),
	},
	ProcessingConfiguration: &ProcessingConfigurationProperty{
		Enabled: jsii.Boolean(false),
		Processors: []interface{}{
			&ProcessorProperty{
				Type: jsii.String("type"),

				// the properties below are optional
				Parameters: []interface{}{
					&ProcessorParameterProperty{
						ParameterName: jsii.String("parameterName"),
						ParameterValue: jsii.String("parameterValue"),
					},
				},
			},
		},
	},
	RequestConfiguration: &HttpEndpointRequestConfigurationProperty{
		CommonAttributes: []interface{}{
			&HttpEndpointCommonAttributeProperty{
				AttributeName: jsii.String("attributeName"),
				AttributeValue: jsii.String("attributeValue"),
			},
		},
		ContentEncoding: jsii.String("contentEncoding"),
	},
	RetryOptions: &RetryOptionsProperty{
		DurationInSeconds: jsii.Number(123),
	},
	RoleArn: jsii.String("roleArn"),
	S3BackupMode: jsii.String("s3BackupMode"),
	SecretsManagerConfiguration: &SecretsManagerConfigurationProperty{
		Enabled: jsii.Boolean(false),

		// the properties below are optional
		RoleArn: jsii.String("roleArn"),
		SecretArn: jsii.String("secretArn"),
	},
}

Properties ​

bufferingHintsoptionalIResolvable | CfnDeliveryStream.BufferingHintsPropertybuffering_hintsoptionaltyping.Union[IResolvable, BufferingHintsProperty]bufferingHintsoptionalIResolvableBufferingHintsoptionalIResolvableBufferingHintsoptionalinterface{} #
The buffering options that can be used before data is delivered to the specified destination.
notes

Kinesis Data Firehose treats these options as hints, and it might choose to use more optimal values. The SizeInMBs and IntervalInSeconds parameters are optional. However, if you specify a value for one of them, you must also provide a value for the other.

cloudWatchLoggingOptionsoptionalIResolvable | CfnDeliveryStream.CloudWatchLoggingOptionsPropertycloud_watch_logging_optionsoptionaltyping.Union[IResolvable, CloudWatchLoggingOptionsProperty]cloudWatchLoggingOptionsoptionalIResolvableCloudWatchLoggingOptionsoptionalIResolvableCloudWatchLoggingOptionsoptionalinterface{} #
Describes the Amazon CloudWatch logging options for your delivery stream.
endpointConfigurationIResolvable | CfnDeliveryStream.HttpEndpointConfigurationPropertyendpoint_configurationtyping.Union[IResolvable, HttpEndpointConfigurationProperty]endpointConfigurationIResolvableEndpointConfigurationIResolvableEndpointConfigurationinterface{} required #
The configuration of the HTTP endpoint selected as the destination.
processingConfigurationoptionalIResolvable | CfnDeliveryStream.ProcessingConfigurationPropertyprocessing_configurationoptionaltyping.Union[IResolvable, ProcessingConfigurationProperty]processingConfigurationoptionalIResolvableProcessingConfigurationoptionalIResolvableProcessingConfigurationoptionalinterface{} #
Describes the data processing configuration.
requestConfigurationoptionalIResolvable | CfnDeliveryStream.HttpEndpointRequestConfigurationPropertyrequest_configurationoptionaltyping.Union[IResolvable, HttpEndpointRequestConfigurationProperty]requestConfigurationoptionalIResolvableRequestConfigurationoptionalIResolvableRequestConfigurationoptionalinterface{} #
The configuration of the request sent to the HTTP endpoint specified as the destination.
retryOptionsoptionalIResolvable | CfnDeliveryStream.RetryOptionsPropertyretry_optionsoptionaltyping.Union[IResolvable, RetryOptionsProperty]retryOptionsoptionalIResolvableRetryOptionsoptionalIResolvableRetryOptionsoptionalinterface{} #
Describes the retry behavior in case Kinesis Data Firehose is unable to deliver data to the specified HTTP endpoint destination, or if it doesn't receive a valid acknowledgment of receipt from the specified HTTP endpoint destination.
roleArnoptionalstringrole_arnoptionalstrroleArnoptionalStringRoleArnoptionalstringRoleArnoptional*string #
Kinesis Data Firehose uses this IAM role for all the permissions that the delivery stream needs.
s3BackupModeoptionalstrings3_backup_modeoptionalstrs3BackupModeoptionalStringS3BackupModeoptionalstringS3BackupModeoptional*string #
Describes the S3 bucket backup options for the data that Kinesis Data Firehose delivers to the HTTP endpoint destination.

You can back up all documents (AllData) or only the documents that Kinesis Data Firehose could not deliver to the specified HTTP endpoint destination (FailedDataOnly).

s3ConfigurationIResolvable | CfnDeliveryStream.S3DestinationConfigurationPropertys3_configurationtyping.Union[IResolvable, S3DestinationConfigurationProperty]s3ConfigurationIResolvableS3ConfigurationIResolvableS3Configurationinterface{} required #
Describes the configuration of a destination in Amazon S3.
secretsManagerConfigurationoptionalIResolvable | CfnDeliveryStream.SecretsManagerConfigurationPropertysecrets_manager_configurationoptionaltyping.Union[IResolvable, SecretsManagerConfigurationProperty]secretsManagerConfigurationoptionalIResolvableSecretsManagerConfigurationoptionalIResolvableSecretsManagerConfigurationoptionalinterface{} #
The configuration that defines how you access secrets for HTTP Endpoint destination.