@rnbw/aws-cdk-tls
TypeScript icon, indicating that this package has built-in type declarations

0.1.0 • Public • Published

aws-cdk-tls

TLS-related constructs for AWS CDK.

Library

Domain certificate

const { DomainCertificate } = require("@rnbw/aws-cdk-tls");

class MyStack extends cdk.Stack {
  // ...

  const { certificate } = new DomainCertificate(this, "www-example-com-tls", {
    zoneDomain: "example.com",
    domain: "www.example.com"
  });

  // ...

  new cdk.CfnOutput(this, "CertificateArn", {
    value: certificate.certificateArn
  });
}

Check the full example.

Development

Useful commands

  • yarn build
  • yarn test

Roadmap

  • DomainCertificate: subject alternative names

Dependencies (3)

Dev Dependencies (6)

Package Sidebar

Install

npm i @rnbw/aws-cdk-tls

Weekly Downloads

0

Version

0.1.0

License

MIT

Unpacked Size

5.6 kB

Total Files

8

Last publish

Collaborators

  • lufo