AWS v6.54.0 published on Friday, Sep 27, 2024 by Pulumi
aws.kinesis.getFirehoseDeliveryStream
Explore with Pulumi AI
Use this data source to get information about a Kinesis Firehose Delivery Stream for use in other resources.
For more details, see the Amazon Kinesis Firehose Documentation.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const stream = aws.kinesis.getFirehoseDeliveryStream({
name: "stream-name",
});
import pulumi
import pulumi_aws as aws
stream = aws.kinesis.get_firehose_delivery_stream(name="stream-name")
package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/kinesis"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := kinesis.LookupFirehoseDeliveryStream(ctx, &kinesis.LookupFirehoseDeliveryStreamArgs{
Name: "stream-name",
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;
return await Deployment.RunAsync(() =>
{
var stream = Aws.Kinesis.GetFirehoseDeliveryStream.Invoke(new()
{
Name = "stream-name",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.kinesis.KinesisFunctions;
import com.pulumi.aws.kinesis.inputs.GetFirehoseDeliveryStreamArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var stream = KinesisFunctions.getFirehoseDeliveryStream(GetFirehoseDeliveryStreamArgs.builder()
.name("stream-name")
.build());
}
}
variables:
stream:
fn::invoke:
Function: aws:kinesis:getFirehoseDeliveryStream
Arguments:
name: stream-name
Using getFirehoseDeliveryStream
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getFirehoseDeliveryStream(args: GetFirehoseDeliveryStreamArgs, opts?: InvokeOptions): Promise<GetFirehoseDeliveryStreamResult>
function getFirehoseDeliveryStreamOutput(args: GetFirehoseDeliveryStreamOutputArgs, opts?: InvokeOptions): Output<GetFirehoseDeliveryStreamResult>
def get_firehose_delivery_stream(name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetFirehoseDeliveryStreamResult
def get_firehose_delivery_stream_output(name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetFirehoseDeliveryStreamResult]
func LookupFirehoseDeliveryStream(ctx *Context, args *LookupFirehoseDeliveryStreamArgs, opts ...InvokeOption) (*LookupFirehoseDeliveryStreamResult, error)
func LookupFirehoseDeliveryStreamOutput(ctx *Context, args *LookupFirehoseDeliveryStreamOutputArgs, opts ...InvokeOption) LookupFirehoseDeliveryStreamResultOutput
> Note: This function is named LookupFirehoseDeliveryStream
in the Go SDK.
public static class GetFirehoseDeliveryStream
{
public static Task<GetFirehoseDeliveryStreamResult> InvokeAsync(GetFirehoseDeliveryStreamArgs args, InvokeOptions? opts = null)
public static Output<GetFirehoseDeliveryStreamResult> Invoke(GetFirehoseDeliveryStreamInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetFirehoseDeliveryStreamResult> getFirehoseDeliveryStream(GetFirehoseDeliveryStreamArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: aws:kinesis/getFirehoseDeliveryStream:getFirehoseDeliveryStream
arguments:
# arguments dictionary
The following arguments are supported:
- Name string
- Name of the Kinesis Stream.
- Name string
- Name of the Kinesis Stream.
- name String
- Name of the Kinesis Stream.
- name string
- Name of the Kinesis Stream.
- name str
- Name of the Kinesis Stream.
- name String
- Name of the Kinesis Stream.
getFirehoseDeliveryStream Result
The following output properties are available:
Package Details
- Repository
- AWS Classic pulumi/pulumi-aws
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
aws
Terraform Provider.