[aws-codebuild] Add ability to define `certificate` in CodeBuild Project Construct Props
See original GitHub issueIt doesn’t seem possible to define the certificate
property in the CodeBuild Project Construct
. I would expect to define it via the BuildEnvironment interface.
However, the only option I can find to define it via CDK is using the CfnProject Construct
via the EnvironmentProperty interface which I think requires me to use the CfnProject Construct
instead of the Project Construct
(unless I can override it somehow?)
Use Case
When deploying CodeBuild Projects via CDK, to have the ability to enable SSL between on-prem source code repos and CodeBuild.
Proposed Solution
Add the certificate
parameter to the BuildEnvironment Interface for the CodeBuild Project Construct
Other
- 👋 I may be able to implement this feature request
- ⚠️ This feature might incur a breaking change
This is a 🚀 Feature Request
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
class Project (construct) · AWS CDK
Defines where build artifacts will be stored. badge? boolean, Indicates whether AWS CodeBuild generates a publicly accessible URL for your project's build badge ......
Read more >aws-cdk/aws-codebuild module - AWS Documentation - Amazon
certificate defines the location of a PEM encoded certificate to import. computeType defines the instance type used for the build. privileged can be...
Read more >class CfnProject (construct) · AWS CDK
Implements IConstruct , IConstruct , IDependable , IInspectable. A CloudFormation AWS::CodeBuild::Project . The AWS::CodeBuild::Project resource configures ...
Read more >interface PipelineProjectProps · AWS CDK
An ProjectFileSystemLocation objects for a CodeBuild build project. grantReportGroupPermissions? boolean, Add permissions to this project's role to create and ...
Read more >Build specification reference for CodeBuild
In an AWS CloudFormation template, set the BuildSpec property of Source in a resource of type AWS::CodeBuild::Project to the path to the alternate...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Oh amazing, thanks for the link Adam! I tried something similar based on a StackOverflow answer but I couldn’t quite get it working. Your link on escape hatches has a lot more details so I’ll give it another go!
This issue has not received any attention in 1 year. If you want to keep this issue open, please leave a comment below and auto-close will be canceled.