aws-cdk-lib.aws_iot.CfnTopicRule.KinesisActionProperty

interface KinesisActionProperty

LanguageType name
.NETAmazon.CDK.AWS.IoT.CfnTopicRule.KinesisActionProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsiot#CfnTopicRule_KinesisActionProperty
Javasoftware.amazon.awscdk.services.iot.CfnTopicRule.KinesisActionProperty
Pythonaws_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

NameTypeDescription
roleArnstringThe ARN of the IAM role that grants access to the Amazon Kinesis stream.
streamNamestringThe name of the Amazon Kinesis stream.
partitionKey?stringThe 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.