cdk-http-pinger
TypeScript icon, indicating that this package has built-in type declarations

0.1.222 • Public • Published

NPM version PyPI version Release

cdk-http-pinger

HTTP Pinger for AWS CDK

Sample

import { Pinger } from 'cdk-http-pinger';

const app = new App();

const stack = new Stack(app, 'my-stack');

const pinger = new Pinger(stack, 'Pinger', { url: 'https://aws.amazon.com' });

new CfnOutput(stack, 'HttpStatus', { value: pinger.httpStatus });
new CfnOutput(stack, 'HtmlTitle', { value: pinger.htmlTitle });
new CfnOutput(stack, 'URL', { value: pinger.url });
new CfnOutput(stack, 'Body', { value: pinger.body });

Readme

Keywords

Package Sidebar

Install

npm i cdk-http-pinger

Weekly Downloads

222

Version

0.1.222

License

Apache-2.0

Unpacked Size

123 kB

Total Files

17

Last publish

Collaborators

  • pahud