Metadata-Version: 2.1
Name: cdk-simplewebsite-deploy
Version: 0.0.23
Summary: This is an AWS CDK Construct to simplify deploying a single-page website use CloudFront distributions.
Home-page: https://github.com/SnapPetal/cdk-simplewebsite-deploy
Author: Thon Becker<thon.becker@gmail.com>
License: Apache-2.0
Project-URL: Source, https://github.com/SnapPetal/cdk-simplewebsite-deploy
Description: [![License](https://img.shields.io/badge/License-Apache%202.0-yellowgreen.svg)](https://opensource.org/licenses/Apache-2.0)
        ![Build](https://github.com/SnapPetal/cdk-cloudfront-deploy/workflows/Build/badge.svg)
        ![Release](https://github.com/SnapPetal/cdk-cloudfront-deploy/workflows/Release/badge.svg)
        
        # cdk-simplewebsite-deploy
        
        This is an AWS CDK Construct to simplify deploying a single-page website use CloudFront distributions.
        
        ## Installation and Usage
        
        ```console
        npm i cdk-simplewebsite-deploy
        ```
        
        ### [CreateBasicSite](https://github.com/snappetal/cdk-simplewebsite-deploy/blob/main/API.md#cdk-cloudfront-deploy-createbasicsite)
        
        ```python
        # Example automatically generated without compilation. See https://github.com/aws/jsii/issues/826
        import aws_cdk.core as cdk
        from cdk_simplewebsite_deploy import CreateBasicSite
        
        class PipelineStack(cdk.Stack):
            def __init__(self, scope, id, *, description=None, env=None, stackName=None, tags=None, synthesizer=None, terminationProtection=None, analyticsReporting=None):
                super().__init__(scope, id, description=description, env=env, stackName=stackName, tags=tags, synthesizer=synthesizer, terminationProtection=terminationProtection, analyticsReporting=analyticsReporting)
        
                CreateBasicSite(stack, "test-website",
                    website_folder="./src/build",
                    index_doc="index.html",
                    encrypt_bucket=True
                )
        ```
        
        ### [CreateCloudfrontSite](https://github.com/snappetal/cdk-simplewebsite-deploy/blob/main/API.md#cdk-cloudfront-deploy-createcloudfrontsite)
        
        ```python
        # Example automatically generated without compilation. See https://github.com/aws/jsii/issues/826
        import aws_cdk.core as cdk
        from cdk_simplewebsite_deploy import CreateCloudfrontSite
        
        class PipelineStack(cdk.Stack):
            def __init__(self, scope, id, *, description=None, env=None, stackName=None, tags=None, synthesizer=None, terminationProtection=None, analyticsReporting=None):
                super().__init__(scope, id, description=description, env=env, stackName=stackName, tags=tags, synthesizer=synthesizer, terminationProtection=terminationProtection, analyticsReporting=analyticsReporting)
        
                CreateCloudfrontSite(stack, "test-website",
                    website_folder="./src/dist",
                    index_doc="index.html",
                    hosted_zone_domain="example.com",
                    website_domain="www.example.com"
                )
        ```
        
        ## License
        
        Distributed under the [Apache-2.0](./LICENSE) license.
        
Platform: UNKNOWN
Classifier: Intended Audience :: Developers
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: JavaScript
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Typing :: Typed
Classifier: Development Status :: 5 - Production/Stable
Classifier: License :: OSI Approved
Requires-Python: >=3.6
Description-Content-Type: text/markdown
