@knowtrace/cdk

0.1.1 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i @knowtrace/cdk

Weekly Downloads

0

Version

0.1.1

License

none

Unpacked Size

3.96 kB

Total Files

7

Last publish

Collaborators

  • finlaysonstudio