共用方式為


KinesisResourceExtensions.AddKinesisStream Method

Definition

Adds an Amazon Kinesis stream.

public static Aspire.Hosting.ApplicationModel.IResourceBuilder<Aspire.Hosting.AWS.CDK.IConstructResource<Amazon.CDK.AWS.Kinesis.Stream>> AddKinesisStream (this Aspire.Hosting.ApplicationModel.IResourceBuilder<Aspire.Hosting.AWS.CDK.IStackResource> builder, string name, Amazon.CDK.AWS.Kinesis.IStreamProps? props = default);
static member AddKinesisStream : Aspire.Hosting.ApplicationModel.IResourceBuilder<Aspire.Hosting.AWS.CDK.IStackResource> * string * Amazon.CDK.AWS.Kinesis.IStreamProps -> Aspire.Hosting.ApplicationModel.IResourceBuilder<Aspire.Hosting.AWS.CDK.IConstructResource<Amazon.CDK.AWS.Kinesis.Stream>>
<Extension()>
Public Function AddKinesisStream (builder As IResourceBuilder(Of IStackResource), name As String, Optional props As IStreamProps = Nothing) As IResourceBuilder(Of IConstructResource(Of Stream))

Parameters

builder
IResourceBuilder<IStackResource>

The builder for the AWS CDK stack.

name
String

The name of the resource.

props
Amazon.CDK.AWS.Kinesis.IStreamProps

The properties of the stream.

Returns

IResourceBuilder<IConstructResource<Amazon.CDK.AWS.Kinesis.Stream>>

Applies to