You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: add validation for ALB access log bucket when KMS key is provided (#29382)
### Issue # (if applicable)
Closes#22031.
### Reason for this change
Adds a validation with correct error indicating ALB Access log bucket does not support KMS encryption
### Description of changes
Currently access logs bucket encryption with KMS is not supported in case of ALB but while deploying it throws an error indicating the failure with bucket permissions.
This validation introduces an upfront check to throw an error if `bucket.encryptionKey `is defined.
Documentation: https://docs.aws.amazon.com/elasticloadbalancing/latest/application/enable-access-logging.html
### Description of how you validated changes
Added unit tests for validation.
### Checklist
- [ ] My code adheres to the [CONTRIBUTING GUIDE](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md) and [DESIGN GUIDELINES](https://github.com/aws/aws-cdk/blob/main/docs/DESIGN_GUIDELINES.md)
----
*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
For more information, see [Load balancer attributes](https://docs.aws.amazon.com/elasticloadbalancing/latest/application/application-load-balancers.html#load-balancer-attributes)
236
236
237
+
### Setting up Access Log Bucket on Application Load Balancer
238
+
239
+
The only server-side encryption option that's supported is Amazon S3-managed keys (SSE-S3). For more information
0 commit comments