CDK resources for Know Trace
npm install @knowtrace/cdk
import { TRACE } from "@knowtrace/cdk";
import cdk from "aws-cdk-lib";
import secretsManager from "aws-cdk-lib/aws-secretsmanager";
// ...
// Secrets Manager
const traceSigningKey = new secretsManager.Secret(this, "TraceSigningKey", {
removalPolicy: cdk.RemovalPolicy.DESTROY,
// secretStringValue: secretsManager.SecretValue.unsafePlainText(TRACE.KNOWN.SECRET),
});
cdk.Tags.of(traceSigningKey).add(CDK.TAG.ROLE, CDK.ROLE.API);
cdk.Tags.of(traceSigningKey).add(CDK.TAG.LIB, TRACE.LOG_TAG);
TRACE.CDK.LIB
TRACE.KNOWN.BROWSER
TRACE.KNOWN.SECRET
TRACE.KNOWN.SESSION
Date | Version | Summary |
---|---|---|
7/6/2024 | 0.1.0 | Initial deploy |
7/6/2024 | 0.0.1 | Initial commit |
Published by Finlayson Studio. All rights reserved