interface KinesisStreamProps
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.Events.Targets.KinesisStreamProps |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awseventstargets#KinesisStreamProps |
Java | software.amazon.awscdk.services.events.targets.KinesisStreamProps |
Python | aws_cdk.aws_events_targets.KinesisStreamProps |
TypeScript (source) | aws-cdk-lib » aws_events_targets » KinesisStreamProps |
Customize the Kinesis Stream Event Target.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_events as events } from 'aws-cdk-lib';
import { aws_events_targets as events_targets } from 'aws-cdk-lib';
declare const ruleTargetInput: events.RuleTargetInput;
const kinesisStreamProps: events_targets.KinesisStreamProps = {
message: ruleTargetInput,
partitionKeyPath: 'partitionKeyPath',
};
Properties
Name | Type | Description |
---|---|---|
message? | Rule | The message to send to the stream. |
partition | string | Partition Key Path for records sent to this stream. |
message?
Type:
Rule
(optional, default: the entire CloudWatch event)
The message to send to the stream.
Must be a valid JSON text passed to the target stream.
partitionKeyPath?
Type:
string
(optional, default: eventId as the partition key)
Partition Key Path for records sent to this stream.