Class GitHubActionRoleProps.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • repos

        @Stability(Stable)
        public GitHubActionRoleProps.Builder repos​(List<String> repos)
        Parameters:
        repos - A list of GitHub repositories you want to be able to access the IAM role. This parameter is required. Each entry should be your GitHub username and repository passed in as a single string.

        For example, `['owner/repo1', 'owner/repo2'].

        Returns:
        this
      • provider

        @Stability(Stable)
        public GitHubActionRoleProps.Builder provider​(software.amazon.awscdk.services.iam.IOpenIdConnectProvider provider)
        Parameters:
        provider - The GitHub OpenId Connect Provider. Must have provider url `https://token.actions.githubusercontent.com`. The audience must be `sts:amazonaws.com`. Only one such provider can be defined per account, so if you already have a provider with the same url, a new provider cannot be created for you.
        Returns:
        this