3.0.16 • Published 4 months ago

@epilot/cdk-constructs v3.0.16

Weekly downloads
-
License
MIT
Repository
gitlab
Last release
4 months ago

cdk-constructs

Reusable CDK Constructs for other epilot microservices to consume

Setup

Add latest package to your project with npm

npm i -D @epilot/cdk-constructs

Start using cdk constructs in your infrastructure definition Examples

1.Http OpenAPI definition

Summary: It will create Http API V2 resource in API Gateway, Route definitions and 1 lambda integration for each defined route

import { HttpOpenApi } from '@epilot/cdk-constructs'

// ... in your stack definition
const api = new HttpOpenApi(this, 'MyApi', {
    serviceName: 'my-service',
    openApiSpec: './openapi.yml',
    integrations: [
        {
            operationId: 'getEntity', // found in openapi.yml
            handler: 'api.getEntity' // file.method to handle the request
            entry: 'index.ts'
        },
        {
            operationId: 'storeEntity',
            handler: 'api.storeEntity',
            entry: 'index.ts'
        }
    ]
})

Steps for release

  1. npm login (credentials are stored in 1password)
  2. npm run release
  3. npm publish
3.0.16

4 months ago

3.0.15

6 months ago

3.0.12

8 months ago

3.0.4

10 months ago

3.0.13

8 months ago

3.0.10

8 months ago

3.0.11

8 months ago

3.0.8

10 months ago

3.0.7

10 months ago

3.0.14

8 months ago

3.0.6

10 months ago

3.0.5

10 months ago

3.0.9

8 months ago

3.0.2

1 year ago

2.1.2

2 years ago

2.1.1

2 years ago

2.0.10

2 years ago

2.0.8

2 years ago

2.0.7

2 years ago

2.0.6

2 years ago

1.0.7

3 years ago

0.2.27

3 years ago

1.0.6

3 years ago

1.0.5

3 years ago

1.0.4

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.3

3 years ago

0.2.24

3 years ago

0.2.22

3 years ago

0.0.22

3 years ago

0.0.23

3 years ago

0.0.24

3 years ago

0.2.20

3 years ago

0.2.19

3 years ago

0.2.18

3 years ago

0.0.30

3 years ago

0.0.31

3 years ago

0.0.33

3 years ago

0.0.34

3 years ago

0.2.16

3 years ago

0.2.14

3 years ago

0.2.13

3 years ago

0.2.11

3 years ago

0.2.10

3 years ago

0.0.26

3 years ago

0.0.27

3 years ago

0.0.28

3 years ago

0.0.29

3 years ago

0.2.7

3 years ago

0.2.9

3 years ago

0.2.6

3 years ago

0.2.3

3 years ago

0.2.5

3 years ago

0.2.4

3 years ago

0.2.1

3 years ago

0.2.2

3 years ago

0.2.0

3 years ago

0.1.1

3 years ago

0.1.0

3 years ago

0.0.10

3 years ago

0.0.9

3 years ago

0.0.6

3 years ago

0.0.5

3 years ago

0.0.4

3 years ago

0.0.2

3 years ago