HTTP Pinger for AWS CDK


License
Apache-2.0
Install
pip install cdk-http-pinger==0.1.207

Documentation

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 });