-
Notifications
You must be signed in to change notification settings - Fork 77
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
10dbda5
commit 4c0275a
Showing
28 changed files
with
453 additions
and
987 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,10 @@ | ||
{ | ||
"name": "cdk-solution-helper", | ||
"description": "CDK Generated template post processor", | ||
"license": "Apache-2.0", | ||
"version": "0.1.0", | ||
"dependencies": { | ||
"fs": "0.0.1-security" | ||
"author": { | ||
"name": "Amazon Web Services", | ||
"url": "https://aws.amazon.com/solutions" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,21 @@ | ||
#!/usr/bin/env node | ||
import 'source-map-support/register'; | ||
import * as cdk from '@aws-cdk/core'; | ||
import * as cdk from 'aws-cdk-lib'; | ||
import { DefaultStackSynthesizer } from 'aws-cdk-lib'; | ||
import { AwsSolutionsChecks } from 'cdk-nag'; | ||
import { VodFoundation } from '../lib/vod-foundation-stack'; | ||
|
||
function createVodFoundationApp(app: cdk.App) { | ||
return new VodFoundation(app, 'VodFoundation', { | ||
synthesizer: new DefaultStackSynthesizer({ | ||
generateBootstrapVersionRule: false | ||
}) | ||
}); | ||
} | ||
|
||
const app = new cdk.App(); | ||
new VodFoundation(app, 'VodFoundation'); // NOSONAR | ||
|
||
createVodFoundationApp(app); | ||
|
||
//cdk nag | ||
cdk.Aspects.of(app).add(new AwsSolutionsChecks({ verbose: true })); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.