/* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ package com.ilmlf.clientconnection; import java.io.IOException; import software.amazon.awscdk.core.App; import software.amazon.awscdk.core.Environment; import software.amazon.awscdk.core.StackProps; public final class ClientConnectionApp { private ClientConnectionApp() { throw new IllegalStateException("Entrypoint class"); } /** * CDK Entrypoint. * @param args for cdk */ public static void main(final String[] args) throws IOException { App app = new App(); /* Create the Client VPN stack in our specified account and region */ new ClientConnectionStack(app, "ClientConnectionStack", StackProps.builder() .env(Environment.builder() .account("433621526002") .region("eu-west-1") .build()) .description("Client VPN Connection infrastructure Stack (uksb-1rsq7ledl)") .build()); app.synth(); } }