Skip to content

Commit

Permalink
Merge pull request #1287 from aligent/feature/add-distribution-comment
Browse files Browse the repository at this point in the history
Add distribution comment prop
  • Loading branch information
gowrizrh authored Jan 25, 2024
2 parents 0df7825 + f9b4b59 commit 8f1789b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/static-hosting/lib/static-hosting.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ export interface StaticHostingProps {
remapBackendPaths?: remapPath[];
defaultRootObject?: string;
enforceSSL?: boolean;
comment?: string;

/**
* Disable the use of the CSP header. Default value is false.
Expand Down Expand Up @@ -376,6 +377,7 @@ export class StaticHosting extends Construct {
const distributionProps: DistributionProps = {
domainNames: domainNames,
webAclId: props.webAclArn,
comment: props.comment,
defaultRootObject: defaultRootObject,
httpVersion: HttpVersion.HTTP3,
sslSupportMethod: SSLMethod.SNI,
Expand Down

0 comments on commit 8f1789b

Please sign in to comment.