@composurecdk/logs 0.7.0 → 0.8.0
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/dist/commonjs/defaults.d.ts.map +1 -0
- package/dist/commonjs/defaults.js +26 -0
- package/dist/commonjs/defaults.js.map +1 -0
- package/dist/commonjs/index.d.ts.map +1 -0
- package/dist/commonjs/index.js +8 -0
- package/dist/commonjs/index.js.map +1 -0
- package/dist/commonjs/log-group-builder.d.ts.map +1 -0
- package/dist/commonjs/log-group-builder.js +46 -0
- package/dist/commonjs/log-group-builder.js.map +1 -0
- package/dist/commonjs/package.json +3 -0
- package/dist/esm/defaults.d.ts +8 -0
- package/dist/esm/defaults.d.ts.map +1 -0
- package/dist/esm/defaults.js.map +1 -0
- package/dist/esm/index.d.ts +3 -0
- package/dist/esm/index.d.ts.map +1 -0
- package/dist/esm/index.js.map +1 -0
- package/dist/esm/log-group-builder.d.ts +63 -0
- package/dist/esm/log-group-builder.d.ts.map +1 -0
- package/dist/esm/log-group-builder.js.map +1 -0
- package/dist/esm/package.json +3 -0
- package/package.json +34 -16
- package/dist/defaults.d.ts.map +0 -1
- package/dist/defaults.js.map +0 -1
- package/dist/index.d.ts.map +0 -1
- package/dist/index.js.map +0 -1
- package/dist/log-group-builder.d.ts.map +0 -1
- package/dist/log-group-builder.js.map +0 -1
- /package/dist/{defaults.d.ts → commonjs/defaults.d.ts} +0 -0
- /package/dist/{index.d.ts → commonjs/index.d.ts} +0 -0
- /package/dist/{log-group-builder.d.ts → commonjs/log-group-builder.d.ts} +0 -0
- /package/dist/{defaults.js → esm/defaults.js} +0 -0
- /package/dist/{index.js → esm/index.js} +0 -0
- /package/dist/{log-group-builder.js → esm/log-group-builder.js} +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"defaults.d.ts","sourceRoot":"","sources":["../../src/defaults.ts"],"names":[],"mappings":"AACA,OAAO,EAAiB,KAAK,aAAa,EAAE,MAAM,sBAAsB,CAAC;AAEzE;;;;GAIG;AACH,eAAO,MAAM,kBAAkB,EAAE,OAAO,CAAC,aAAa,CAerD,CAAC"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.LOG_GROUP_DEFAULTS = void 0;
|
|
4
|
+
const aws_cdk_lib_1 = require("aws-cdk-lib");
|
|
5
|
+
const aws_logs_1 = require("aws-cdk-lib/aws-logs");
|
|
6
|
+
/**
|
|
7
|
+
* Secure, AWS-recommended defaults applied to every log group built with
|
|
8
|
+
* {@link createLogGroupBuilder}. Each property can be individually overridden
|
|
9
|
+
* via the builder's fluent API.
|
|
10
|
+
*/
|
|
11
|
+
exports.LOG_GROUP_DEFAULTS = {
|
|
12
|
+
/**
|
|
13
|
+
* Retain logs for two years. CloudWatch defaults to indefinite retention;
|
|
14
|
+
* an explicit policy prevents unbounded log accumulation while preserving
|
|
15
|
+
* a meaningful audit window.
|
|
16
|
+
* @see https://docs.aws.amazon.com/wellarchitected/latest/security-pillar/sec_detect_investigate_events_app_service_logging.html
|
|
17
|
+
*/
|
|
18
|
+
retention: aws_logs_1.RetentionDays.TWO_YEARS,
|
|
19
|
+
/**
|
|
20
|
+
* Retain the log group when the stack is deleted. Logs are operational
|
|
21
|
+
* and audit records that should survive infrastructure teardown.
|
|
22
|
+
* @see https://docs.aws.amazon.com/wellarchitected/latest/security-pillar/sec_detect_investigate_events_app_service_logging.html
|
|
23
|
+
*/
|
|
24
|
+
removalPolicy: aws_cdk_lib_1.RemovalPolicy.RETAIN,
|
|
25
|
+
};
|
|
26
|
+
//# sourceMappingURL=defaults.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"defaults.js","sourceRoot":"","sources":["../../src/defaults.ts"],"names":[],"mappings":";;;AAAA,6CAA4C;AAC5C,mDAAyE;AAEzE;;;;GAIG;AACU,QAAA,kBAAkB,GAA2B;IACxD;;;;;OAKG;IACH,SAAS,EAAE,wBAAa,CAAC,SAAS;IAElC;;;;OAIG;IACH,aAAa,EAAE,2BAAa,CAAC,MAAM;CACpC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,qBAAqB,EACrB,KAAK,oBAAoB,EACzB,KAAK,qBAAqB,EAC1B,KAAK,gBAAgB,GACtB,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAAE,kBAAkB,EAAE,MAAM,eAAe,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.LOG_GROUP_DEFAULTS = exports.createLogGroupBuilder = void 0;
|
|
4
|
+
var log_group_builder_js_1 = require("./log-group-builder.js");
|
|
5
|
+
Object.defineProperty(exports, "createLogGroupBuilder", { enumerable: true, get: function () { return log_group_builder_js_1.createLogGroupBuilder; } });
|
|
6
|
+
var defaults_js_1 = require("./defaults.js");
|
|
7
|
+
Object.defineProperty(exports, "LOG_GROUP_DEFAULTS", { enumerable: true, get: function () { return defaults_js_1.LOG_GROUP_DEFAULTS; } });
|
|
8
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";;;AAAA,+DAKgC;AAJ9B,6HAAA,qBAAqB,OAAA;AAKvB,6CAAmD;AAA1C,iHAAA,kBAAkB,OAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"log-group-builder.d.ts","sourceRoot":"","sources":["../../src/log-group-builder.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,KAAK,aAAa,EAAE,MAAM,sBAAsB,CAAC;AACpE,OAAO,EAAE,KAAK,UAAU,EAAE,MAAM,YAAY,CAAC;AAC7C,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,oBAAoB,CAAC;AACpD,OAAO,EAAE,KAAK,cAAc,EAAiB,MAAM,8BAA8B,CAAC;AAGlF,MAAM,MAAM,oBAAoB,GAAG,aAAa,CAAC;AAEjD;;;GAGG;AACH,MAAM,WAAW,qBAAqB;IACpC,iEAAiE;IACjE,QAAQ,EAAE,QAAQ,CAAC;CACpB;AAED;;;;;;;;;;;;;;;;;GAiBG;AACH,MAAM,MAAM,gBAAgB,GAAG,cAAc,CAAC,oBAAoB,EAAE,eAAe,CAAC,CAAC;AAErF,cAAM,eAAgB,YAAW,SAAS,CAAC,qBAAqB,CAAC;IAC/D,KAAK,EAAE,OAAO,CAAC,oBAAoB,CAAC,CAAM;IAE1C,KAAK,CAAC,KAAK,EAAE,UAAU,EAAE,EAAE,EAAE,MAAM,GAAG,qBAAqB;CAS5D;AAED;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,wBAAgB,qBAAqB,IAAI,gBAAgB,CAExD"}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.createLogGroupBuilder = createLogGroupBuilder;
|
|
4
|
+
const aws_logs_1 = require("aws-cdk-lib/aws-logs");
|
|
5
|
+
const cloudformation_1 = require("@composurecdk/cloudformation");
|
|
6
|
+
const defaults_js_1 = require("./defaults.js");
|
|
7
|
+
class LogGroupBuilder {
|
|
8
|
+
props = {};
|
|
9
|
+
build(scope, id) {
|
|
10
|
+
const mergedProps = {
|
|
11
|
+
...defaults_js_1.LOG_GROUP_DEFAULTS,
|
|
12
|
+
...this.props,
|
|
13
|
+
};
|
|
14
|
+
return {
|
|
15
|
+
logGroup: new aws_logs_1.LogGroup(scope, id, mergedProps),
|
|
16
|
+
};
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* Creates a new {@link ILogGroupBuilder} for configuring a CloudWatch log group.
|
|
21
|
+
*
|
|
22
|
+
* This is the entry point for defining a log group component. The returned
|
|
23
|
+
* builder exposes every {@link LogGroupProps} property as a fluent setter/getter
|
|
24
|
+
* and implements {@link Lifecycle} for use with {@link compose}.
|
|
25
|
+
*
|
|
26
|
+
* @returns A fluent builder for a CloudWatch log group.
|
|
27
|
+
*
|
|
28
|
+
* @example
|
|
29
|
+
* ```ts
|
|
30
|
+
* const logs = createLogGroupBuilder()
|
|
31
|
+
* .retention(RetentionDays.SIX_MONTHS);
|
|
32
|
+
*
|
|
33
|
+
* // Use standalone:
|
|
34
|
+
* const result = logs.build(stack, "MyLogGroup");
|
|
35
|
+
*
|
|
36
|
+
* // Or compose into a system:
|
|
37
|
+
* const system = compose(
|
|
38
|
+
* { logs, api: createRestApiBuilder() },
|
|
39
|
+
* { logs: [], api: ["logs"] },
|
|
40
|
+
* );
|
|
41
|
+
* ```
|
|
42
|
+
*/
|
|
43
|
+
function createLogGroupBuilder() {
|
|
44
|
+
return (0, cloudformation_1.taggedBuilder)(LogGroupBuilder);
|
|
45
|
+
}
|
|
46
|
+
//# sourceMappingURL=log-group-builder.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"log-group-builder.js","sourceRoot":"","sources":["../../src/log-group-builder.ts"],"names":[],"mappings":";;AA2EA,sDAEC;AA7ED,mDAAoE;AAGpE,iEAAkF;AAClF,+CAAmD;AAiCnD,MAAM,eAAe;IACnB,KAAK,GAAkC,EAAE,CAAC;IAE1C,KAAK,CAAC,KAAiB,EAAE,EAAU;QACjC,MAAM,WAAW,GAAG;YAClB,GAAG,gCAAkB;YACrB,GAAG,IAAI,CAAC,KAAK;SACd,CAAC;QACF,OAAO;YACL,QAAQ,EAAE,IAAI,mBAAQ,CAAC,KAAK,EAAE,EAAE,EAAE,WAAW,CAAC;SAC/C,CAAC;IACJ,CAAC;CACF;AAED;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,SAAgB,qBAAqB;IACnC,OAAO,IAAA,8BAAa,EAAwC,eAAe,CAAC,CAAC;AAC/E,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { type LogGroupProps } from "aws-cdk-lib/aws-logs";
|
|
2
|
+
/**
|
|
3
|
+
* Secure, AWS-recommended defaults applied to every log group built with
|
|
4
|
+
* {@link createLogGroupBuilder}. Each property can be individually overridden
|
|
5
|
+
* via the builder's fluent API.
|
|
6
|
+
*/
|
|
7
|
+
export declare const LOG_GROUP_DEFAULTS: Partial<LogGroupProps>;
|
|
8
|
+
//# sourceMappingURL=defaults.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"defaults.d.ts","sourceRoot":"","sources":["../../src/defaults.ts"],"names":[],"mappings":"AACA,OAAO,EAAiB,KAAK,aAAa,EAAE,MAAM,sBAAsB,CAAC;AAEzE;;;;GAIG;AACH,eAAO,MAAM,kBAAkB,EAAE,OAAO,CAAC,aAAa,CAerD,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"defaults.js","sourceRoot":"","sources":["../../src/defaults.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAC5C,OAAO,EAAE,aAAa,EAAsB,MAAM,sBAAsB,CAAC;AAEzE;;;;GAIG;AACH,MAAM,CAAC,MAAM,kBAAkB,GAA2B;IACxD;;;;;OAKG;IACH,SAAS,EAAE,aAAa,CAAC,SAAS;IAElC;;;;OAIG;IACH,aAAa,EAAE,aAAa,CAAC,MAAM;CACpC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,qBAAqB,EACrB,KAAK,oBAAoB,EACzB,KAAK,qBAAqB,EAC1B,KAAK,gBAAgB,GACtB,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAAE,kBAAkB,EAAE,MAAM,eAAe,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,qBAAqB,GAItB,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAAE,kBAAkB,EAAE,MAAM,eAAe,CAAC"}
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
import { LogGroup, type LogGroupProps } from "aws-cdk-lib/aws-logs";
|
|
2
|
+
import { type IConstruct } from "constructs";
|
|
3
|
+
import { type Lifecycle } from "@composurecdk/core";
|
|
4
|
+
import { type ITaggedBuilder } from "@composurecdk/cloudformation";
|
|
5
|
+
export type LogGroupBuilderProps = LogGroupProps;
|
|
6
|
+
/**
|
|
7
|
+
* The build output of a {@link ILogGroupBuilder}. Contains the CDK constructs
|
|
8
|
+
* created during {@link Lifecycle.build}, keyed by role.
|
|
9
|
+
*/
|
|
10
|
+
export interface LogGroupBuilderResult {
|
|
11
|
+
/** The CloudWatch log group construct created by the builder. */
|
|
12
|
+
logGroup: LogGroup;
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* A fluent builder for configuring and creating a CloudWatch log group.
|
|
16
|
+
*
|
|
17
|
+
* Each configuration property from the CDK {@link LogGroupProps} is exposed
|
|
18
|
+
* as an overloaded method: call with a value to set it (returns the builder
|
|
19
|
+
* for chaining), or call with no arguments to read the current value.
|
|
20
|
+
*
|
|
21
|
+
* The builder implements {@link Lifecycle}, so it can be used directly as a
|
|
22
|
+
* component in a {@link compose | composed system}. When built, it creates
|
|
23
|
+
* a log group with the configured properties and returns a
|
|
24
|
+
* {@link LogGroupBuilderResult}.
|
|
25
|
+
*
|
|
26
|
+
* @example
|
|
27
|
+
* ```ts
|
|
28
|
+
* const logs = createLogGroupBuilder()
|
|
29
|
+
* .retention(RetentionDays.SIX_MONTHS);
|
|
30
|
+
* ```
|
|
31
|
+
*/
|
|
32
|
+
export type ILogGroupBuilder = ITaggedBuilder<LogGroupBuilderProps, LogGroupBuilder>;
|
|
33
|
+
declare class LogGroupBuilder implements Lifecycle<LogGroupBuilderResult> {
|
|
34
|
+
props: Partial<LogGroupBuilderProps>;
|
|
35
|
+
build(scope: IConstruct, id: string): LogGroupBuilderResult;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Creates a new {@link ILogGroupBuilder} for configuring a CloudWatch log group.
|
|
39
|
+
*
|
|
40
|
+
* This is the entry point for defining a log group component. The returned
|
|
41
|
+
* builder exposes every {@link LogGroupProps} property as a fluent setter/getter
|
|
42
|
+
* and implements {@link Lifecycle} for use with {@link compose}.
|
|
43
|
+
*
|
|
44
|
+
* @returns A fluent builder for a CloudWatch log group.
|
|
45
|
+
*
|
|
46
|
+
* @example
|
|
47
|
+
* ```ts
|
|
48
|
+
* const logs = createLogGroupBuilder()
|
|
49
|
+
* .retention(RetentionDays.SIX_MONTHS);
|
|
50
|
+
*
|
|
51
|
+
* // Use standalone:
|
|
52
|
+
* const result = logs.build(stack, "MyLogGroup");
|
|
53
|
+
*
|
|
54
|
+
* // Or compose into a system:
|
|
55
|
+
* const system = compose(
|
|
56
|
+
* { logs, api: createRestApiBuilder() },
|
|
57
|
+
* { logs: [], api: ["logs"] },
|
|
58
|
+
* );
|
|
59
|
+
* ```
|
|
60
|
+
*/
|
|
61
|
+
export declare function createLogGroupBuilder(): ILogGroupBuilder;
|
|
62
|
+
export {};
|
|
63
|
+
//# sourceMappingURL=log-group-builder.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"log-group-builder.d.ts","sourceRoot":"","sources":["../../src/log-group-builder.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,KAAK,aAAa,EAAE,MAAM,sBAAsB,CAAC;AACpE,OAAO,EAAE,KAAK,UAAU,EAAE,MAAM,YAAY,CAAC;AAC7C,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,oBAAoB,CAAC;AACpD,OAAO,EAAE,KAAK,cAAc,EAAiB,MAAM,8BAA8B,CAAC;AAGlF,MAAM,MAAM,oBAAoB,GAAG,aAAa,CAAC;AAEjD;;;GAGG;AACH,MAAM,WAAW,qBAAqB;IACpC,iEAAiE;IACjE,QAAQ,EAAE,QAAQ,CAAC;CACpB;AAED;;;;;;;;;;;;;;;;;GAiBG;AACH,MAAM,MAAM,gBAAgB,GAAG,cAAc,CAAC,oBAAoB,EAAE,eAAe,CAAC,CAAC;AAErF,cAAM,eAAgB,YAAW,SAAS,CAAC,qBAAqB,CAAC;IAC/D,KAAK,EAAE,OAAO,CAAC,oBAAoB,CAAC,CAAM;IAE1C,KAAK,CAAC,KAAK,EAAE,UAAU,EAAE,EAAE,EAAE,MAAM,GAAG,qBAAqB;CAS5D;AAED;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,wBAAgB,qBAAqB,IAAI,gBAAgB,CAExD"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"log-group-builder.js","sourceRoot":"","sources":["../../src/log-group-builder.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAsB,MAAM,sBAAsB,CAAC;AAGpE,OAAO,EAAuB,aAAa,EAAE,MAAM,8BAA8B,CAAC;AAClF,OAAO,EAAE,kBAAkB,EAAE,MAAM,eAAe,CAAC;AAiCnD,MAAM,eAAe;IACnB,KAAK,GAAkC,EAAE,CAAC;IAE1C,KAAK,CAAC,KAAiB,EAAE,EAAU;QACjC,MAAM,WAAW,GAAG;YAClB,GAAG,kBAAkB;YACrB,GAAG,IAAI,CAAC,KAAK;SACd,CAAC;QACF,OAAO;YACL,QAAQ,EAAE,IAAI,QAAQ,CAAC,KAAK,EAAE,EAAE,EAAE,WAAW,CAAC;SAC/C,CAAC;IACJ,CAAC;CACF;AAED;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,MAAM,UAAU,qBAAqB;IACnC,OAAO,aAAa,CAAwC,eAAe,CAAC,CAAC;AAC/E,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,29 +1,22 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@composurecdk/logs",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.8.0",
|
|
4
4
|
"description": "Composable CloudWatch log group builder with secure defaults",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
7
7
|
"url": "https://github.com/laazyj/composureCDK",
|
|
8
8
|
"directory": "packages/logs"
|
|
9
9
|
},
|
|
10
|
-
"main": "./dist/index.js",
|
|
11
|
-
"types": "./dist/index.d.ts",
|
|
12
|
-
"exports": {
|
|
13
|
-
".": {
|
|
14
|
-
"import": "./dist/index.js",
|
|
15
|
-
"types": "./dist/index.d.ts"
|
|
16
|
-
}
|
|
17
|
-
},
|
|
18
10
|
"files": [
|
|
19
11
|
"dist",
|
|
20
12
|
"README.md",
|
|
21
13
|
"LICENSE"
|
|
22
14
|
],
|
|
23
15
|
"scripts": {
|
|
24
|
-
"clean": "rm -rf dist",
|
|
25
|
-
"build": "
|
|
16
|
+
"clean": "rm -rf dist .tshy .tshy-build",
|
|
17
|
+
"build": "tshy",
|
|
26
18
|
"typecheck": "tsc --noEmit",
|
|
19
|
+
"check:exports": "attw --pack . --profile node16 && publint",
|
|
27
20
|
"test": "vitest run --passWithNoTests",
|
|
28
21
|
"test:watch": "vitest"
|
|
29
22
|
},
|
|
@@ -34,17 +27,42 @@
|
|
|
34
27
|
"access": "public"
|
|
35
28
|
},
|
|
36
29
|
"type": "module",
|
|
30
|
+
"engines": {
|
|
31
|
+
"node": ">=20"
|
|
32
|
+
},
|
|
33
|
+
"tshy": {
|
|
34
|
+
"exports": {
|
|
35
|
+
"./package.json": "./package.json",
|
|
36
|
+
".": "./src/index.ts"
|
|
37
|
+
}
|
|
38
|
+
},
|
|
37
39
|
"peerDependencies": {
|
|
38
|
-
"@composurecdk/cloudformation": "^0.
|
|
39
|
-
"@composurecdk/core": "^0.
|
|
40
|
+
"@composurecdk/cloudformation": "^0.8.0",
|
|
41
|
+
"@composurecdk/core": "^0.8.0",
|
|
40
42
|
"aws-cdk-lib": "^2.0.0",
|
|
41
43
|
"constructs": "^10.0.0"
|
|
42
44
|
},
|
|
43
45
|
"devDependencies": {
|
|
44
|
-
"@types/node": "^25.6.
|
|
45
|
-
"aws-cdk-lib": "^2.
|
|
46
|
+
"@types/node": "^25.6.2",
|
|
47
|
+
"aws-cdk-lib": "^2.253.1",
|
|
46
48
|
"constructs": "^10.6.0",
|
|
47
49
|
"typescript": "^6.0.3",
|
|
48
50
|
"vitest": "^4.1.4"
|
|
49
|
-
}
|
|
51
|
+
},
|
|
52
|
+
"exports": {
|
|
53
|
+
"./package.json": "./package.json",
|
|
54
|
+
".": {
|
|
55
|
+
"import": {
|
|
56
|
+
"types": "./dist/esm/index.d.ts",
|
|
57
|
+
"default": "./dist/esm/index.js"
|
|
58
|
+
},
|
|
59
|
+
"require": {
|
|
60
|
+
"types": "./dist/commonjs/index.d.ts",
|
|
61
|
+
"default": "./dist/commonjs/index.js"
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
},
|
|
65
|
+
"main": "./dist/commonjs/index.js",
|
|
66
|
+
"types": "./dist/commonjs/index.d.ts",
|
|
67
|
+
"module": "./dist/esm/index.js"
|
|
50
68
|
}
|
package/dist/defaults.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"defaults.d.ts","sourceRoot":"","sources":["../src/defaults.ts"],"names":[],"mappings":"AACA,OAAO,EAAiB,KAAK,aAAa,EAAE,MAAM,sBAAsB,CAAC;AAEzE;;;;GAIG;AACH,eAAO,MAAM,kBAAkB,EAAE,OAAO,CAAC,aAAa,CAerD,CAAC"}
|
package/dist/defaults.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"defaults.js","sourceRoot":"","sources":["../src/defaults.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAC5C,OAAO,EAAE,aAAa,EAAsB,MAAM,sBAAsB,CAAC;AAEzE;;;;GAIG;AACH,MAAM,CAAC,MAAM,kBAAkB,GAA2B;IACxD;;;;;OAKG;IACH,SAAS,EAAE,aAAa,CAAC,SAAS;IAElC;;;;OAIG;IACH,aAAa,EAAE,aAAa,CAAC,MAAM;CACpC,CAAC"}
|
package/dist/index.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,qBAAqB,EACrB,KAAK,oBAAoB,EACzB,KAAK,qBAAqB,EAC1B,KAAK,gBAAgB,GACtB,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAAE,kBAAkB,EAAE,MAAM,eAAe,CAAC"}
|
package/dist/index.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,qBAAqB,GAItB,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAAE,kBAAkB,EAAE,MAAM,eAAe,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"log-group-builder.d.ts","sourceRoot":"","sources":["../src/log-group-builder.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,KAAK,aAAa,EAAE,MAAM,sBAAsB,CAAC;AACpE,OAAO,EAAE,KAAK,UAAU,EAAE,MAAM,YAAY,CAAC;AAC7C,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,oBAAoB,CAAC;AACpD,OAAO,EAAE,KAAK,cAAc,EAAiB,MAAM,8BAA8B,CAAC;AAGlF,MAAM,MAAM,oBAAoB,GAAG,aAAa,CAAC;AAEjD;;;GAGG;AACH,MAAM,WAAW,qBAAqB;IACpC,iEAAiE;IACjE,QAAQ,EAAE,QAAQ,CAAC;CACpB;AAED;;;;;;;;;;;;;;;;;GAiBG;AACH,MAAM,MAAM,gBAAgB,GAAG,cAAc,CAAC,oBAAoB,EAAE,eAAe,CAAC,CAAC;AAErF,cAAM,eAAgB,YAAW,SAAS,CAAC,qBAAqB,CAAC;IAC/D,KAAK,EAAE,OAAO,CAAC,oBAAoB,CAAC,CAAM;IAE1C,KAAK,CAAC,KAAK,EAAE,UAAU,EAAE,EAAE,EAAE,MAAM,GAAG,qBAAqB;CAS5D;AAED;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,wBAAgB,qBAAqB,IAAI,gBAAgB,CAExD"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"log-group-builder.js","sourceRoot":"","sources":["../src/log-group-builder.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAsB,MAAM,sBAAsB,CAAC;AAGpE,OAAO,EAAuB,aAAa,EAAE,MAAM,8BAA8B,CAAC;AAClF,OAAO,EAAE,kBAAkB,EAAE,MAAM,eAAe,CAAC;AAiCnD,MAAM,eAAe;IACnB,KAAK,GAAkC,EAAE,CAAC;IAE1C,KAAK,CAAC,KAAiB,EAAE,EAAU;QACjC,MAAM,WAAW,GAAG;YAClB,GAAG,kBAAkB;YACrB,GAAG,IAAI,CAAC,KAAK;SACd,CAAC;QACF,OAAO;YACL,QAAQ,EAAE,IAAI,QAAQ,CAAC,KAAK,EAAE,EAAE,EAAE,WAAW,CAAC;SAC/C,CAAC;IACJ,CAAC;CACF;AAED;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,MAAM,UAAU,qBAAqB;IACnC,OAAO,aAAa,CAAwC,eAAe,CAAC,CAAC;AAC/E,CAAC"}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|