1. Packages
  2. AWS
  3. API Docs
  4. kinesis
  5. getFirehoseDeliveryStream
AWS v6.60.0 published on Tuesday, Nov 19, 2024 by Pulumi

aws.kinesis.getFirehoseDeliveryStream

Explore with Pulumi AI

aws logo
AWS v6.60.0 published on Tuesday, Nov 19, 2024 by Pulumi

    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:

    Arn string
    ARN of the Kinesis Stream (same as id).
    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    Arn string
    ARN of the Kinesis Stream (same as id).
    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    arn String
    ARN of the Kinesis Stream (same as id).
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    arn string
    ARN of the Kinesis Stream (same as id).
    id string
    The provider-assigned unique ID for this managed resource.
    name string
    arn str
    ARN of the Kinesis Stream (same as id).
    id str
    The provider-assigned unique ID for this managed resource.
    name str
    arn String
    ARN of the Kinesis Stream (same as id).
    id String
    The provider-assigned unique ID for this managed resource.
    name String

    Package Details

    Repository
    AWS Classic pulumi/pulumi-aws
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the aws Terraform Provider.
    aws logo
    AWS v6.60.0 published on Tuesday, Nov 19, 2024 by Pulumi