﻿using Amazon.CDK;

namespace CloudFrontS3WafStack
{
    sealed class Program
    {
        public static void Main(string[] args)
        {
            var app = new App();
            new CdkStack(
                app,
                "CloudFrontS3WafStack",
                new StackProps
                {
                    // If you don't specify 'env', this stack will be environment-agnostic.
                    // Account/Region-dependent features and context lookups will not work,
                    // but a single synthesized template can be deployed anywhere.

                    // Uncomment the next block to specialize this stack for the AWS Account
                    // and Region that are implied by the current CLI configuration.
                    /*
                    Env = new Amazon.CDK.Environment
                    {
                        Account = System.Environment.GetEnvironmentVariable("CDK_DEFAULT_ACCOUNT"),
                        Region = System.Environment.GetEnvironmentVariable("CDK_DEFAULT_REGION"),
                    }
                    */

                    // Uncomment the next block if you know exactly what Account and Region you
                    // want to deploy the stack to.

                    Env = new Amazon.CDK.Environment { Region = "us-east-1", }

                    // For more information, see https://docs.aws.amazon.com/cdk/latest/guide/environments.html
                }
            );
            app.Synth();
        }
    }
}
