HttpEndpoint Class
An Http destination for data from a Kinesis Data Firehose delivery stream.
Example
ts
declare const endpointConfig: firehose.HttpEndpointConfig;
const httpDestination = new firehose.HttpEndpoint({
endpointConfig,
});
python
# endpoint_config: firehose.HttpEndpointConfig
http_destination = firehose.HttpEndpoint(
endpoint_config=endpoint_config
)
java
HttpEndpointConfig endpointConfig;
HttpEndpoint httpDestination = HttpEndpoint.Builder.create()
.endpointConfig(endpointConfig)
.build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
HttpEndpointConfig endpointConfig;
var httpDestination = new HttpEndpoint(new HttpEndpointProps {
EndpointConfig = endpointConfig
});
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
var endpointConfig HttpEndpointConfig
httpDestination := firehose.NewHttpEndpoint(&HttpEndpointProps{
EndpointConfig: EndpointConfig,
})
Initializer
ts
new HttpEndpoint(props: HttpEndpointProps)
python
HttpEndpoint(props: HttpEndpointProps)
java
new HttpEndpoint(HttpEndpointProps props)
csharp
new HttpEndpoint(HttpEndpointProps props)
go
NewHttpEndpoint(Props HttpEndpointProps)
Methods
bind(scope: Construct, _options: DestinationBindOptions): DestinationConfigdef bind(self, scope: Construct, _options: DestinationBindOptions) -> DestinationConfigpublic DestinationConfig bind(Construct scope, DestinationBindOptions _options)public DestinationConfig Bind(Construct scope, DestinationBindOptions _options)func Bind(Scope Construct, _options DestinationBindOptions) DestinationConfig#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.