open-index/open-npm huggingface dataset:
npm package: @phila/cdk-dummy
Description: This is a blank project for CDK development with TypeScript.
Latest version: 0.0.4

# Welcome to your CDK TypeScript project

This is a blank project for CDK development with TypeScript.

The `cdk.json` file tells the CDK Toolkit how to execute your app.

## Useful commands

- `npm run build` compile typescript to js
- `npm run watch` watch for changes and compile
- `npm run test` perform the jest unit tests
- `npx cdk deploy` deploy this stack to your default AWS account/region
- `npx cdk diff` compare deployed stack with current state
- `npx cdk synth` emits the synthesized CloudFormation template
npm package: @phila/cdk-dummy-test
Description: Dummy library for testing the monorepo configuration
Latest version: 0.0.13

# DummyTest CDK Construct Library

Dummy library for testing the monorepo configuration

## Overview

This CDK construct library provides a reusable AWS infrastructure component. It creates an S3 bucket with versioning enabled and proper lifecycle management.

## Installation

```bash
npm install @phila/cdk-dummy-test
```

## Usage

```typescript
import { App, Stack } from "aws-cdk-lib";

import { DummyTestConstruct } from "@phila/cdk-dummy-test";

const app = new App();
const stack = new Stack(app, "MyStack", {
  env: {
    account: "123456789012",
    region: "us-east-1",
  },
});

const dummyTestConstruct = new DummyTestConstruct(stack, "DummyTestConstruct");

// Access the created S3 bucket
console.log(dummyTestConstruct.bucket.bucketName);
```

## Features

- **S3 Bucket**: Creates a versioned S3 bucket
- **Lifecycle Management**: Automatic cleanup of objects
- **CDK Outputs**: Exposes bucket name as CloudFormation output

## Development

### Prerequisites

- Node.js 22+
- pnpm
- AWS CDK CLI

### Commands

- `pnpm run build` - Build the library
- `pnpm run watch` - Build in watch mode
- `pnpm run test` - Run tests
- `pnpm run lint` - Lint code
- `pnpm run format` - Format code
npm package: @phila/cdk-kms
Description: City of Philadelphia Key Management Service for encryption
Latest version: 0.0.1

# KMS CDK Construct Library

City of Philadelphia Key Management Service for encryption

## Overview

This CDK construct library provides a reusable AWS KMS key for encryption. It creates a KMS key with automatic key rotation enabled, proper alias management, and NIST 800-53 Rev 5 compliance configurations.

## Installation

```bash
npm install @phila/cdk-kms
```

## Usage

```typescript
import { Stack } from "aws-cdk-lib";

import { KmsConstruct } from "@phila/cdk-kms";

import { Compliance, Confidentiality } from "../../_shared/GlobalProps.js";

const stack = new Stack(app, "MyStack");

const kmsConstruct = new KmsConstruct(stack, "MyKmsKey", {
  project: "my-project",
  environment: "production",
  department: "4-oit",
  team: "Platform Engineering",
  contact: "team@phila.gov",
  compliance: Compliance.STANDARD,
  confidentiality: Confidentiality.MEDIUM,
  tags: {
    Example: "Example tag",
  },
});

// Access the created KMS key
console.log(kmsConstruct.kmsKey.keyArn);
console.log(kmsConstruct.output.kmsKeyAlias);
```

## Features

- **KMS Key**: Creates a KMS key with automatic key rotation enabled
- **Key Alias**: Automatically creates an alias in the format `alias/{project}-{environment}-kms-key`
- **Environment-based Removal Policy**: RETAIN in production, DESTROY in non-production environments
- **CDK Outputs**: Exposes KMS key ARN and alias as CloudFormation outputs
- **Compliance**: NIST 800-53 Rev 5 compliant configurations

## Props

The construct requires `GlobalProps`. For complete documentation on `GlobalProps`, including all properties, enums, and usage examples, see the [Shared CDK Construct Library documentation](../_shared/README.md#globalprops).

## Outputs

The construct exposes:

- `kmsKey: Key` - The AWS KMS key instance
- `output.kmsKeyArn: string` - The ARN of the KMS key
- `output.kmsKeyAlias: string` - The alias of the KMS key (format: `alias/{project}-{environment}-kms-key`)

## Development

### Prerequisites

- Node.js 22+
- pnpm
- AWS CDK CLI

### Commands

- `pnpm run build` - Build the library
- `pnpm run watch` - Build in watch mode
- `pnpm run test` - Run tests
- `pnpm run lint` - Lint code
- `pnpm run format` - Format code