Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(aws-codestarconnections): Missing L2 constructs for AWS CodeStar Connections #32784

Open
1 of 2 tasks
wladyslawczyzewski opened this issue Jan 7, 2025 · 2 comments
Open
1 of 2 tasks
Labels
@aws-cdk/aws-codestarconnections Related to AWS CodeStar Connections effort/medium Medium work item – several days of effort feature-request A feature should be added or improved. p2

Comments

@wladyslawczyzewski
Copy link
Contributor

wladyslawczyzewski commented Jan 7, 2025

Describe the feature

There's no L2 constructs for the AWS CodeStar connections, although creating the Connection resource with CDK is opinionated (as it will always be in PENDING state and some manual actions is required to finish the configuration) but having the ability to "import" the connection and use it's ARNs later with CodePipeline's Actions CodeStarConnectionSourceAction would offer better dev-ex I think.

Use Case

Designing and deploying the pipelines without the connection to the project's source code is impossible.

AWS don't recommend using the GitHub (via OAuth app) source provider and suggest to use the GitHub (via Github App) (Code Star Connections) source provider - https://docs.aws.amazon.com/codepipeline/latest/userguide/appendix-github-oauth.html

Proposed Solution

  • Create a L2 constructs for AWS::CodeStarConnections::Connection resource
  • Allow the "lookup" of the AWS::CodeStarConnection::Connection resource by the name using the AwsCustomResource (list-connections api call)

Other Information

No response

Acknowledgements

  • I may be able to implement this feature request
  • This feature might incur a breaking change

CDK version used

2.173.2

Environment details (OS name and version, etc.)

macOS, Node v22

@wladyslawczyzewski wladyslawczyzewski added feature-request A feature should be added or improved. needs-triage This issue or PR still needs to be triaged. labels Jan 7, 2025
@github-actions github-actions bot added the @aws-cdk/aws-codestarconnections Related to AWS CodeStar Connections label Jan 7, 2025
@wladyslawczyzewski
Copy link
Contributor Author

NB. there's a tracking issue for this - #6899

@wladyslawczyzewski wladyslawczyzewski changed the title (aws-codestartconnections): Missing L2 constructs for AWS CodeStar Connections (aws-codestarconnections): Missing L2 constructs for AWS CodeStar Connections Jan 7, 2025
@khushail khushail self-assigned this Jan 7, 2025
@khushail khushail added p2 and removed needs-triage This issue or PR still needs to be triaged. labels Jan 7, 2025
@khushail
Copy link
Contributor

khushail commented Jan 7, 2025

Thanks for submitting the request for L2 Construct for CodeStar Connections. Looking forward to your contribution.

@khushail khushail added the effort/medium Medium work item – several days of effort label Jan 7, 2025
@khushail khushail removed their assignment Jan 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
@aws-cdk/aws-codestarconnections Related to AWS CodeStar Connections effort/medium Medium work item – several days of effort feature-request A feature should be added or improved. p2
Projects
None yet
Development

No branches or pull requests

2 participants