From 6fbcce66c50a6bea3b2f38541c54af6d5fbffaa7 Mon Sep 17 00:00:00 2001 From: Michael Sambol Date: Wed, 14 Feb 2024 17:19:13 -0800 Subject: [PATCH] chore(ec2): correct device name in BastionHostLinux example (#29114) Closes #29103. I tested the example and it deploys. ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license* --- packages/aws-cdk-lib/aws-ec2/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/aws-cdk-lib/aws-ec2/README.md b/packages/aws-cdk-lib/aws-ec2/README.md index a94027b6ce821..b55688feeb403 100644 --- a/packages/aws-cdk-lib/aws-ec2/README.md +++ b/packages/aws-cdk-lib/aws-ec2/README.md @@ -1429,7 +1429,7 @@ EBS volume for the bastion host can be encrypted like: const host = new ec2.BastionHostLinux(this, 'BastionHost', { vpc, blockDevices: [{ - deviceName: 'EBSBastionHost', + deviceName: '/dev/sdh', volume: ec2.BlockDeviceVolume.ebs(10, { encrypted: true, }),