aws / aws/aws-cdk

(CDK Pipelines): allow passing a Role to `CodePipeline`

Open
#18,549 11 comments 3 reactions 0 assignees View on GitHub
@aws-cdk/pipelines effort/small feature-request p2
Dominant language
TypeScript
Stars
12.9k
Forks
4.6k
Avg merge
2d 3h
Merged PRs (30d)
83

Description

### Description

Because of https://github.com/aws/aws-cdk/issues/16244, customers have to sometimes create a Role manually and control its permissions.

We should make that easy in `CodePipeline`.

### Use Case

See above.

### Proposed Solution

Add a new property `role` to the `CodePipeline` construct.

### Other information

_No response_

### Acknowledge

- [ ] I may be able to implement this feature request
- [ ] This feature might incur a breaking change

Contributor guide

Open the contributing guide

Research direction

Start at the CodePipeline construct entry point and trace how its pipeline role is configured. Check the existing CodePipeline tests for coverage of construct properties; done when callers can pass a manually created role and CodePipeline uses it.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws, typescript
Domain
cloud, devops
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.