- 
                Notifications
    
You must be signed in to change notification settings  - Fork 4.3k
 
          feat(events-targets): support Amazon Data Firehose target using Firehose's IDeliveryStream
          #33798
        
          New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
          Codecov ReportAll modified and coverable lines are covered by tests ✅ 
 Additional details and impacted files@@           Coverage Diff           @@
##             main   #33798   +/-   ##
=======================================
  Coverage   82.39%   82.39%           
=======================================
  Files         120      120           
  Lines        6960     6960           
  Branches     1175     1175           
=======================================
  Hits         5735     5735           
  Misses       1120     1120           
  Partials      105      105           
 Flags with carried forward coverage won't be shown. Click here to find out more. 
 🚀 New features to boost your workflow:
  | 
    
…o `FirehosePutRecord` (#33758) ### Issue # (if applicable) Related to #33757 and #33798 ### Reason for this change Kinesis Data Firehose is now Amazon Data Firehose. Therefore the class `KinesisDataFirehosePutRecord` should not be called Kinesis. ### Description of changes - Renamed `KinesisDataFirehosePutRecord` to `FirehosePutRecord` - Updated related tests and documents. ### Describe any new or updated permissions being added Nothing changed. ### Description of how you validated changes Updated tests and integ tests. ### Checklist - [x] My code adheres to the [CONTRIBUTING GUIDE](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md) and [DESIGN GUIDELINES](https://github.com/aws/aws-cdk/blob/main/docs/DESIGN_GUIDELINES.md) BREAKING CHANGE: The class `KinesisDataFirehosePutRecord` has been renamed to `FirehosePutRecord`. ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
…o `FirehosePutRecord` (aws#33758) ### Issue # (if applicable) Related to aws#33757 and aws#33798 ### Reason for this change Kinesis Data Firehose is now Amazon Data Firehose. Therefore the class `KinesisDataFirehosePutRecord` should not be called Kinesis. ### Description of changes - Renamed `KinesisDataFirehosePutRecord` to `FirehosePutRecord` - Updated related tests and documents. ### Describe any new or updated permissions being added Nothing changed. ### Description of how you validated changes Updated tests and integ tests. ### Checklist - [x] My code adheres to the [CONTRIBUTING GUIDE](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md) and [DESIGN GUIDELINES](https://github.com/aws/aws-cdk/blob/main/docs/DESIGN_GUIDELINES.md) BREAKING CHANGE: The class `KinesisDataFirehosePutRecord` has been renamed to `FirehosePutRecord`. ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
…o `FirehosePutRecord` (aws#33758) ### Issue # (if applicable) Related to aws#33757 and aws#33798 ### Reason for this change Kinesis Data Firehose is now Amazon Data Firehose. Therefore the class `KinesisDataFirehosePutRecord` should not be called Kinesis. ### Description of changes - Renamed `KinesisDataFirehosePutRecord` to `FirehosePutRecord` - Updated related tests and documents. ### Describe any new or updated permissions being added Nothing changed. ### Description of how you validated changes Updated tests and integ tests. ### Checklist - [x] My code adheres to the [CONTRIBUTING GUIDE](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md) and [DESIGN GUIDELINES](https://github.com/aws/aws-cdk/blob/main/docs/DESIGN_GUIDELINES.md) BREAKING CHANGE: The class `KinesisDataFirehosePutRecord` has been renamed to `FirehosePutRecord`. ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
KinesisFirehoseStreamV2 to FirehoseDeliveryStreamIDeliveryStream
      
          AWS CodeBuild CI Report
 Powered by github-codebuild-logs, available on the AWS Serverless Application Repository  | 
    
| 
           @Mergifyio update  | 
    
          
 ❌ Mergify doesn't have permission to updateFor security reasons, Mergify can't update this pull request. Try updating locally.  | 
    
Pull request has been modified.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
1 snapshot needs to be updated due to upgrade to node22:
@aws-cdk-testing/framework-integ:   CHANGED    aws-events-targets/test/firehose/integ.firehose-delivery-stream 2.24s
@aws-cdk-testing/framework-integ:       Mappings
@aws-cdk-testing/framework-integ:       [-] Mapping LatestNodeRuntimeMap: {"af-south-1":{"value":"nodejs22.x"},"ap-east-1":{"value":"nodejs22.x"},"ap-east-2":{"value":"nodejs22.x"},"ap-northeast-1":{"value":"nodejs22.x"},"ap-northeast-2":{"value":"nodejs22.x"},"ap-northeast-3":{"value":"nodejs22.x"},"ap-south-1":{"value":"nodejs22.x"},"ap-south-2":{"value":"nodejs22.x"},"ap-southeast-1":{"value":"nodejs22.x"},"ap-southeast-2":{"value":"nodejs22.x"},"ap-southeast-3":{"value":"nodejs22.x"},"ap-southeast-4":{"value":"nodejs22.x"},"ap-southeast-5":{"value":"nodejs22.x"},"ap-southeast-6":{"value":"nodejs22.x"},"ap-southeast-7":{"value":"nodejs22.x"},"ca-central-1":{"value":"nodejs22.x"},"ca-west-1":{"value":"nodejs22.x"},"cn-north-1":{"value":"nodejs22.x"},"cn-northwest-1":{"value":"nodejs22.x"},"eu-central-1":{"value":"nodejs22.x"},"eu-central-2":{"value":"nodejs22.x"},"eu-isoe-west-1":{"value":"nodejs18.x"},"eu-north-1":{"value":"nodejs22.x"},"eu-south-1":{"value":"nodejs22.x"},"eu-south-2":{"value":"nodejs22.x"},"eu-west-1":{"value":"nodejs22.x"},"eu-west-2":{"value":"nodejs22.x"},"eu-west-3":{"value":"nodejs22.x"},"eusc-de-east-1":{"value":"nodejs22.x"},"il-central-1":{"value":"nodejs22.x"},"me-central-1":{"value":"nodejs22.x"},"me-south-1":{"value":"nodejs22.x"},"mx-central-1":{"value":"nodejs22.x"},"sa-east-1":{"value":"nodejs22.x"},"us-east-1":{"value":"nodejs22.x"},"us-east-2":{"value":"nodejs22.x"},"us-gov-east-1":{"value":"nodejs22.x"},"us-gov-west-1":{"value":"nodejs22.x"},"us-iso-east-1":{"value":"nodejs18.x"},"us-iso-west-1":{"value":"nodejs18.x"},"us-isob-east-1":{"value":"nodejs18.x"},"us-isob-west-1":{"value":"nodejs18.x"},"us-west-1":{"value":"nodejs22.x"},"us-west-2":{"value":"nodejs22.x"}}
Pull request has been modified.
| 
           @Abogical Updated the snapshot.  | 
    
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you!
| 
           Thank you for contributing! Your pull request will be updated from main and then merged automatically (do not update manually, and be sure to allow changes to be pushed to your fork).  | 
    
| 
           This pull request has been removed from the queue for the following reason:  The pull request can't be updated. You should update or rebase your pull request manually. If you do, this pull request will automatically be requeued once the queue conditions match again.  | 
    
| 
           @Mergifyio update  | 
    
          
 ❌ Mergify doesn't have permission to updateFor security reasons, Mergify can't update this pull request. Try updating locally.  | 
    
Pull request has been modified.
| 
           Thank you for contributing! Your pull request will be updated from main and then merged automatically (do not update manually, and be sure to allow changes to be pushed to your fork).  | 
    
| 
           @Mergifyio requeue  | 
    
          
 ✅ The queue state of this pull request has been cleaned. It can be re-embarked automatically | 
    
| 
           Thank you for contributing! Your pull request will be updated from main and then merged automatically (do not update manually, and be sure to allow changes to be pushed to your fork).  | 
    
| 
           Comments on closed issues and PRs are hard for our team to see.  | 
    
Issue # (if applicable)
Related to #33757 and #33758
Reason for this change
The module has the
KinesisFirehoseStreamV2target class for Firehose delivery stream.But it has following issues:
IDeliveryStreamwhich is a subset ofaws_kinesisfirehose.IDeliveryStreamwithout inheritance. This may cause jsii type compatibility problem.Description of changes
FirehoseDeliveryStreamtarget class derived fromKinesisFirehoseStreamV2but receivesaws_kinesisfirehose.IDeliveryStreaminstead.KinesisFirehoseStreamV2and internalIDeliveryStream.FirehoseDeliveryStreamFirehoseDeliveryStreamand assertions.Describe any new or updated permissions being added
N/A -
FirehoseDeliveryStreamadds same permissions asKinesisFirehoseStreamV2Description of how you validated changes
Unit tests and integ test.
Checklist
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license