StreamConsumerAttributes Struct
A reference to a StreamConsumer, which can be imported using StreamConsumer.fromStreamConsumerAttributes.
| Source | aws-kinesis/lib/stream-consumer.ts |
|---|---|
| Type last changed |
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_kinesis as kinesis } from 'aws-cdk-lib';
const streamConsumerAttributes: kinesis.StreamConsumerAttributes = {
streamConsumerArn: 'streamConsumerArn',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_kinesis as kinesis
stream_consumer_attributes = kinesis.StreamConsumerAttributes(
stream_consumer_arn="streamConsumerArn"
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.kinesis.*;
StreamConsumerAttributes streamConsumerAttributes = StreamConsumerAttributes.builder()
.streamConsumerArn("streamConsumerArn")
.build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Kinesis;
var streamConsumerAttributes = new StreamConsumerAttributes {
StreamConsumerArn = "streamConsumerArn"
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
streamConsumerAttributes := &StreamConsumerAttributes{
StreamConsumerArn: jsii.String("streamConsumerArn"),
}
Properties
streamConsumerArnstringstream_consumer_arnstrstreamConsumerArnStringStreamConsumerArnstringStreamConsumerArn*string required #The Amazon Resource Name (ARN) of the stream consumer.