| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.CodeStar.Types.GitHubCodeDestination
Description
Synopsis
- data GitHubCodeDestination = GitHubCodeDestination' {}
- newGitHubCodeDestination :: Text -> Text -> Text -> Bool -> Bool -> Text -> GitHubCodeDestination
- gitHubCodeDestination_description :: Lens' GitHubCodeDestination (Maybe Text)
- gitHubCodeDestination_name :: Lens' GitHubCodeDestination Text
- gitHubCodeDestination_type :: Lens' GitHubCodeDestination Text
- gitHubCodeDestination_owner :: Lens' GitHubCodeDestination Text
- gitHubCodeDestination_privateRepository :: Lens' GitHubCodeDestination Bool
- gitHubCodeDestination_issuesEnabled :: Lens' GitHubCodeDestination Bool
- gitHubCodeDestination_token :: Lens' GitHubCodeDestination Text
Documentation
data GitHubCodeDestination Source #
Information about the GitHub repository to be created in AWS CodeStar. This is where the source code files provided with the project request will be uploaded after project creation.
See: newGitHubCodeDestination smart constructor.
Constructors
| GitHubCodeDestination' | |
Fields
| |
Instances
newGitHubCodeDestination Source #
Create a value of GitHubCodeDestination with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:description:GitHubCodeDestination', gitHubCodeDestination_description - Description for the GitHub repository to be created in AWS CodeStar.
This description displays in GitHub after the repository is created.
$sel:name:GitHubCodeDestination', gitHubCodeDestination_name - Name of the GitHub repository to be created in AWS CodeStar.
$sel:type':GitHubCodeDestination', gitHubCodeDestination_type - The type of GitHub repository to be created in AWS CodeStar. Valid
values are User or Organization.
$sel:owner:GitHubCodeDestination', gitHubCodeDestination_owner - The GitHub username for the owner of the GitHub repository to be created
in AWS CodeStar. If this repository should be owned by a GitHub
organization, provide its name.
$sel:privateRepository:GitHubCodeDestination', gitHubCodeDestination_privateRepository - Whether the GitHub repository is to be a private repository.
$sel:issuesEnabled:GitHubCodeDestination', gitHubCodeDestination_issuesEnabled - Whether to enable issues for the GitHub repository.
$sel:token:GitHubCodeDestination', gitHubCodeDestination_token - The GitHub user's personal access token for the GitHub repository.
gitHubCodeDestination_description :: Lens' GitHubCodeDestination (Maybe Text) Source #
Description for the GitHub repository to be created in AWS CodeStar. This description displays in GitHub after the repository is created.
gitHubCodeDestination_name :: Lens' GitHubCodeDestination Text Source #
Name of the GitHub repository to be created in AWS CodeStar.
gitHubCodeDestination_type :: Lens' GitHubCodeDestination Text Source #
The type of GitHub repository to be created in AWS CodeStar. Valid values are User or Organization.
gitHubCodeDestination_owner :: Lens' GitHubCodeDestination Text Source #
The GitHub username for the owner of the GitHub repository to be created in AWS CodeStar. If this repository should be owned by a GitHub organization, provide its name.
gitHubCodeDestination_privateRepository :: Lens' GitHubCodeDestination Bool Source #
Whether the GitHub repository is to be a private repository.
gitHubCodeDestination_issuesEnabled :: Lens' GitHubCodeDestination Bool Source #
Whether to enable issues for the GitHub repository.
gitHubCodeDestination_token :: Lens' GitHubCodeDestination Text Source #
The GitHub user's personal access token for the GitHub repository.