aws-eventbridge-kinesisstreams
| Reference Documentation: | https://docs.aws.amazon.com/solutions/latest/constructs/ |
| Language | Package |
|---|---|
|
|
|
|
|
|
|
|
|
Overview
This AWS Solutions Construct implements an Amazon EventBridge rule to send data to an Amazon Kinesis Data Stream
Here is a minimal deployable pattern definition:
Example
Pattern Construct Props
| Name | Type | Description |
|---|---|---|
|
existingEventBusInterface? |
Optional - user provided custom EventBus for this construct to use. Providing both this and |
|
|
eventBusProps? |
Optional - user provided properties to override the default properties when creating a custom EventBus. Setting
this value to |
|
|
eventRuleProps |
User provided eventRuleProps to override the defaults. |
|
|
existingStreamObj? |
Existing instance of Kinesis Stream, providing both this and
|
|
|
kinesisStreamProps? |
Optional user-provided props to override the default props for the Kinesis stream. |
|
|
createCloudWatchAlarms |
|
Whether to create recommended CloudWatch alarms. |
Pattern Properties
| Name | Type | Description |
|---|---|---|
|
eventBus? |
Returns the instance of events.IEventBus used by the construct |
|
|
eventsRule |
Returns an instance of events.Rule created by the construct. |
|
|
kinesisStream |
Returns an instance of the Kinesis stream created by the pattern. |
|
|
eventsRole? |
Returns an instance of the iam.Role created by the construct for events rule. |
|
|
cloudwatchAlarms? |
Returns an instance of the cloudwatch.Alarm[] created by the construct. |
Default settings
Out of the box implementation of the Construct without any override will set the following defaults:
Amazon EventBridge Rule
-
Configure least privilege access IAM role for EventBridge Rule to publish to the Kinesis Data Stream.
Amazon Kinesis Stream
-
Enable server-side encryption for Kinesis Data Stream using AWS Managed KMS Key.
Architecture
Github
Go to the Github repo