Skip to content

Commit

Permalink
chore(ec2): correct device name in BastionHostLinux example (#29114)
Browse files Browse the repository at this point in the history
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*
  • Loading branch information
msambol authored and GavinZZ committed Feb 22, 2024
1 parent 2b4fd71 commit a194ce8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/aws-cdk-lib/aws-ec2/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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,
}),
Expand Down

0 comments on commit a194ce8

Please sign in to comment.