Skip to content

Commit 88c9499

Browse files
committed
tidied up comments
1 parent e4fd983 commit 88c9499

File tree

2 files changed

+1
-7
lines changed

2 files changed

+1
-7
lines changed

typescript/static-site-basic/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "static-site-basic",
33
"version": "1.0.0",
4-
"description": "Infrastructure for an HTTPS static site using S3 and CloudFront",
4+
"description": "Infrastructure for hosting an HTTP website in S3",
55
"scripts": {
66
"build": "tsc",
77
"watch": "tsc -w",

typescript/static-site-basic/static-site-basic.ts

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,16 +11,11 @@ export interface StaticSiteBasicProps {
1111

1212
/**
1313
* Static site infrastructure, which deploys site content to an S3 bucket.
14-
*
15-
* The site redirects from HTTP to HTTPS, using a CloudFront distribution,
16-
* Route53 alias record, and ACM certificate.
1714
*/
1815
export class StaticSiteBasic extends Construct {
1916
constructor(parent: Stack, name: string, props: StaticSiteBasicProps) {
2017
super(parent, name);
2118

22-
// new CfnOutput(this, "Site", { value: "https://" + siteDomain });
23-
2419
// Content bucket
2520
const indexDocument = "index.html";
2621

@@ -58,7 +53,6 @@ export class StaticSiteBasic extends Construct {
5853

5954
// Deploy site contents to S3 bucket
6055
new s3deploy.BucketDeployment(this, "DeployWebsite", {
61-
//sources: [s3deploy.Source.asset(path.join(__dirname, './site-contents'))],
6256
sources: [s3deploy.Source.asset(path.join(__dirname, "./site-contents"))],
6357
destinationBucket: websiteBucket,
6458
destinationKeyPrefix: props.staticContentPrefix, // optional prefix in destination bucket

0 commit comments

Comments
 (0)