Skip to content

Commit 0704d1d

Browse files
suhussaigithub-actions
andauthored
feat: Aws marketplace integration (#43)
* add marketplace quickstart as cdk and web resources * upgrade to cdk 2.140.0 to support destinationKey in s3-deployment construct * upgrade cdk to 2.140.0 * fix typos and permission errors, and extract logic constructs * update html files and add python-versions of grant-revoke-access and register-new-subscriber lambda functions * add arg to core-app-plane job runner to allow custom tenant id key names * refactor marketplace constructs and add python lambda functions * remove unused lambda code * update API.md file * upgrade deps to 2.140 * clean up unnecessary code * update sample registration web page to accept dynamic set of registration fields and improve UI * remove edge lambda and adopt new way of routing to registration page * chore: self mutation Signed-off-by: github-actions <github-actions@github.com> * add jsdocs and update interface for sample reg web page * update cdk nag suppression reasons * update marketplace construct to make eventManager optional * update public/readme with blurb on marketplace integration * update API.md * add template tags for marketplace constructs * docs: Add AWS Marketplace integration documentation This commit adds a new documentation file 'marketplace-integration.md' that provides an overview of the AWS Marketplace integration with SBT. It covers topics such as how the integration works, the resources created, creating the Marketplace constructs, interaction with SBT, metering with AWS Marketplace, and customization options. Additionally, it updates the README.md file to include a link to the new documentation file. --------- Signed-off-by: github-actions <github-actions@github.com> Co-authored-by: github-actions <github-actions@github.com>
1 parent 7064384 commit 0704d1d

File tree

26 files changed

+2487
-407
lines changed

26 files changed

+2487
-407
lines changed

.projen/deps.json

Lines changed: 6 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.projenrc.ts

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,10 @@ const PUBLICATION_NAMESPACE: string = 'cdklabs';
1717
const PS_PUBLICATION_NAMESPACE: string = 'aws';
1818
const PROJECT_NAME: string = 'sbt-aws';
1919
const PROJEN_VERSION: string = '0.80.18';
20-
const CDK_VERSION: string = '2.123.0';
20+
const CDK_VERSION: string = '2.140.0';
2121
const JSII_VERSION: string = '~5.2.0';
2222
const CONSTRUCTS_VERSION: string = '10.0.5';
23+
const POINT_SOLUTIONS_CDK_VERSION: string = '2.123.0';
2324
const POINT_SOLUTIONS_LIB_PROJECT_NAME: string = 'sbt-point-solutions-lib';
2425

2526
const project = new awscdk.AwsCdkConstructLibrary({
@@ -34,8 +35,8 @@ const project = new awscdk.AwsCdkConstructLibrary({
3435
deps: [
3536
'@aws-cdk/aws-lambda-python-alpha',
3637
'cdk-nag',
37-
'@aws-cdk/aws-kinesisfirehose-alpha',
38-
'@aws-cdk/aws-kinesisfirehose-destinations-alpha',
38+
`@aws-cdk/aws-kinesisfirehose-alpha@${CDK_VERSION}-alpha.0`,
39+
`@aws-cdk/aws-kinesisfirehose-destinations-alpha@${CDK_VERSION}-alpha.0`,
3940
],
4041
description:
4142
'SaaS Builder Toolkit for AWS is a developer toolkit to implement SaaS best practices and increase developer velocity.',
@@ -54,7 +55,7 @@ const project = new awscdk.AwsCdkConstructLibrary({
5455
name: `@${PUBLICATION_NAMESPACE}/${PROJECT_NAME}`,
5556
npmignoreEnabled: true,
5657
packageManager: javascript.NodePackageManager.NPM,
57-
peerDeps: ['@aws-cdk/aws-kinesisfirehose-alpha'],
58+
peerDeps: [`@aws-cdk/aws-kinesisfirehose-alpha@${CDK_VERSION}-alpha.0`],
5859
prettier: true,
5960
projenrcTs: true,
6061
projenVersion: PROJEN_VERSION,
@@ -96,7 +97,7 @@ const jsiiLibraryProjectOptions: cdk.JsiiProjectOptions = {
9697
'jsonwebtoken',
9798
'jwks-rsa',
9899
'uuid',
99-
`aws-cdk-lib@${CDK_VERSION}`,
100+
`aws-cdk-lib@${POINT_SOLUTIONS_CDK_VERSION}`,
100101
'@types/uuid',
101102
'@aws-sdk/types',
102103
],
@@ -113,7 +114,7 @@ const jsiiLibraryProjectOptions: cdk.JsiiProjectOptions = {
113114
name: `@${PS_PUBLICATION_NAMESPACE}/${POINT_SOLUTIONS_LIB_PROJECT_NAME}`,
114115
npmignoreEnabled: true,
115116
packageManager: javascript.NodePackageManager.NPM,
116-
peerDeps: [`constructs@${CONSTRUCTS_VERSION}`, `aws-cdk-lib@${CDK_VERSION}`],
117+
peerDeps: [`constructs@${CONSTRUCTS_VERSION}`, `aws-cdk-lib@${POINT_SOLUTIONS_CDK_VERSION}`],
117118
prettier: true,
118119
projenrcTs: true,
119120
projenVersion: PROJEN_VERSION,

0 commit comments

Comments
 (0)