Created
January 22, 2024 03:24
-
-
Save mrpackethead/2ff650d9c3c86b2b9a7a47a9e50b17c3 to your computer and use it in GitHub Desktop.
Revisions
-
mrpackethead created this gist
Jan 22, 2024 .There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,32 @@ import { App, Stack, StackProps, } from 'aws-cdk-lib'; import { Construct } from 'constructs'; import { StaticSite } from './staticSite'; export class MyStack extends Stack { constructor(scope: Construct, id: string, props: StackProps = {}) { super(scope, id, props); new StaticSite(this, 'orcawebsite', { domainName: 'afrazer-orca.depcon.cloud', sitePath: './site-contents' }) } } // Use the account number of your sandbox const sandbox = { account: '366197773329', region: 'us-east-1' }; const app = new App(); new MyStack(app, 'orca-website', { env: sandbox }); app.synth();