HttpEndpoint

class aws_cdk.aws_kinesisfirehose.HttpEndpoint(*, endpoint_config, attributes=None, backup_mode=None, buffering_hints=None, request_compression=None, retry_options=None, logging_config=None, processor=None, processors=None, role=None, s3_backup=None)

Bases: object

An Http destination for data from a Kinesis Data Firehose delivery stream.

ExampleMetadata:

infused

Example:

# endpoint_config: firehose.HttpEndpointConfig

http_destination = firehose.HttpEndpoint(
    endpoint_config=endpoint_config
)
Parameters:
  • endpoint_config (Union[HttpEndpointConfig, Dict[str, Any]]) – Describes the configuration of the Http endpoint to which Kinesis Firehose delivers data.

  • attributes (Optional[Sequence[Union[HttpAttribute, Dict[str, Any]]]]) – Describes the metadata sent to the Http endpoint destination. Default: - None

  • backup_mode (Optional[HttpBackupMode]) – Describes the S3 bucket backup options for the data that Kinesis Data Firehose delivers to the Http endpoint destination. Default: - Failed data only

  • buffering_hints (Union[HttpBufferingHints, Dict[str, Any], None]) – The buffering options that can be used before data is delivered to the specified destination. Default: - None

  • request_compression (Optional[HttpCompression]) – Compress the body of a request before sending the request to the destination. Default: - None

  • retry_options (Union[HttpRetryOptions, Dict[str, Any], None]) – The total amount of time that Kinesis Data Firehose spends on retries. Default: - None

  • logging_config (Optional[ILoggingConfig]) – Configuration that determines whether to log errors during data transformation or delivery failures, and specifies the CloudWatch log group for storing error logs. Default: - errors will be logged and a log group will be created for you.

  • processor (Optional[IDataProcessor]) – (deprecated) The data transformation that should be performed on the data before writing to the destination. Default: - no data transformation will occur.

  • processors (Optional[Sequence[IDataProcessor]]) – The data transformation that should be performed on the data before writing to the destination. Default: - no data transformation will occur.

  • role (Optional[IRole]) – The IAM role associated with this destination. Assumed by Amazon Data Firehose to invoke processors and write to destinations Default: - a role will be created with default permissions.

  • s3_backup (Union[DestinationS3BackupProps, Dict[str, Any], None]) – The configuration for backing up source records to S3. Default: - source records will not be backed up to S3.

Methods

bind(scope)

Binds this destination to the Amazon Data Firehose delivery stream.

Implementers should use this method to bind resources to the stack and initialize values using the provided stream.

Parameters:

scope (Construct)

Return type:

DestinationConfig