@knowtrace/cdk
v0.1.1
Published
CDK resources for Know Trace
Downloads
1
Readme
Know Trace CDK 🥠🌨️
CDK resources for Know Trace
📋 Usage
Installation
npm install @knowtrace/cdk
Example
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);
📖 Reference
CDK
TRACE.CDK.LIB
KNOWN
TRACE.KNOWN.BROWSER
TRACE.KNOWN.SECRET
TRACE.KNOWN.SESSION
📝 Changelog
| Date | Version | Summary | | ---------- | ------- | -------------- | | 7/6/2024 | 0.1.0 | Initial deploy | | 7/6/2024 | 0.0.1 | Initial commit |
📜 License
Published by Finlayson Studio. All rights reserved