-
Notifications
You must be signed in to change notification settings - Fork 249
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
feat(new construct): aws-fargate-kinesisfirehose #881
Conversation
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
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.
looks good to me
|
||
// The construct requires an existing Firehose Delivery Stream, this can be created in raw CDK or extracted | ||
// from a previously instantiated construct that created an Firehose Delivery Stream | ||
const existingFirehoseDeliveryStream = previoslyCreatedKinesisFirehoseToS3Construct.kinesisFirehose; |
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.
Nit typo - previosly -> previously
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.
Same nit in the other code samples
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
source/patterns/@aws-solutions-constructs/aws-fargate-kinesisfirehose/lib/index.ts
Outdated
Show resolved
Hide resolved
source/patterns/@aws-solutions-constructs/aws-fargate-kinesisfirehose/lib/index.ts
Outdated
Show resolved
Hide resolved
source/patterns/@aws-solutions-constructs/aws-fargate-kinesisfirehose/lib/index.ts
Outdated
Show resolved
Hide resolved
source/patterns/@aws-solutions-constructs/aws-fargate-kinesisfirehose/lib/index.ts
Show resolved
Hide resolved
source/patterns/@aws-solutions-constructs/aws-fargate-kinesisfirehose/lib/index.ts
Outdated
Show resolved
Hide resolved
...ws-solutions-constructs/aws-fargate-kinesisfirehose/test/aws-fargate-kinesisfirehose.test.ts
Outdated
Show resolved
Hide resolved
...ws-solutions-constructs/aws-fargate-kinesisfirehose/test/aws-fargate-kinesisfirehose.test.ts
Outdated
Show resolved
Hide resolved
...ws-solutions-constructs/aws-fargate-kinesisfirehose/test/aws-fargate-kinesisfirehose.test.ts
Outdated
Show resolved
Hide resolved
source/patterns/@aws-solutions-constructs/aws-fargate-kinesisfirehose/test/integ.noArguments.ts
Outdated
Show resolved
Hide resolved
source/patterns/@aws-solutions-constructs/aws-lambda-kinesisfirehose/README.md
Show resolved
Hide resolved
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
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.
There are two architecture diagrams, one in a root level BIN
folder and another in this constructs folder. Let's make sure to clean up that discrepancy.
|
||
# The construct requires an existing Firehose Delivery Stream, this can be created in raw CDK or extracted | ||
# from a previously instantiated construct that created an Firehose Delivery Stream | ||
const existingFirehoseDeliveryStream = previouslyCreatedKinesisFirehoseToS3Construct.kinesisFirehose; |
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.
remove the const
here
|
||
// The construct requires an existing Firehose Delivery Stream, this can be created in raw CDK or extracted | ||
// from a previously instantiated construct that created an Firehose Delivery Stream | ||
const existingFirehoseDeliveryStream = previouslyCreatedKinesisFirehoseToS3Construct.kinesisFirehose; |
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.
remove the const
here
*/ | ||
readonly existingFargateServiceObject?: ecs.FargateService; | ||
/** | ||
* An existing Kinesis Firehose Delivery Stream to which the Lambda function can put data. Note - the delivery stream |
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.
Nit - change Lambda function
to Fargate Service
* a container from a public repo, this must be true so the repo can be accessed from the | ||
* network. | ||
* | ||
* @default - none |
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.
Nit based on the last fargate-kinesisstreams PR - remove the @default - none
since this ins't an optional property.
@@ -0,0 +1,94 @@ | |||
{ | |||
"name": "@aws-solutions-constructs/aws-fargate-kinesisfirehose", | |||
"version": "2.29.0", |
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.
In this file, there are many explicit version numbers here and din the dependency sections below. Most of these should be set to 0.0.0, like here, correct?
@@ -48,7 +53,12 @@ from aws_cdk import ( | |||
) | |||
from constructs import Construct | |||
|
|||
# The construct requires an existing Firehose Delivery Stream, this can be created in raw CDK or extracted | |||
# from a previously instantiated construct that created an Firehose Delivery Stream | |||
const existingFirehoseDeliveryStream = previouslyCreatedKinesisFirehoseToS3Construct.kinesisFirehose; |
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.
Remove const
@@ -67,7 +77,12 @@ import software.amazon.awscdk.services.lambda.*; | |||
import software.amazon.awscdk.services.lambda.Runtime; | |||
import software.amazon.awsconstructs.services.lambdakinesisfirehose.*; | |||
|
|||
// The construct requires an existing Firehose Delivery Stream, this can be created in raw CDK or extracted | |||
// from a previously instantiated construct that created an Firehose Delivery Stream | |||
const existingFirehoseDeliveryStream = previouslyCreatedKinesisFirehoseToS3Construct.kinesisFirehose; |
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.
remove const
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
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.
looks good to me
Closes Issue #880
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.