@rnbw/aws-cdk-tls
v0.1.0
Published
TLS-related CDK constructs
Downloads
3
Maintainers
Readme
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