UNPKG

@bifravst/ci

Version:

Sets up the permissions in our CI account for all repositories in this account to be able to use it for CI runs.

11 lines (10 loc) 392 B
import { aws_iam as IAM } from 'aws-cdk-lib'; import { Construct } from 'constructs'; import type { Repository } from './listRepos.js'; export declare class RepoPermission extends Construct { readonly role: IAM.IRole; constructor(parent: Construct, id: string, { repository, gitHubOICDProviderArn, }: { repository: Repository; gitHubOICDProviderArn: string; }); }