Commit 6214d0b
committed
feat(codebuild): add custom instance type and VPC to Fleets
https://aws.amazon.com/about-aws/whats-new/2025/04/aws-codebuild-ec2-instance-type-configurable-storage-size/
CodeBuild now supports specifying specific EC2 instance types to serve
as fleet compute.
Add this support to the Fleet construct by way of adding
CUSTOM_INSTANCE_TYPE to the FleetComputeType enum, and `instanceType` to
`ComputeConfiguration`.
Also, add VPC support to Fleet. This mirrors the VPC support in Project.
When using Fleets, the VPC configured on the Project does nothing. Only
the VPC on the Fleet applies. This required adding a Role to the Fleet
to handle provisioning EC2 network interfaces in the configured VPC.1 parent 0c98552 commit 6214d0b
File tree
58 files changed
+64864
-24090
lines changed- packages
- @aws-cdk-testing/framework-integ/test/aws-codebuild/test
- integ.project-fleet-attribute-based-compute.js.snapshot
- asset.7131a84a4415494610e808e07b00bedc7d2578a973f5069309ad6a8a74cf00db.bundle
- asset.a1acfc2b5f4f6b183fd2bb9863f486bc5edef6a357b355a070d9a0e502df418c
- integ.project-fleet-custom-instance-type.js.snapshot
- asset.7131a84a4415494610e808e07b00bedc7d2578a973f5069309ad6a8a74cf00db.bundle
- asset.a1acfc2b5f4f6b183fd2bb9863f486bc5edef6a357b355a070d9a0e502df418c
- integ.project-fleet.js.snapshot
- asset.4cbd7cdb5600b1d8c000087fcff345214c258e0476ef89eb6b39a89b7de1b656.bundle
- asset.a1acfc2b5f4f6b183fd2bb9863f486bc5edef6a357b355a070d9a0e502df418c
- aws-cdk-lib/aws-codebuild
- lib
- test
- tools/@aws-cdk/enum-updater/lib
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
58 files changed
+64864
-24090
lines changedSome generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
150 | 150 | | |
151 | 151 | | |
152 | 152 | | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
153 | 161 | | |
154 | 162 | | |
155 | 163 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
150 | 150 | | |
151 | 151 | | |
152 | 152 | | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
153 | 161 | | |
154 | 162 | | |
155 | 163 | | |
| |||
169 | 177 | | |
170 | 178 | | |
171 | 179 | | |
172 | | - | |
173 | | - | |
174 | | - | |
175 | | - | |
176 | | - | |
177 | | - | |
178 | | - | |
179 | | - | |
180 | | - | |
181 | | - | |
182 | | - | |
183 | 180 | | |
184 | 181 | | |
185 | 182 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments