@Stability(value=Stable)
public static interface CfnApplication.KinesisStreamsInputProperty
extends software.amazon.jsii.JsiiSerializable
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 software.amazon.awscdk.services.kinesisanalytics.*;
KinesisStreamsInputProperty kinesisStreamsInputProperty = KinesisStreamsInputProperty.builder()
.resourceArn("resourceArn")
.roleArn("roleArn")
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnApplication.KinesisStreamsInputProperty.Builder
A builder for
CfnApplication.KinesisStreamsInputProperty |
static class |
CfnApplication.KinesisStreamsInputProperty.Jsii$Proxy
An implementation for
CfnApplication.KinesisStreamsInputProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnApplication.KinesisStreamsInputProperty.Builder |
builder() |
String |
getResourceArn()
ARN of the input Amazon Kinesis stream to read.
|
String |
getRoleArn()
ARN of the IAM role that Amazon Kinesis Analytics can assume to access the stream on your behalf.
|
@Stability(value=Stable) @NotNull String getResourceArn()
@Stability(value=Stable) @NotNull String getRoleArn()
You need to grant the necessary permissions to this role.
@Stability(value=Stable) static CfnApplication.KinesisStreamsInputProperty.Builder builder()
Copyright © 2022. All rights reserved.