interface KinesisActionProperty
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.IoT.CfnTopicRule.KinesisActionProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsiot#CfnTopicRule_KinesisActionProperty |
Java | software.amazon.awscdk.services.iot.CfnTopicRule.KinesisActionProperty |
Python | aws_cdk.aws_iot.CfnTopicRule.KinesisActionProperty |
TypeScript | aws-cdk-lib » aws_iot » CfnTopicRule » KinesisActionProperty |
Describes an action to write data to an Amazon Kinesis stream.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_iot as iot } from 'aws-cdk-lib';
const kinesisActionProperty: iot.CfnTopicRule.KinesisActionProperty = {
roleArn: 'roleArn',
streamName: 'streamName',
// the properties below are optional
partitionKey: 'partitionKey',
};
Properties
Name | Type | Description |
---|---|---|
role | string | The ARN of the IAM role that grants access to the Amazon Kinesis stream. |
stream | string | The name of the Amazon Kinesis stream. |
partition | string | The partition key. |
roleArn
Type:
string
The ARN of the IAM role that grants access to the Amazon Kinesis stream.
streamName
Type:
string
The name of the Amazon Kinesis stream.
partitionKey?
Type:
string
(optional)
The partition key.