-
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(aws-fargate-dynamodb): create new construct #633
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 |
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.
This PR is to create a new construct - creating the README is just the first step. Let's title is Create New Construct rather than create README.
|
||
| **Name** | **Type** | **Description** | | ||
|:-------------|:----------------|-----------------| | ||
| publicApi | `boolean` | Whether the construct is deploying a private or public API. This has implications for the VPC and ALB. | |
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.
Let's just list the VPC here and omit the ALB, since there is no ALB aspect to this construct (I realize the SNS, SQS and S3 constructs list the ALB, this is a change we should probably make throughout).
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/core/lib/dynamodb-table-helper.ts
Outdated
Show resolved
Hide resolved
source/patterns/@aws-solutions-constructs/core/lib/dynamodb-table-helper.ts
Outdated
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 |
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-apigateway-dynamodb/lib/index.ts
Show resolved
Hide resolved
source/patterns/@aws-solutions-constructs/aws-fargate-dynamodb/README.md
Outdated
Show resolved
Hide resolved
source/patterns/@aws-solutions-constructs/aws-fargate-dynamodb/lib/index.ts
Show resolved
Hide resolved
source/patterns/@aws-solutions-constructs/aws-fargate-dynamodb/lib/index.ts
Outdated
Show resolved
Hide resolved
source/patterns/@aws-solutions-constructs/aws-fargate-dynamodb/test/fargate-dynamodb.test.ts
Outdated
Show resolved
Hide resolved
source/patterns/@aws-solutions-constructs/aws-fargate-dynamodb/test/fargate-dynamodb.test.ts
Outdated
Show resolved
Hide resolved
source/patterns/@aws-solutions-constructs/aws-fargate-dynamodb/test/fargate-dynamodb.test.ts
Show resolved
Hide resolved
source/patterns/@aws-solutions-constructs/core/lib/dynamodb-table-helper.ts
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 |
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-apigateway-dynamodb/lib/index.ts
Outdated
Show resolved
Hide resolved
source/patterns/@aws-solutions-constructs/aws-fargate-dynamodb/lib/index.ts
Show resolved
Hide resolved
source/patterns/@aws-solutions-constructs/core/lib/dynamodb-table-helper.ts
Outdated
Show resolved
Hide resolved
source/patterns/@aws-solutions-constructs/aws-fargate-dynamodb/lib/index.ts
Show resolved
Hide resolved
source/patterns/@aws-solutions-constructs/aws-apigateway-dynamodb/lib/index.ts
Outdated
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 |
source/patterns/@aws-solutions-constructs/core/lib/input-validation.ts
Outdated
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 |
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/core/lib/dynamodb-table-helper.ts
Outdated
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 |
@@ -71,6 +71,30 @@ export function buildDynamoDBTable(scope: Construct, props: BuildDynamoDBTablePr | |||
} | |||
} | |||
|
|||
export function checkTableProps(props: BuildDynamoDBTableProps) { |
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.
I missed part of this earlier - this ensures there isn't more than one, but it doesn't ensure there is at least one.
* feat(aws-fargate-dynamodb): create new construct (#633) * created README for aws-fargate-dynamodb * created aws-fargate-dynamodb construct * revised buildDynamoDBTable helper function to support old/new constructs * updated prop variable name * added error and endpoint checking tests * checked for table permissions * checked props in input-validation * moved table interface and object check to buildDynamoDBTable function * created prop check function in dynamo helper file * chore(release): 1.150.0 * chore(changelog): Updated CHANGELOG.md * CDK version driven changes * Align CDK version * Sync CDk Versions * Sync CDK versions Co-authored-by: biffgaut <[email protected]> Co-authored-by: mickychetta <[email protected]>
* feat(aws-fargate-dynamodb): create new construct (#633) * created README for aws-fargate-dynamodb * created aws-fargate-dynamodb construct * revised buildDynamoDBTable helper function to support old/new constructs * updated prop variable name * added error and endpoint checking tests * checked for table permissions * checked props in input-validation * moved table interface and object check to buildDynamoDBTable function * created prop check function in dynamo helper file * chore(release): 1.150.0 * chore(changelog): Updated CHANGELOG.md * CDK version driven changes * Align CDK version * Sync CDk Versions * Sync CDK versions Co-authored-by: biffgaut <[email protected]> Co-authored-by: mickychetta <[email protected]> Co-authored-by: biffgaut <[email protected]> Co-authored-by: mickychetta <[email protected]>
* feat(aws-fargate-dynamodb): create new construct (#633) * created README for aws-fargate-dynamodb * created aws-fargate-dynamodb construct * revised buildDynamoDBTable helper function to support old/new constructs * updated prop variable name * added error and endpoint checking tests * checked for table permissions * checked props in input-validation * moved table interface and object check to buildDynamoDBTable function * created prop check function in dynamo helper file * chore(release): 1.150.0 * chore(changelog): Updated CHANGELOG.md * CDK version driven changes * Align CDK version * Sync CDk Versions * Sync CDK versions Co-authored-by: biffgaut <[email protected]> Co-authored-by: mickychetta <[email protected]> Co-authored-by: AWS Solutions Constructs Team <[email protected]> Co-authored-by: mickychetta <[email protected]>
Issue #632 , if available:
Description of changes:
-Created README
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.