{"_id":"@atakora/cdk","_rev":"2-54cbaaba2583c80c9719d905a89224ea","name":"@atakora/cdk","dist-tags":{"latest":"0.0.2"},"versions":{"0.0.1":{"name":"@atakora/cdk","version":"0.0.1","keywords":["azure","infrastructure","cdk","arm","bicep","infrastructure-as-code"],"author":"","license":"ISC","_id":"@atakora/cdk@0.0.1","maintainers":[{"name":"dataminion","email":"leahy@apache.org"}],"dist":{"shasum":"06bdf33fb9f69cca7f528e7ca902cdfd75a7f73a","tarball":"https://registry.npmjs.org/@atakora/cdk/-/cdk-0.0.1.tgz","fileCount":559,"integrity":"sha512-CLEtaRIJ3ZhPxqWATba3ZEzi34m1uKIE5ZlWVTBVMtyqkElZ2Y4brJq/VDYdXYMq8X3EmJc5fvr1uQXuUiTWdQ==","signatures":[{"sig":"MEUCIQD/Kg4q7mFE831rPcaU61HzjTIaguvylampOVJyCYJF4QIgdPs3/YiZ5vGS2ipzRnc6s41XuAY0fD2vZpF7+ByPkDA=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":2647605},"main":"./dist/index.js","types":"./dist/index.d.ts","engines":{"npm":">=7.0.0","node":">=14.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.js"},"./sql":{"types":"./dist/sql/index.d.ts","import":"./dist/sql/index.js","require":"./dist/sql/index.js"},"./web":{"types":"./dist/web/index.d.ts","import":"./dist/web/index.js","require":"./dist/web/index.js"},"./search":{"types":"./dist/search/index.d.ts","import":"./dist/search/index.js","require":"./dist/search/index.js"},"./compute":{"types":"./dist/compute/index.d.ts","import":"./dist/compute/index.js","require":"./dist/compute/index.js"},"./network":{"types":"./dist/network/index.d.ts","import":"./dist/network/index.js","require":"./dist/network/index.js"},"./storage":{"types":"./dist/storage/index.d.ts","import":"./dist/storage/index.js","require":"./dist/storage/index.js"},"./insights":{"types":"./dist/insights/index.d.ts","import":"./dist/insights/index.js","require":"./dist/insights/index.js"},"./keyvault":{"types":"./dist/keyvault/index.d.ts","import":"./dist/keyvault/index.js","require":"./dist/keyvault/index.js"},"./functions":{"types":"./dist/functions/index.d.ts","import":"./dist/functions/index.js","require":"./dist/functions/index.js"},"./resources":{"types":"./dist/resources/index.d.ts","import":"./dist/resources/index.js","require":"./dist/resources/index.js"},"./documentdb":{"types":"./dist/documentdb/index.d.ts","import":"./dist/documentdb/index.js","require":"./dist/documentdb/index.js"},"./apimanagement":{"types":"./dist/apimanagement/index.d.ts","import":"./dist/apimanagement/index.js","require":"./dist/apimanagement/index.js"},"./cognitiveservices":{"types":"./dist/cognitiveservices/index.d.ts","import":"./dist/cognitiveservices/index.js","require":"./dist/cognitiveservices/index.js"},"./operationalinsights":{"types":"./dist/operationalinsights/index.d.ts","import":"./dist/operationalinsights/index.js","require":"./dist/operationalinsights/index.js"}},"gitHead":"1895ec67bca118321d95cd4995cfe44f6749b999","scripts":{"test":"vitest run","build":"tsc","clean":"rm -rf ./dist && rm -rf ../../dist/cdk","test:watch":"vitest","test:coverage":"vitest run --coverage","bundle:analyze":"tsx scripts/analyze-bundle.ts","circular:check":"madge --circular --extensions ts src/"},"_npmUser":{"name":"dataminion","email":"leahy@apache.org"},"_npmVersion":"10.9.3","description":"Azure resource constructs for Atakora - organized by Microsoft.* namespaces","directories":{},"sideEffects":false,"_nodeVersion":"22.20.0","dependencies":{"@atakora/lib":"*"},"publishConfig":{"access":"public"},"typesVersions":{"*":{".":["./dist/index.d.ts"],"sql":["./dist/sql/index.d.ts"],"web":["./dist/web/index.d.ts"],"search":["./dist/search/index.d.ts"],"compute":["./dist/compute/index.d.ts"],"network":["./dist/network/index.d.ts"],"storage":["./dist/storage/index.d.ts"],"insights":["./dist/insights/index.d.ts"],"keyvault":["./dist/keyvault/index.d.ts"],"functions":["./dist/functions/index.d.ts"],"resources":["./dist/resources/index.d.ts"],"documentdb":["./dist/documentdb/index.d.ts"],"apimanagement":["./dist/apimanagement/index.d.ts"],"cognitiveservices":["./dist/cognitiveservices/index.d.ts"],"operationalinsights":["./dist/operationalinsights/index.d.ts"]}},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.20.6","madge":"^8.0.0","esbuild":"^0.19.12","vite-tsconfig-paths":"^5.1.4","webpack-bundle-analyzer":"^4.10.1"},"_npmOperationalInternal":{"tmp":"tmp/cdk_0.0.1_1760143420982_0.3842476916595745","host":"s3://npm-registry-packages-npm-production"}},"0.0.2":{"name":"@atakora/cdk","version":"0.0.2","description":"Azure resource constructs for Atakora - organized by Microsoft.* namespaces","main":"./dist/index.js","types":"./dist/index.d.ts","publishConfig":{"access":"public"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.js"},"./network":{"types":"./dist/network/index.d.ts","import":"./dist/network/index.js","require":"./dist/network/index.js"},"./storage":{"types":"./dist/storage/index.d.ts","import":"./dist/storage/index.js","require":"./dist/storage/index.js"},"./compute":{"types":"./dist/compute/index.d.ts","import":"./dist/compute/index.js","require":"./dist/compute/index.js"},"./web":{"types":"./dist/web/index.d.ts","import":"./dist/web/index.js","require":"./dist/web/index.js"},"./keyvault":{"types":"./dist/keyvault/index.d.ts","import":"./dist/keyvault/index.js","require":"./dist/keyvault/index.js"},"./sql":{"types":"./dist/sql/index.d.ts","import":"./dist/sql/index.js","require":"./dist/sql/index.js"},"./insights":{"types":"./dist/insights/index.d.ts","import":"./dist/insights/index.js","require":"./dist/insights/index.js"},"./operationalinsights":{"types":"./dist/operationalinsights/index.d.ts","import":"./dist/operationalinsights/index.js","require":"./dist/operationalinsights/index.js"},"./documentdb":{"types":"./dist/documentdb/index.d.ts","import":"./dist/documentdb/index.js","require":"./dist/documentdb/index.js"},"./cognitiveservices":{"types":"./dist/cognitiveservices/index.d.ts","import":"./dist/cognitiveservices/index.js","require":"./dist/cognitiveservices/index.js"},"./search":{"types":"./dist/search/index.d.ts","import":"./dist/search/index.js","require":"./dist/search/index.js"},"./apimanagement":{"types":"./dist/apimanagement/index.d.ts","import":"./dist/apimanagement/index.js","require":"./dist/apimanagement/index.js"},"./apimanagement/rest":{"types":"./dist/apimanagement/rest/index.d.ts","import":"./dist/apimanagement/rest/index.js","require":"./dist/apimanagement/rest/index.js"},"./resources":{"types":"./dist/resources/index.d.ts","import":"./dist/resources/index.js","require":"./dist/resources/index.js"},"./functions":{"types":"./dist/functions/index.d.ts","import":"./dist/functions/index.js","require":"./dist/functions/index.js"},"./api/rest":{"types":"./dist/api/rest/index.d.ts","import":"./dist/api/rest/index.js","require":"./dist/api/rest/index.js"},"./storage/queue":{"types":"./dist/storage/queue/index.d.ts","import":"./dist/storage/queue/index.js","require":"./dist/storage/queue/index.js"}},"typesVersions":{"*":{".":["./dist/index.d.ts"],"network":["./dist/network/index.d.ts"],"storage":["./dist/storage/index.d.ts"],"compute":["./dist/compute/index.d.ts"],"web":["./dist/web/index.d.ts"],"keyvault":["./dist/keyvault/index.d.ts"],"sql":["./dist/sql/index.d.ts"],"insights":["./dist/insights/index.d.ts"],"operationalinsights":["./dist/operationalinsights/index.d.ts"],"documentdb":["./dist/documentdb/index.d.ts"],"cognitiveservices":["./dist/cognitiveservices/index.d.ts"],"search":["./dist/search/index.d.ts"],"apimanagement":["./dist/apimanagement/index.d.ts"],"apimanagement/rest":["./dist/apimanagement/rest/index.d.ts"],"resources":["./dist/resources/index.d.ts"],"functions":["./dist/functions/index.d.ts"],"api/rest":["./dist/api/rest/index.d.ts"],"storage/queue":["./dist/storage/queue/index.d.ts"]}},"sideEffects":false,"scripts":{"build":"tsc","test":"vitest run","test:watch":"vitest","test:coverage":"vitest run --coverage","clean":"rm -rf ./dist && rm -rf ../../dist/cdk","bundle:analyze":"tsx scripts/analyze-bundle.ts","circular:check":"madge --circular --extensions ts src/"},"keywords":["azure","infrastructure","cdk","arm","bicep","infrastructure-as-code"],"author":"","license":"ISC","dependencies":{"@atakora/lib":"*"},"devDependencies":{"esbuild":"^0.19.12","madge":"^8.0.0","tsx":"^4.20.6","vite-tsconfig-paths":"^5.1.4","webpack-bundle-analyzer":"^4.10.1"},"engines":{"node":">=14.0.0","npm":">=7.0.0"},"_id":"@atakora/cdk@0.0.2","gitHead":"1895ec67bca118321d95cd4995cfe44f6749b999","_nodeVersion":"22.20.0","_npmVersion":"10.9.3","dist":{"integrity":"sha512-zQGdd2GwSW/2tR+ZW8nyHBdfvN+fyOnziPFR0h2goI/oIcAP5Ah3xW3PxYryO0+cro2165PdjZAjuzEQ+OA2gw==","shasum":"af30efaba9a335bbe8bd30b6f19957a42fd02fb3","tarball":"https://registry.npmjs.org/@atakora/cdk/-/cdk-0.0.2.tgz","fileCount":607,"unpackedSize":2777868,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQCBdQd6QkGuOlj6PYa2k3q4N//712kNlUhsKxs2Py/prAIgMuuaygAWUwKJFl7ZhfQwPaDS9uDxa4ahI8dcFyqD2Ms="}]},"_npmUser":{"name":"dataminion","email":"leahy@apache.org"},"directories":{},"maintainers":[{"name":"dataminion","email":"leahy@apache.org"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/cdk_0.0.2_1760151942468_0.6350483417656958"},"_hasShrinkwrap":false}},"time":{"created":"2025-10-11T00:43:40.878Z","modified":"2025-10-11T03:05:42.920Z","0.0.1":"2025-10-11T00:43:41.327Z","0.0.2":"2025-10-11T03:05:42.718Z"},"license":"ISC","keywords":["azure","infrastructure","cdk","arm","bicep","infrastructure-as-code"],"description":"Azure resource constructs for Atakora - organized by Microsoft.* namespaces","maintainers":[{"name":"dataminion","email":"leahy@apache.org"}],"readme":"# @atakora/cdk\n\nAzure resource constructs for Atakora - organized by Microsoft.* namespaces.\n\n## Overview\n\nThe `@atakora/cdk` package contains Azure resource implementations organized by Microsoft resource provider namespaces. Resources are accessible through tree-shakable, namespace-organized imports that mirror Azure's ARM structure.\n\n## Installation\n\n```bash\nnpm install @atakora/cdk\n```\n\n## Requirements\n\n- Node.js: 14.0.0 or higher\n- TypeScript: 4.5.0 or higher (for full subpath export type support)\n- npm: 7.0.0 or higher\n- `@atakora/lib`: Core framework (automatically installed)\n\n## Quick Start\n\n```typescript\nimport { App, ResourceGroupStack } from '@atakora/lib';\nimport { VirtualNetworks, NetworkSecurityGroups } from '@atakora/cdk/network';\nimport { StorageAccounts } from '@atakora/cdk/storage';\nimport { Sites, ServerFarms } from '@atakora/cdk/web';\n\nconst app = new App();\nconst stack = new ResourceGroupStack(app, 'MyStack', {\n  resourceGroupName: 'rg-myapp-prod',\n  location: 'eastus',\n});\n\nconst vnet = new VirtualNetworks(stack, 'VNet', {\n  virtualNetworkName: 'vnet-myapp',\n  addressSpace: { addressPrefixes: ['10.0.0.0/16'] },\n});\n\nconst storage = new StorageAccounts(stack, 'Storage', {\n  storageAccountName: 'stmyappprod',\n  sku: { name: 'Standard_LRS' },\n});\n```\n\n## Available Namespaces\n\n| Namespace | Microsoft Provider | Key Resources |\n|-----------|-------------------|---------------|\n| `@atakora/cdk/network` | Microsoft.Network | Virtual Networks, Subnets, NSGs, Public IPs, Private Endpoints |\n| `@atakora/cdk/storage` | Microsoft.Storage | Storage Accounts |\n| `@atakora/cdk/compute` | Microsoft.Compute | Virtual Machines |\n| `@atakora/cdk/web` | Microsoft.Web | App Services, App Service Plans |\n| `@atakora/cdk/keyvault` | Microsoft.KeyVault | Key Vaults |\n| `@atakora/cdk/sql` | Microsoft.Sql | SQL Servers, Databases |\n| `@atakora/cdk/insights` | Microsoft.Insights | Application Insights, Alerts |\n| `@atakora/cdk/operationalinsights` | Microsoft.OperationalInsights | Log Analytics Workspaces |\n| `@atakora/cdk/documentdb` | Microsoft.DocumentDB | Cosmos DB |\n| `@atakora/cdk/cognitiveservices` | Microsoft.CognitiveServices | OpenAI Services |\n| `@atakora/cdk/search` | Microsoft.Search | AI Search Services |\n| `@atakora/cdk/apimanagement` | Microsoft.ApiManagement | API Management |\n| `@atakora/cdk/resources` | Microsoft.Resources | Resource Groups |\n\n## Documentation\n\nFor complete documentation, see:\n\n- [CDK Package Guide](../../docs/usage/guides/cdk-package-guide.md)\n- [Resource Examples](../../docs/usage/examples/)\n- [API Reference](../../docs/reference/api/cdk/)\n- [Migration Guide](../../docs/usage/guides/migration/cdk-migration-summary.md)\n- [Architecture (ADR-003)](../../docs/design/architecture/adr-003-cdk-package-architecture.md)\n\n## Development\n\n### Testing\n\n```bash\nnpm test              # Run all tests\nnpm run test:watch    # Watch mode\nnpm run test:coverage # Coverage report\n```\n\nCoverage requirements: 80% lines/functions/statements, 75% branches\n\n### Quality Tools\n\n```bash\nnpm run bundle:analyze  # Analyze bundle sizes\nnpm run circular:check  # Detect circular dependencies\nnpm run build          # Production build\n```\n\n## Architecture Principles\n\n1. **Namespace Organization**: Resources grouped by Microsoft.* provider\n2. **Subpath Exports**: Tree-shakable imports via package.json exports\n3. **Flat Structure**: No subcategories within namespaces (until 30+ resources)\n4. **Clear Boundaries**: Resources in CDK, framework in lib\n5. **Type Safety**: Full TypeScript support with strict mode\n\nSee [ADR-003](../../docs/design/architecture/adr-003-cdk-package-architecture.md) for complete architectural details.\n\n## Contributing\n\nWhen contributing resources:\n\n1. Follow the established namespace structure\n2. Add comprehensive tests for new resources\n3. Document public APIs with TSDoc\n4. Verify bundle size impact with `npm run bundle:analyze`\n5. Check for circular dependencies with `npm run circular:check`\n\nSee [Contributing Guide](../../docs/contributor/CONTRIBUTING.md) for detailed guidelines.\n\n## License\n\nISC\n","readmeFilename":"README.md"}