interface KinesisStreamsInputProperty
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.KinesisAnalytics.CfnApplication.KinesisStreamsInputProperty |
Java | software.amazon.awscdk.services.kinesisanalytics.CfnApplication.KinesisStreamsInputProperty |
Python | aws_cdk.aws_kinesisanalytics.CfnApplication.KinesisStreamsInputProperty |
TypeScript | @aws-cdk/aws-kinesisanalytics » CfnApplication » KinesisStreamsInputProperty |
Identifies an Amazon Kinesis stream as the streaming source.
You provide the stream's Amazon Resource Name (ARN) and an IAM role ARN that enables Amazon Kinesis Analytics to access the stream on your behalf.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as kinesisanalytics from '@aws-cdk/aws-kinesisanalytics';
const kinesisStreamsInputProperty: kinesisanalytics.CfnApplication.KinesisStreamsInputProperty = {
resourceArn: 'resourceArn',
roleArn: 'roleArn',
};
Properties
Name | Type | Description |
---|---|---|
resource | string | ARN of the input Amazon Kinesis stream to read. |
role | string | ARN of the IAM role that Amazon Kinesis Analytics can assume to access the stream on your behalf. |
resourceArn
Type:
string
ARN of the input Amazon Kinesis stream to read.
roleArn
Type:
string
ARN of the IAM role that Amazon Kinesis Analytics can assume to access the stream on your behalf.
You need to grant the necessary permissions to this role.