Class GetStream
Inheritance
System.Object
GetStream
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.Aws.Kinesis
Assembly: Pulumi.Aws.dll
Syntax
public static class GetStream
Methods
View SourceInvokeAsync(GetStreamArgs, InvokeOptions)
Use this data source to get information about a Kinesis Stream for use in other resources.
For more details, see the Amazon Kinesis Documentation.
{{% examples %}}
Example Usage
{{% example %}}
using Pulumi;
using Aws = Pulumi.Aws;
class MyStack : Stack
{
public MyStack()
{
var stream = Output.Create(Aws.Kinesis.GetStream.InvokeAsync(new Aws.Kinesis.GetStreamArgs
{
Name = "stream-name",
}));
}
}
{{% /example %}} {{% /examples %}}
Declaration
public static Task<GetStreamResult> InvokeAsync(GetStreamArgs args, InvokeOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| GetStreamArgs | args | |
| InvokeOptions | options |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task<GetStreamResult> |