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

Use jsii-struct-builder to produce iam-role-props.ts #36

Open
blimmer opened this issue Oct 5, 2023 · 0 comments · May be fixed by #37
Open

Use jsii-struct-builder to produce iam-role-props.ts #36

blimmer opened this issue Oct 5, 2023 · 0 comments · May be fixed by #37

Comments

@blimmer
Copy link

blimmer commented Oct 5, 2023

You can use https://github.com/mrgrain/jsii-struct-builder to produce your Partial based on RoleProps: https://github.com/aripalo/aws-cdk-github-oidc/blob/main/src/iam-role-props.ts

You can see an example here: https://github.com/blimmer/cdk-static-wordpress/blob/372b42e9c9c3eb1bfde8c61afbded0188ca08d6c/.projenrc.ts#L66-L92

blimmer added a commit to blimmer/aws-cdk-github-oidc that referenced this issue Oct 6, 2023
@blimmer blimmer linked a pull request Oct 6, 2023 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant