@cdklabs/cdk-appmod-catalog-blueprints 1.17.1 → 1.17.2
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/.jsii +2 -2
- package/lib/document-processing/adapter/queued-s3-adapter.js +1 -1
- package/lib/document-processing/agentic-document-processing.js +1 -1
- package/lib/document-processing/base-document-processing.js +1 -1
- package/lib/document-processing/bedrock-document-processing.js +1 -1
- package/lib/document-processing/default-document-processing-config.js +1 -1
- package/lib/document-processing/localstack-agentic-document-processing.js +1 -1
- package/lib/document-processing/localstack-bedrock-document-processing.js +1 -1
- package/lib/framework/agents/base-agent.js +1 -1
- package/lib/framework/agents/batch-agent.js +1 -1
- package/lib/framework/agents/default-agent-config.js +1 -1
- package/lib/framework/agents/interactive-agent.js +10 -10
- package/lib/framework/agents/knowledge-base/base-knowledge-base.js +1 -1
- package/lib/framework/agents/knowledge-base/bedrock-knowledge-base.js +1 -1
- package/lib/framework/agents/localstack-batch-agent.js +1 -1
- package/lib/framework/bedrock/bedrock.js +1 -1
- package/lib/framework/custom-resource/default-runtimes.js +1 -1
- package/lib/framework/foundation/access-log.js +1 -1
- package/lib/framework/foundation/eventbridge-broker.js +1 -1
- package/lib/framework/foundation/network.js +1 -1
- package/lib/framework/localstack/localstack-config.js +1 -1
- package/lib/utilities/data-loader.js +1 -1
- package/lib/utilities/lambda-iam-utils.js +1 -1
- package/lib/utilities/observability/cloudfront-distribution-observability-property-injector.js +1 -1
- package/lib/utilities/observability/cloudwatch-transaction-search.js +1 -1
- package/lib/utilities/observability/default-observability-config.js +1 -1
- package/lib/utilities/observability/lambda-observability-property-injector.js +1 -1
- package/lib/utilities/observability/log-group-data-protection-utils.js +1 -1
- package/lib/utilities/observability/powertools-config.js +1 -1
- package/lib/utilities/observability/state-machine-observability-property-injector.js +1 -1
- package/lib/webapp/frontend-construct.js +1 -1
- package/package.json +1 -1
package/.jsii
CHANGED
|
@@ -17765,6 +17765,6 @@
|
|
|
17765
17765
|
"usedFeatures": [
|
|
17766
17766
|
"class-covariant-overrides"
|
|
17767
17767
|
],
|
|
17768
|
-
"version": "1.17.
|
|
17769
|
-
"fingerprint": "
|
|
17768
|
+
"version": "1.17.2",
|
|
17769
|
+
"fingerprint": "w3sQXWLi31nOI8U56pzEtc+wFnP2meUCn89TS06Ro/c="
|
|
17770
17770
|
}
|
|
@@ -57,7 +57,7 @@ const default_document_processing_config_1 = require("../default-document-proces
|
|
|
57
57
|
* to be triggered by files that are uploaded into a S3 Bucket.
|
|
58
58
|
*/
|
|
59
59
|
class QueuedS3Adapter {
|
|
60
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@cdklabs/cdk-appmod-catalog-blueprints.QueuedS3Adapter", version: "1.17.
|
|
60
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@cdklabs/cdk-appmod-catalog-blueprints.QueuedS3Adapter", version: "1.17.2" };
|
|
61
61
|
adapterProps;
|
|
62
62
|
resources;
|
|
63
63
|
prefixes;
|
|
@@ -6,7 +6,7 @@ const aws_stepfunctions_tasks_1 = require("aws-cdk-lib/aws-stepfunctions-tasks")
|
|
|
6
6
|
const bedrock_document_processing_1 = require("./bedrock-document-processing");
|
|
7
7
|
const framework_1 = require("../framework");
|
|
8
8
|
class AgenticDocumentProcessing extends bedrock_document_processing_1.BedrockDocumentProcessing {
|
|
9
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@cdklabs/cdk-appmod-catalog-blueprints.AgenticDocumentProcessing", version: "1.17.
|
|
9
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@cdklabs/cdk-appmod-catalog-blueprints.AgenticDocumentProcessing", version: "1.17.2" };
|
|
10
10
|
/** Cached batch agent to avoid duplicate resource creation */
|
|
11
11
|
_batchAgent;
|
|
12
12
|
/** Counter for generating unique processing step IDs */
|
|
@@ -41,7 +41,7 @@ const state_machine_observability_property_injector_1 = require("../utilities/ob
|
|
|
41
41
|
* - `postProcessingStep()`: Optional post-processing (return undefined to skip)
|
|
42
42
|
*/
|
|
43
43
|
class BaseDocumentProcessing extends constructs_1.Construct {
|
|
44
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@cdklabs/cdk-appmod-catalog-blueprints.BaseDocumentProcessing", version: "1.17.
|
|
44
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@cdklabs/cdk-appmod-catalog-blueprints.BaseDocumentProcessing", version: "1.17.2" };
|
|
45
45
|
/** Business metric service name. This is part of the initial service dimension */
|
|
46
46
|
metricServiceName;
|
|
47
47
|
/** Business metric namespace. */
|
|
@@ -81,7 +81,7 @@ const powertools_config_1 = require("../utilities/observability/powertools-confi
|
|
|
81
81
|
* - EU prefix: Routes to EU-based regions for data residency compliance
|
|
82
82
|
*/
|
|
83
83
|
class BedrockDocumentProcessing extends base_document_processing_1.BaseDocumentProcessing {
|
|
84
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@cdklabs/cdk-appmod-catalog-blueprints.BedrockDocumentProcessing", version: "1.17.
|
|
84
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@cdklabs/cdk-appmod-catalog-blueprints.BedrockDocumentProcessing", version: "1.17.2" };
|
|
85
85
|
static DEFAULT_CLASSIFICATION_PROMPT = `
|
|
86
86
|
Analyze the document below, and classify the type of document it is (eg. INVOICE, IDENTITY_DOCUMENT, RECEIPT, etc). The result should be in JSON and should follow the following structure (only respond in JSON with the following structure and do not use markdown to indicate the json, just output plain old json with nothing else):
|
|
87
87
|
|
|
@@ -5,7 +5,7 @@ const JSII_RTTI_SYMBOL_1 = Symbol.for("jsii.rtti");
|
|
|
5
5
|
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
6
6
|
// SPDX-License-Identifier: Apache-2.0
|
|
7
7
|
class DefaultDocumentProcessingConfig {
|
|
8
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@cdklabs/cdk-appmod-catalog-blueprints.DefaultDocumentProcessingConfig", version: "1.17.
|
|
8
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@cdklabs/cdk-appmod-catalog-blueprints.DefaultDocumentProcessingConfig", version: "1.17.2" };
|
|
9
9
|
static DEFAULT_OBSERVABILITY_METRIC_SVC_NAME = 'document-processing';
|
|
10
10
|
}
|
|
11
11
|
exports.DefaultDocumentProcessingConfig = DefaultDocumentProcessingConfig;
|
|
@@ -42,7 +42,7 @@ const agentic_document_processing_1 = require("./agentic-document-processing");
|
|
|
42
42
|
const localstack_batch_agent_1 = require("../framework/agents/localstack-batch-agent");
|
|
43
43
|
const localstack_1 = require("../framework/localstack");
|
|
44
44
|
class LocalStackAgenticDocumentProcessing extends agentic_document_processing_1.AgenticDocumentProcessing {
|
|
45
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@cdklabs/cdk-appmod-catalog-blueprints.LocalStackAgenticDocumentProcessing", version: "1.17.
|
|
45
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@cdklabs/cdk-appmod-catalog-blueprints.LocalStackAgenticDocumentProcessing", version: "1.17.2" };
|
|
46
46
|
_localStackBatchAgent;
|
|
47
47
|
_localStackProcessingStepCounter;
|
|
48
48
|
constructor(scope, id, props) {
|
|
@@ -40,7 +40,7 @@ const aws_lambda_1 = require("aws-cdk-lib/aws-lambda");
|
|
|
40
40
|
const bedrock_document_processing_1 = require("./bedrock-document-processing");
|
|
41
41
|
const localstack_1 = require("../framework/localstack");
|
|
42
42
|
class LocalStackBedrockDocumentProcessing extends bedrock_document_processing_1.BedrockDocumentProcessing {
|
|
43
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@cdklabs/cdk-appmod-catalog-blueprints.LocalStackBedrockDocumentProcessing", version: "1.17.
|
|
43
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@cdklabs/cdk-appmod-catalog-blueprints.LocalStackBedrockDocumentProcessing", version: "1.17.2" };
|
|
44
44
|
constructor(scope, id, props) {
|
|
45
45
|
super(scope, id, {
|
|
46
46
|
...props,
|
|
@@ -40,7 +40,7 @@ Object.defineProperty(exports, "InvokeType", { enumerable: true, get: function (
|
|
|
40
40
|
* @see https://docs.aws.amazon.com/bedrock-agentcore/latest/devguide/observability-configure.html
|
|
41
41
|
*/
|
|
42
42
|
class BaseAgent extends constructs_1.Construct {
|
|
43
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@cdklabs/cdk-appmod-catalog-blueprints.BaseAgent", version: "1.17.
|
|
43
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@cdklabs/cdk-appmod-catalog-blueprints.BaseAgent", version: "1.17.2" };
|
|
44
44
|
bedrockModel;
|
|
45
45
|
agentRole;
|
|
46
46
|
encryptionKey;
|
|
@@ -87,7 +87,7 @@ When a user asks a question that might be answered by information in these knowl
|
|
|
87
87
|
`;
|
|
88
88
|
}
|
|
89
89
|
class BatchAgent extends base_agent_1.BaseAgent {
|
|
90
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@cdklabs/cdk-appmod-catalog-blueprints.BatchAgent", version: "1.17.
|
|
90
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@cdklabs/cdk-appmod-catalog-blueprints.BatchAgent", version: "1.17.2" };
|
|
91
91
|
agentFunction;
|
|
92
92
|
constructor(scope, id, props) {
|
|
93
93
|
super(scope, id, props);
|
|
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.DefaultAgentConfig = void 0;
|
|
4
4
|
const JSII_RTTI_SYMBOL_1 = Symbol.for("jsii.rtti");
|
|
5
5
|
class DefaultAgentConfig {
|
|
6
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@cdklabs/cdk-appmod-catalog-blueprints.DefaultAgentConfig", version: "1.17.
|
|
6
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@cdklabs/cdk-appmod-catalog-blueprints.DefaultAgentConfig", version: "1.17.2" };
|
|
7
7
|
static DEFAULT_OBSERVABILITY_METRIC_SVC_NAME = 'agent';
|
|
8
8
|
}
|
|
9
9
|
exports.DefaultAgentConfig = DefaultAgentConfig;
|
|
@@ -97,7 +97,7 @@ const custom_resource_1 = require("../custom-resource");
|
|
|
97
97
|
* ```
|
|
98
98
|
*/
|
|
99
99
|
class StreamingHttpAdapter {
|
|
100
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@cdklabs/cdk-appmod-catalog-blueprints.StreamingHttpAdapter", version: "1.17.
|
|
100
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@cdklabs/cdk-appmod-catalog-blueprints.StreamingHttpAdapter", version: "1.17.2" };
|
|
101
101
|
/**
|
|
102
102
|
* The REST API Gateway.
|
|
103
103
|
*/
|
|
@@ -274,7 +274,7 @@ exports.StreamingHttpAdapter = StreamingHttpAdapter;
|
|
|
274
274
|
* is no longer needed to configure session persistence.
|
|
275
275
|
*/
|
|
276
276
|
class S3SessionManager {
|
|
277
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@cdklabs/cdk-appmod-catalog-blueprints.S3SessionManager", version: "1.17.
|
|
277
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@cdklabs/cdk-appmod-catalog-blueprints.S3SessionManager", version: "1.17.2" };
|
|
278
278
|
/**
|
|
279
279
|
* The S3 bucket used for session storage.
|
|
280
280
|
*/
|
|
@@ -346,7 +346,7 @@ exports.S3SessionManager = S3SessionManager;
|
|
|
346
346
|
* conversation windowing natively.
|
|
347
347
|
*/
|
|
348
348
|
class SlidingWindowConversationManager {
|
|
349
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@cdklabs/cdk-appmod-catalog-blueprints.SlidingWindowConversationManager", version: "1.17.
|
|
349
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@cdklabs/cdk-appmod-catalog-blueprints.SlidingWindowConversationManager", version: "1.17.2" };
|
|
350
350
|
/**
|
|
351
351
|
* The window size (number of messages to keep).
|
|
352
352
|
*/
|
|
@@ -380,7 +380,7 @@ exports.SlidingWindowConversationManager = SlidingWindowConversationManager;
|
|
|
380
380
|
* To disable conversation history, omit the session bucket configuration.
|
|
381
381
|
*/
|
|
382
382
|
class NullConversationManager {
|
|
383
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@cdklabs/cdk-appmod-catalog-blueprints.NullConversationManager", version: "1.17.
|
|
383
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@cdklabs/cdk-appmod-catalog-blueprints.NullConversationManager", version: "1.17.2" };
|
|
384
384
|
/**
|
|
385
385
|
* Get environment variables for Lambda configuration.
|
|
386
386
|
*/
|
|
@@ -426,7 +426,7 @@ exports.NullConversationManager = NullConversationManager;
|
|
|
426
426
|
* ```
|
|
427
427
|
*/
|
|
428
428
|
class CognitoAuthenticator {
|
|
429
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@cdklabs/cdk-appmod-catalog-blueprints.CognitoAuthenticator", version: "1.17.
|
|
429
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@cdklabs/cdk-appmod-catalog-blueprints.CognitoAuthenticator", version: "1.17.2" };
|
|
430
430
|
/**
|
|
431
431
|
* The Cognito User Pool.
|
|
432
432
|
*/
|
|
@@ -564,7 +564,7 @@ exports.CognitoAuthenticator = CognitoAuthenticator;
|
|
|
564
564
|
* ```
|
|
565
565
|
*/
|
|
566
566
|
class DynamoDBSessionIndex {
|
|
567
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@cdklabs/cdk-appmod-catalog-blueprints.DynamoDBSessionIndex", version: "1.17.
|
|
567
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@cdklabs/cdk-appmod-catalog-blueprints.DynamoDBSessionIndex", version: "1.17.2" };
|
|
568
568
|
/**
|
|
569
569
|
* The DynamoDB table used for session index storage.
|
|
570
570
|
*/
|
|
@@ -630,7 +630,7 @@ exports.DynamoDBSessionIndex = DynamoDBSessionIndex;
|
|
|
630
630
|
* This authenticator provides NO security. Never use in production.
|
|
631
631
|
*/
|
|
632
632
|
class NoAuthenticator {
|
|
633
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@cdklabs/cdk-appmod-catalog-blueprints.NoAuthenticator", version: "1.17.
|
|
633
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@cdklabs/cdk-appmod-catalog-blueprints.NoAuthenticator", version: "1.17.2" };
|
|
634
634
|
/**
|
|
635
635
|
* No-op for NoAuthenticator since no authentication is performed.
|
|
636
636
|
*/
|
|
@@ -661,7 +661,7 @@ exports.NoAuthenticator = NoAuthenticator;
|
|
|
661
661
|
* ```
|
|
662
662
|
*/
|
|
663
663
|
class LambdaHostingAdapter {
|
|
664
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@cdklabs/cdk-appmod-catalog-blueprints.LambdaHostingAdapter", version: "1.17.
|
|
664
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@cdklabs/cdk-appmod-catalog-blueprints.LambdaHostingAdapter", version: "1.17.2" };
|
|
665
665
|
/** The communication adapter. */
|
|
666
666
|
communicationAdapter;
|
|
667
667
|
/** The authenticator. */
|
|
@@ -866,7 +866,7 @@ var NetworkMode;
|
|
|
866
866
|
* ```
|
|
867
867
|
*/
|
|
868
868
|
class AgentCoreRuntimeHostingAdapter {
|
|
869
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@cdklabs/cdk-appmod-catalog-blueprints.AgentCoreRuntimeHostingAdapter", version: "1.17.
|
|
869
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@cdklabs/cdk-appmod-catalog-blueprints.AgentCoreRuntimeHostingAdapter", version: "1.17.2" };
|
|
870
870
|
props;
|
|
871
871
|
constructor(props = {}) {
|
|
872
872
|
this.props = props;
|
|
@@ -1193,7 +1193,7 @@ exports.AgentCoreRuntimeHostingAdapter = AgentCoreRuntimeHostingAdapter;
|
|
|
1193
1193
|
* ```
|
|
1194
1194
|
*/
|
|
1195
1195
|
class InteractiveAgent extends base_agent_1.BaseAgent {
|
|
1196
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@cdklabs/cdk-appmod-catalog-blueprints.InteractiveAgent", version: "1.17.
|
|
1196
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@cdklabs/cdk-appmod-catalog-blueprints.InteractiveAgent", version: "1.17.2" };
|
|
1197
1197
|
agentFunction;
|
|
1198
1198
|
adapter;
|
|
1199
1199
|
sessionStore;
|
|
@@ -21,7 +21,7 @@ const constructs_1 = require("constructs");
|
|
|
21
21
|
* - `generateIamPermissions()`: Return IAM permissions specific to the KB type
|
|
22
22
|
*/
|
|
23
23
|
class BaseKnowledgeBase extends constructs_1.Construct {
|
|
24
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@cdklabs/cdk-appmod-catalog-blueprints.BaseKnowledgeBase", version: "1.17.
|
|
24
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@cdklabs/cdk-appmod-catalog-blueprints.BaseKnowledgeBase", version: "1.17.2" };
|
|
25
25
|
/**
|
|
26
26
|
* Human-readable name for this knowledge base.
|
|
27
27
|
*
|
|
@@ -56,7 +56,7 @@ const base_knowledge_base_1 = require("./base-knowledge-base");
|
|
|
56
56
|
* - Runtime configuration export for the retrieval tool
|
|
57
57
|
*/
|
|
58
58
|
class BedrockKnowledgeBase extends base_knowledge_base_1.BaseKnowledgeBase {
|
|
59
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@cdklabs/cdk-appmod-catalog-blueprints.BedrockKnowledgeBase", version: "1.17.
|
|
59
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@cdklabs/cdk-appmod-catalog-blueprints.BedrockKnowledgeBase", version: "1.17.2" };
|
|
60
60
|
/**
|
|
61
61
|
* The unique identifier for the Bedrock Knowledge Base.
|
|
62
62
|
*
|
|
@@ -40,7 +40,7 @@ const aws_lambda_1 = require("aws-cdk-lib/aws-lambda");
|
|
|
40
40
|
const batch_agent_1 = require("./batch-agent");
|
|
41
41
|
const localstack_1 = require("../localstack");
|
|
42
42
|
class LocalStackBatchAgent extends batch_agent_1.BatchAgent {
|
|
43
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@cdklabs/cdk-appmod-catalog-blueprints.LocalStackBatchAgent", version: "1.17.
|
|
43
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@cdklabs/cdk-appmod-catalog-blueprints.LocalStackBatchAgent", version: "1.17.2" };
|
|
44
44
|
constructor(scope, id, props) {
|
|
45
45
|
super(scope, id, props);
|
|
46
46
|
const localStackEnv = localstack_1.LocalStackIntegrationUtils.toLambdaEnvironment({
|
|
@@ -19,7 +19,7 @@ var BedrockCrossRegionInferencePrefix;
|
|
|
19
19
|
BedrockCrossRegionInferencePrefix["EU"] = "eu";
|
|
20
20
|
})(BedrockCrossRegionInferencePrefix || (exports.BedrockCrossRegionInferencePrefix = BedrockCrossRegionInferencePrefix = {}));
|
|
21
21
|
class BedrockModelUtils {
|
|
22
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@cdklabs/cdk-appmod-catalog-blueprints.BedrockModelUtils", version: "1.17.
|
|
22
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@cdklabs/cdk-appmod-catalog-blueprints.BedrockModelUtils", version: "1.17.2" };
|
|
23
23
|
static deriveActualModelId(props) {
|
|
24
24
|
const { modelId, crossRegionPrefix, usingCustomModelId } = BedrockModelUtils.deriveDefaults(props);
|
|
25
25
|
if (usingCustomModelId) {
|
|
@@ -9,7 +9,7 @@ const aws_lambda_1 = require("aws-cdk-lib/aws-lambda");
|
|
|
9
9
|
* Runtime versions should be done here.
|
|
10
10
|
*/
|
|
11
11
|
class DefaultRuntimes {
|
|
12
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@cdklabs/cdk-appmod-catalog-blueprints.DefaultRuntimes", version: "1.17.
|
|
12
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@cdklabs/cdk-appmod-catalog-blueprints.DefaultRuntimes", version: "1.17.2" };
|
|
13
13
|
/**
|
|
14
14
|
* Default runtime for all Lambda functions in the use cases.
|
|
15
15
|
*/
|
|
@@ -53,7 +53,7 @@ const constructs_1 = require("constructs");
|
|
|
53
53
|
* const bucketName = accessLog.bucketName;
|
|
54
54
|
*/
|
|
55
55
|
class AccessLog extends constructs_1.Construct {
|
|
56
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@cdklabs/cdk-appmod-catalog-blueprints.AccessLog", version: "1.17.
|
|
56
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@cdklabs/cdk-appmod-catalog-blueprints.AccessLog", version: "1.17.2" };
|
|
57
57
|
/**
|
|
58
58
|
* The S3 bucket for storing access logs
|
|
59
59
|
*/
|
|
@@ -9,7 +9,7 @@ const aws_stepfunctions_1 = require("aws-cdk-lib/aws-stepfunctions");
|
|
|
9
9
|
const aws_stepfunctions_tasks_1 = require("aws-cdk-lib/aws-stepfunctions-tasks");
|
|
10
10
|
const constructs_1 = require("constructs");
|
|
11
11
|
class EventbridgeBroker extends constructs_1.Construct {
|
|
12
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@cdklabs/cdk-appmod-catalog-blueprints.EventbridgeBroker", version: "1.17.
|
|
12
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@cdklabs/cdk-appmod-catalog-blueprints.EventbridgeBroker", version: "1.17.2" };
|
|
13
13
|
eventSource;
|
|
14
14
|
eventbus;
|
|
15
15
|
kmsKey;
|
|
@@ -7,7 +7,7 @@ const JSII_RTTI_SYMBOL_1 = Symbol.for("jsii.rtti");
|
|
|
7
7
|
const aws_ec2_1 = require("aws-cdk-lib/aws-ec2");
|
|
8
8
|
const constructs_1 = require("constructs");
|
|
9
9
|
class Network extends constructs_1.Construct {
|
|
10
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@cdklabs/cdk-appmod-catalog-blueprints.Network", version: "1.17.
|
|
10
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@cdklabs/cdk-appmod-catalog-blueprints.Network", version: "1.17.2" };
|
|
11
11
|
static useExistingVPCFromLookup(scope, id, options) {
|
|
12
12
|
const vpc = aws_ec2_1.Vpc.fromLookup(scope, `${id}-existingVpc`, options);
|
|
13
13
|
return new Network(scope, id, {
|
|
@@ -15,7 +15,7 @@ exports.DEFAULT_LOCALSTACK_SANDBOX_ENDPOINT_URL = 'http://host.docker.internal:4
|
|
|
15
15
|
*/
|
|
16
16
|
exports.DEFAULT_LOCALSTACK_OLLAMA_BASE_URL = 'http://host.docker.internal:11434';
|
|
17
17
|
class LocalStackIntegrationUtils {
|
|
18
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@cdklabs/cdk-appmod-catalog-blueprints.LocalStackIntegrationUtils", version: "1.17.
|
|
18
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@cdklabs/cdk-appmod-catalog-blueprints.LocalStackIntegrationUtils", version: "1.17.2" };
|
|
19
19
|
static DEFAULT_ENDPOINT_URL = 'http://localhost.localstack.cloud:4566';
|
|
20
20
|
static resolveConfig(config) {
|
|
21
21
|
const endpointUrl = config?.endpointUrl || LocalStackIntegrationUtils.DEFAULT_ENDPOINT_URL;
|
|
@@ -89,7 +89,7 @@ var FileType;
|
|
|
89
89
|
* to orchestrate processing, and executing the data loading pipeline.
|
|
90
90
|
*/
|
|
91
91
|
class DataLoader extends constructs_1.Construct {
|
|
92
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@cdklabs/cdk-appmod-catalog-blueprints.DataLoader", version: "1.17.
|
|
92
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@cdklabs/cdk-appmod-catalog-blueprints.DataLoader", version: "1.17.2" };
|
|
93
93
|
/** The S3 bucket used for storing files */
|
|
94
94
|
bucket;
|
|
95
95
|
/** The Step Functions state machine for orchestration */
|
|
@@ -44,7 +44,7 @@ const iam = __importStar(require("aws-cdk-lib/aws-iam"));
|
|
|
44
44
|
* Utility class for creating secure Lambda IAM policy statements with minimal permissions
|
|
45
45
|
*/
|
|
46
46
|
class LambdaIamUtils {
|
|
47
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@cdklabs/cdk-appmod-catalog-blueprints.LambdaIamUtils", version: "1.17.
|
|
47
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@cdklabs/cdk-appmod-catalog-blueprints.LambdaIamUtils", version: "1.17.2" };
|
|
48
48
|
static OBSERVABILITY_SUFFIX = '-secured';
|
|
49
49
|
/**
|
|
50
50
|
* Creates CloudWatch Logs policy statements for Lambda execution
|
package/lib/utilities/observability/cloudfront-distribution-observability-property-injector.js
CHANGED
|
@@ -4,7 +4,7 @@ exports.CloudfrontDistributionObservabilityPropertyInjector = void 0;
|
|
|
4
4
|
const JSII_RTTI_SYMBOL_1 = Symbol.for("jsii.rtti");
|
|
5
5
|
const aws_cloudfront_1 = require("aws-cdk-lib/aws-cloudfront");
|
|
6
6
|
class CloudfrontDistributionObservabilityPropertyInjector {
|
|
7
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@cdklabs/cdk-appmod-catalog-blueprints.CloudfrontDistributionObservabilityPropertyInjector", version: "1.17.
|
|
7
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@cdklabs/cdk-appmod-catalog-blueprints.CloudfrontDistributionObservabilityPropertyInjector", version: "1.17.2" };
|
|
8
8
|
constructUniqueId;
|
|
9
9
|
constructor() {
|
|
10
10
|
this.constructUniqueId = aws_cloudfront_1.Distribution.PROPERTY_INJECTION_ID;
|
|
@@ -71,7 +71,7 @@ const constructs_1 = require("constructs");
|
|
|
71
71
|
* @see https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Enable-TransactionSearch.html
|
|
72
72
|
*/
|
|
73
73
|
class CloudWatchTransactionSearch extends constructs_1.Construct {
|
|
74
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@cdklabs/cdk-appmod-catalog-blueprints.CloudWatchTransactionSearch", version: "1.17.
|
|
74
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@cdklabs/cdk-appmod-catalog-blueprints.CloudWatchTransactionSearch", version: "1.17.2" };
|
|
75
75
|
constructor(scope, id, props = {}) {
|
|
76
76
|
super(scope, id);
|
|
77
77
|
const samplingPercentage = props.samplingPercentage ?? 1;
|
|
@@ -8,7 +8,7 @@ const JSII_RTTI_SYMBOL_1 = Symbol.for("jsii.rtti");
|
|
|
8
8
|
* Contains default constants for Observability related configuration
|
|
9
9
|
*/
|
|
10
10
|
class DefaultObservabilityConfig {
|
|
11
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@cdklabs/cdk-appmod-catalog-blueprints.DefaultObservabilityConfig", version: "1.17.
|
|
11
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@cdklabs/cdk-appmod-catalog-blueprints.DefaultObservabilityConfig", version: "1.17.2" };
|
|
12
12
|
/**
|
|
13
13
|
* Default namespace for powertools
|
|
14
14
|
*/
|
|
@@ -8,7 +8,7 @@ const aws_lambda_1 = require("aws-cdk-lib/aws-lambda");
|
|
|
8
8
|
const aws_logs_1 = require("aws-cdk-lib/aws-logs");
|
|
9
9
|
const lambda_iam_utils_1 = require("../lambda-iam-utils");
|
|
10
10
|
class LambdaObservabilityPropertyInjector {
|
|
11
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@cdklabs/cdk-appmod-catalog-blueprints.LambdaObservabilityPropertyInjector", version: "1.17.
|
|
11
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@cdklabs/cdk-appmod-catalog-blueprints.LambdaObservabilityPropertyInjector", version: "1.17.2" };
|
|
12
12
|
constructUniqueId;
|
|
13
13
|
logGroupDataProtection;
|
|
14
14
|
constructor(logGroupDataProtection) {
|
|
@@ -7,7 +7,7 @@ const JSII_RTTI_SYMBOL_1 = Symbol.for("jsii.rtti");
|
|
|
7
7
|
const aws_cdk_lib_1 = require("aws-cdk-lib");
|
|
8
8
|
const aws_kms_1 = require("aws-cdk-lib/aws-kms");
|
|
9
9
|
class LogGroupDataProtectionUtils {
|
|
10
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@cdklabs/cdk-appmod-catalog-blueprints.LogGroupDataProtectionUtils", version: "1.17.
|
|
10
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@cdklabs/cdk-appmod-catalog-blueprints.LogGroupDataProtectionUtils", version: "1.17.2" };
|
|
11
11
|
static handleDefault(scope, props, removalPolicy) {
|
|
12
12
|
let logGroupDataProtection;
|
|
13
13
|
const tempLogGroupDataProtection = props || {
|
|
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.PowertoolsConfig = void 0;
|
|
4
4
|
const JSII_RTTI_SYMBOL_1 = Symbol.for("jsii.rtti");
|
|
5
5
|
class PowertoolsConfig {
|
|
6
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@cdklabs/cdk-appmod-catalog-blueprints.PowertoolsConfig", version: "1.17.
|
|
6
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@cdklabs/cdk-appmod-catalog-blueprints.PowertoolsConfig", version: "1.17.2" };
|
|
7
7
|
/**
|
|
8
8
|
* Generate default Lambda configuration for Powertools.
|
|
9
9
|
*
|
|
@@ -7,7 +7,7 @@ const aws_iam_1 = require("aws-cdk-lib/aws-iam");
|
|
|
7
7
|
const aws_logs_1 = require("aws-cdk-lib/aws-logs");
|
|
8
8
|
const aws_stepfunctions_1 = require("aws-cdk-lib/aws-stepfunctions");
|
|
9
9
|
class StateMachineObservabilityPropertyInjector {
|
|
10
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@cdklabs/cdk-appmod-catalog-blueprints.StateMachineObservabilityPropertyInjector", version: "1.17.
|
|
10
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@cdklabs/cdk-appmod-catalog-blueprints.StateMachineObservabilityPropertyInjector", version: "1.17.2" };
|
|
11
11
|
constructUniqueId;
|
|
12
12
|
logGroupDataProtection;
|
|
13
13
|
constructor(logGroupDataProtection) {
|
|
@@ -77,7 +77,7 @@ exports.DEFAULT_SPA_ERROR_RESPONSES = [
|
|
|
77
77
|
* - Security configurations
|
|
78
78
|
*/
|
|
79
79
|
class Frontend extends constructs_1.Construct {
|
|
80
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@cdklabs/cdk-appmod-catalog-blueprints.Frontend", version: "1.17.
|
|
80
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@cdklabs/cdk-appmod-catalog-blueprints.Frontend", version: "1.17.2" };
|
|
81
81
|
/** The S3 bucket hosting the frontend assets */
|
|
82
82
|
bucket;
|
|
83
83
|
/** The CloudFront distribution */
|