You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| <code><ahref="#serverless-website-analytics.Domain.property.certificate">certificate</a></code> | <code>aws-cdk-lib.aws_certificatemanager.ICertificate</code> | The certificate to use for the domain. |
371
371
| <code><ahref="#serverless-website-analytics.Domain.property.name">name</a></code> | <code>string</code> | Name of the domain to use for the site, example: `serverless-website-analytics.com`. |
372
372
| <code><ahref="#serverless-website-analytics.Domain.property.hostedZone">hostedZone</a></code> | <code>aws-cdk-lib.aws_route53.IHostedZone</code> | Optional, if not specified then no DNS records will be created. |
373
+
| <code><ahref="#serverless-website-analytics.Domain.property.trackOwnDomain">trackOwnDomain</a></code> | <code>boolean</code> | Optional, if specified, it adds tracking to the dashboard. |
373
374
374
375
---
375
376
@@ -417,6 +418,21 @@ the domain, for example: `{auth.cognito.loginSubDomain}.{domain.name}`.
| <code><ahref="#serverless-website-analytics.SwaProps.property.sites">sites</a></code> | <code>string[]</code> | The list of allowed sites. |
629
645
| <code><ahref="#serverless-website-analytics.SwaProps.property.auth">auth</a></code> | <code><ahref="#serverless-website-analytics.SwaAuth">SwaAuth</a></code> | The auth configuration which defaults to none. |
630
646
| <code><ahref="#serverless-website-analytics.SwaProps.property.domain">domain</a></code> | <code><ahref="#serverless-website-analytics.Domain">Domain</a></code> | If specified, it will create the CloudFront and Cognito resources at the specified domain and optionally create the DNS records in the specified Route53 hosted zone. |
647
+
| <code><ahref="#serverless-website-analytics.SwaProps.property.isDemoPage">isDemoPage</a></code> | <code>boolean</code> | If specified, adds the banner at the top of the page linking back to the open source project. |
631
648
632
649
---
633
650
@@ -720,5 +737,17 @@ Cognito(`auth.us-east-1.amazoncognito.com`) domains. You can read the website UR
0 commit comments