0.7.6 • Published 1 year ago

@event-scout/construct v0.7.6

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

@event-scout/construct

Create resources necessary to use EventScout.

This repository is part of EventScout.

Installation

pnpm add -D @event-scout/construct

or if using yarn

yarn add --dev @event-scout/construct

or if using npm

npm install --save-dev @event-scout/construct

Deploy the resources

The resources for EventScout are only available through a CDK construct for the moment.

Instantiate the CDK construct:

import { EventScout } from '@event-scout/construct';
import { CfnOutput } from 'aws-cdk-lib';
import { EventBus } from 'aws-cdk-lib/aws-events';

// create the necessary resources
const { httpEndpoint } = new EventScout(this, 'EventScout', {
  eventBus: EventBus.fromEventBusName(this, 'EventBus', eventBusName),
});

// export the endpoint value for easier use in tests
new CfnOutput(this, 'EventScoutEndpoint', {
  value: httpEndpoint,
  description: 'EventScout endpoint',
  exportName: '<your export name>',
});

The export here will be useful to retrieve the EventScout endpoint for your tests.

⚠ Since the EventScout construct provisions Lambda, it must be deployed with the CDK and is not compatible with @swarmion/serverless-cdk-plugin

0.7.6

1 year ago

0.7.5

1 year ago

0.7.4

1 year ago

0.7.3

1 year ago

0.7.2

1 year ago

0.7.1

1 year ago

0.7.0

1 year ago

0.6.1

1 year ago

0.6.0

1 year ago

0.5.6

1 year ago

0.5.5

1 year ago

0.5.4

2 years ago

0.5.3

2 years ago

0.5.0

2 years ago

0.4.0

2 years ago

0.5.2

2 years ago

0.5.1

2 years ago

0.3.2

2 years ago

0.3.1

2 years ago

0.3.0

2 years ago

0.2.1

3 years ago

0.2.0

3 years ago

0.1.9

3 years ago

0.1.8

3 years ago

0.1.7

3 years ago

0.1.6

3 years ago

0.1.5

3 years ago

0.1.4

3 years ago

0.1.3

3 years ago

0.1.2

3 years ago

0.1.1

3 years ago

0.1.0

3 years ago