Skip to content

Commit

Permalink
docs: add readme docs
Browse files Browse the repository at this point in the history
  • Loading branch information
blimmer committed Nov 3, 2024
1 parent ff085bf commit 7a433bf
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions packages/aws-cdk-lib/aws-ec2/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -1538,6 +1538,19 @@ const host = new ec2.BastionHostLinux(this, 'BastionHost', {
});
```

It's recommended to set the `@aws-cdk/aws-ec2:bastionHostUseAmazonLinux2023ByDefault`
[feature flag](https://docs.aws.amazon.com/cdk/v2/guide/featureflags.html) to `true` to use Amazon Linux 2023 as the
bastion host AMI. Without this flag set, the bastion host will default to Amazon Linux 2, which will be unsupported in
June 2025.

```json
{
"context": {
"@aws-cdk/aws-ec2:bastionHostUseAmazonLinux2023ByDefault": true
}
}
```

### Placement Group

Specify `placementGroup` to enable the placement group support:
Expand Down

0 comments on commit 7a433bf

Please sign in to comment.