Last active
July 24, 2019 09:43
-
-
Save raphaelschnaitl/6bcdcdfd95fdb8212b0b39cad0e59b35 to your computer and use it in GitHub Desktop.
medium.bastion-host.usage.ts
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const network = new ec2.Vpc(this, 'main', { | |
maxAZs: 1 | |
}) | |
const bastionHost = new vlib.BastionHost(this, 'bastionHost', { | |
image: new ec2.AmazonLinuxImage(), | |
peers: [ec2.Peer.anyIpv4()], | |
vpc: network, | |
keyName: 'raphaels-key' | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment