معرفی شرکت ها


alma-cdk.domain-0.0.9


Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر

توضیحات

Domain with certificate
ویژگی مقدار
سیستم عامل -
نام فایل alma-cdk.domain-0.0.9
نام alma-cdk.domain
نسخه کتابخانه 0.0.9
نگهدارنده []
ایمیل نگهدارنده []
نویسنده Alma Media<opensource@almamedia.dev>
ایمیل نویسنده -
آدرس صفحه اصلی https://github.com/alma-cdk/domain.git
آدرس اینترنتی https://pypi.org/project/alma-cdk.domain/
مجوز Apache-2.0
<div align="center"> <br/> <br/> <h1> <img height="140" src="assets/alma-cdk-domain.svg" alt="Alma CDK Domain" /> <br/> <br/> </h1> ```sh npm i -D @alma-cdk/domain ``` <div align="left"> Simplifies creation of subdomain with a TLS certificate and configuration with services like AWS CloudFront. </div> <br/> </div><br/> ## 🚧   Project Stability ![experimental](https://img.shields.io/badge/stability-experimental-yellow) This construct is still versioned with `v0` major version and breaking changes might be introduced if necessary (without a major version bump), though we aim to keep the API as stable as possible (even within `v0` development). We aim to publish `v1.0.0` soon and after that breaking changes will be introduced via major version bumps. <br/> ## Getting Started ```python import { Domain } from '@alma-cdk/domain'; import * as cloudfront from 'aws-cdk-lib/aws-cloudfront'; ``` ```python const domain = new Domain(this, 'Domain', { zone: 'example.com', // retrieve the zone via lookup, or provide IHostedZone subdomain: 'foobar', // optional subdomain }); const distribution = new cloudfront.Distribution(this, 'Distribution', { /* other cloudfront configuration values removed for brevity */ certificate: domain.certificate, // reference to created ICertificate domainNames: [domain.fqdn], // foobar.example.com enableIpv6: domain.enableIpv6, // true by default – set enableIpv6 prop to false during new Domain() }) // assign CloudFront distribution to given fqdn with A + AAAA records domain.addTarget(new targets.CloudFrontTarget(distribution)) ``` <br/> ### CloudFront helper Instead of assigning `certificate`, `domainNames` and `enableIpv6` properties individually, you may choose to use the one-liner helper utility method `configureCloudFront()` to set all three values at once – don't forget to use `...` object spread syntax: ```python const distribution = new cloudfront.Distribution(this, 'Distribution', { /* other cloudfront configuration values removed for brevity */ // one-liner to configure certificate, domainNames and IPv6 support ...domain.configureCloudFront(), }) // assign CloudFront distribution to given fqdn with A + AAAA records domain.addTarget(new targets.CloudFrontTarget(distribution)) ``` Note: The returned domain names configuration is `domainNames: [domain.fqdn]`, meaning this only works in scenarios where your CloudFront distribution has only single domain name.


نیازمندی

مقدار نام
<3.0.0,>=2.24.1 aws-cdk-lib
<11.0.0,>=10.0.0 constructs
<2.0.0,>=1.70.0 jsii
>=0.0.3 publication
~=2.13.3 typeguard


زبان مورد نیاز

مقدار نام
~=3.7 Python


نحوه نصب


نصب پکیج whl alma-cdk.domain-0.0.9:

    pip install alma-cdk.domain-0.0.9.whl


نصب پکیج tar.gz alma-cdk.domain-0.0.9:

    pip install alma-cdk.domain-0.0.9.tar.gz