Skip to content

feat(iot): add Action to put records to a Firehose stream#17466

Merged
mergify[bot] merged 5 commits intoaws:masterfrom
yamatatsu:aws-iot-actions-firehose
Nov 12, 2021
Merged

feat(iot): add Action to put records to a Firehose stream#17466
mergify[bot] merged 5 commits intoaws:masterfrom
yamatatsu:aws-iot-actions-firehose

Conversation

@yamatatsu
Copy link
Copy Markdown
Contributor

I'm trying to implement aws-iot L2 Constructs.

This PR is one of steps after following PR:


By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license

@gitpod-io
Copy link
Copy Markdown

gitpod-io bot commented Nov 11, 2021

@github-actions github-actions bot added the @aws-cdk/aws-iot Related to AWS IoT label Nov 11, 2021
Copy link
Copy Markdown
Contributor

@skinny85 skinny85 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great @yamatatsu! A few tiny nitpicky comments, mainly around docs.

"jest": "^27.3.1"
},
"dependencies": {
"@aws-cdk/aws-kinesisfirehose": "0.0.0",
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we keep these in alphabetical order please?

},
"homepage": "https://github.com/aws/aws-cdk",
"peerDependencies": {
"@aws-cdk/aws-kinesisfirehose": "0.0.0",
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same here (alphabetical order).

Co-authored-by: Adam Ruka <adamruka85@gmail.com>
@mergify mergify bot dismissed skinny85’s stale review November 11, 2021 23:34

Pull request has been modified.

@yamatatsu yamatatsu requested a review from skinny85 November 12, 2021 13:27
@yamatatsu
Copy link
Copy Markdown
Contributor Author

addressed! 😃

@skinny85 skinny85 changed the title feat(iot): add Action to put records to firehose stream feat(iot): add Action to put records to a Firehose stream Nov 12, 2021
Copy link
Copy Markdown
Contributor

@skinny85 skinny85 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I missed one comment @yamatatsu, apologies!

/**
* Configuration properties of an action for the Kinesis Data Firehose stream.
*/
export interface FirehoseStreamProps extends CommonActionProps {
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Missed this:

Suggested change
export interface FirehoseStreamProps extends CommonActionProps {
export interface FirehoseStreamActionProps extends CommonActionProps {

Comment on lines +139 to +141
const bucket = new s3.Bucket(this, 'MyBucket', {
removalPolicy: cdk.RemovalPolicy.DESTROY,
});
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's kill the removalPolicy in the example, it doesn't add much:

Suggested change
const bucket = new s3.Bucket(this, 'MyBucket', {
removalPolicy: cdk.RemovalPolicy.DESTROY,
});
const bucket = new s3.Bucket(this, 'MyBucket');

@mergify
Copy link
Copy Markdown
Contributor

mergify bot commented Nov 12, 2021

Thank you for contributing! Your pull request will be updated from master and then merged automatically (do not update manually, and be sure to allow changes to be pushed to your fork).

@aws-cdk-automation
Copy link
Copy Markdown
Collaborator

AWS CodeBuild CI Report

  • CodeBuild project: AutoBuildProject89A8053A-LhjRyN9kxr8o
  • Commit ID: 645766d
  • Result: SUCCEEDED
  • Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

@mergify mergify bot merged commit 7cb5f2c into aws:master Nov 12, 2021
@mergify
Copy link
Copy Markdown
Contributor

mergify bot commented Nov 12, 2021

Thank you for contributing! Your pull request will be updated from master and then merged automatically (do not update manually, and be sure to allow changes to be pushed to your fork).

@skinny85
Copy link
Copy Markdown
Contributor

Hey @yamatatsu, I accidentally approved the PR, when I wanted to "Request changes" 😜. Because of that, I submitted a PR with the fixes I asked for: #17495.

@yamatatsu yamatatsu deleted the aws-iot-actions-firehose branch November 13, 2021 13:55
mergify bot pushed a commit that referenced this pull request Nov 15, 2021
…17495)

An action item from #17466 (review).

----

*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
mpvosseller pushed a commit to mpvosseller/aws-cdk that referenced this pull request Nov 16, 2021
…ws#17495)

An action item from aws#17466 (review).

----

*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
TikiTDO pushed a commit to TikiTDO/aws-cdk that referenced this pull request Feb 21, 2022
I'm trying to implement aws-iot L2 Constructs.

This PR is one of steps after following PR: 
- aws#16681 (comment)

----

*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
TikiTDO pushed a commit to TikiTDO/aws-cdk that referenced this pull request Feb 21, 2022
…ws#17495)

An action item from aws#17466 (review).

----

*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

@aws-cdk/aws-iot Related to AWS IoT

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants