@sylvesterllc/aws-constructs 1.1.62 → 1.1.64
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.github/workflows/publish.yml +9 -15
- package/__tests__/SpaCFRoute53.test.ts +80 -0
- package/bun.lock +1154 -0
- package/dist/constructs/SpaCFRoute53.d.ts +12 -0
- package/dist/constructs/SpaCFRoute53.js +103 -0
- package/dist/constructs/index.d.ts +1 -0
- package/dist/constructs/index.js +2 -1
- package/dist/helpers/ulid.d.ts +1 -0
- package/dist/helpers/ulid.js +17 -0
- package/dist/index.d.ts +2 -2
- package/dist/index.js +1 -1
- package/dist/interfaces/SpaProps.d.ts +7 -0
- package/dist/interfaces/SpaProps.js +3 -0
- package/dist/interfaces/lambda/index.d.ts +1 -1
- package/dist/interfaces/lambda/index.js +1 -1
- package/docs/SpaCFRoute53-usage.md +81 -0
- package/docs/spa-cf-construct-plan.md +111 -0
- package/package.json +7 -3
- package/readme.md +33 -0
- package/src/constructs/SpaCFRoute53.ts +147 -0
- package/src/constructs/index.ts +1 -0
- package/src/helpers/ulid.ts +13 -0
- package/src/index.ts +2 -2
- package/src/interfaces/SpaProps.ts +7 -0
- package/src/interfaces/lambda/index.ts +1 -1
package/src/index.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export { MicroService } from "./constructs/MicroService";
|
|
2
|
-
export { MicroserviceProps } from "./interfaces/MicroserviceProps";
|
|
3
|
-
export { IAppConfig } from "./config/customConfigs/IAppConfig";
|
|
2
|
+
export type { MicroserviceProps } from "./interfaces/MicroserviceProps";
|
|
3
|
+
export type { IAppConfig } from "./config/customConfigs/IAppConfig";
|
|
4
4
|
export { MicroServiceAppConfig } from "./config/MicroserviceAppConfig";
|
|
5
5
|
export { TsgAuthorizerType } from "./config/types/TsgAuthorizerType";
|
|
6
6
|
export * from "./interfaces/timer-job/index";
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export interface SpaProps {
|
|
2
|
+
siteName: string; // Logical app/site name used in tags and IDs
|
|
3
|
+
bucketName: string; // S3 bucket name for SPA assets (must be globally unique)
|
|
4
|
+
cloudfrontName: string; // Human-friendly name for CF distribution
|
|
5
|
+
domainName: string; // Root domain for Route53 zone lookup (e.g., example.com)
|
|
6
|
+
fqdn: string; // Fully qualified domain name to serve the site (e.g., app.example.com)
|
|
7
|
+
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { LambdaProps } from "./lambda-props";
|
|
1
|
+
export type { LambdaProps } from "./lambda-props";
|