@Stability(value=Stable) public static final class CfnGitHubRepository.Builder extends Object implements software.amazon.jsii.Builder<CfnGitHubRepository>
CfnGitHubRepository.| Modifier and Type | Method and Description |
|---|---|
CfnGitHubRepository |
build() |
CfnGitHubRepository.Builder |
code(CfnGitHubRepository.CodeProperty code)
Information about code to be committed to a repository after it is created in an AWS CloudFormation stack.
|
CfnGitHubRepository.Builder |
code(IResolvable code)
Information about code to be committed to a repository after it is created in an AWS CloudFormation stack.
|
CfnGitHubRepository.Builder |
connectionArn(String connectionArn)
`AWS::CodeStar::GitHubRepository.ConnectionArn`.
|
static CfnGitHubRepository.Builder |
create(Construct scope,
String id) |
CfnGitHubRepository.Builder |
enableIssues(Boolean enableIssues)
Indicates whether to enable issues for the GitHub repository.
|
CfnGitHubRepository.Builder |
enableIssues(IResolvable enableIssues)
Indicates whether to enable issues for the GitHub repository.
|
CfnGitHubRepository.Builder |
isPrivate(Boolean isPrivate)
Indicates whether the GitHub repository is a private repository.
|
CfnGitHubRepository.Builder |
isPrivate(IResolvable isPrivate)
Indicates whether the GitHub repository is a private repository.
|
CfnGitHubRepository.Builder |
repositoryAccessToken(String repositoryAccessToken)
The GitHub user's personal access token for the GitHub repository.
|
CfnGitHubRepository.Builder |
repositoryDescription(String repositoryDescription)
A comment or description about the new repository.
|
CfnGitHubRepository.Builder |
repositoryName(String repositoryName)
The name of the repository you want to create in GitHub with AWS CloudFormation stack creation.
|
CfnGitHubRepository.Builder |
repositoryOwner(String repositoryOwner)
The GitHub user name for the owner of the GitHub repository to be created.
|
@Stability(value=Stable) public static CfnGitHubRepository.Builder create(Construct scope, String id)
scope - - scope in which this resource is defined. This parameter is required.id - - scoped id of the resource. This parameter is required.CfnGitHubRepository.CodeProperty.Builder.@Stability(value=Stable) public CfnGitHubRepository.Builder repositoryName(String repositoryName)
repositoryName - The name of the repository you want to create in GitHub with AWS CloudFormation stack creation. This parameter is required.this@Stability(value=Stable) public CfnGitHubRepository.Builder repositoryOwner(String repositoryOwner)
If this repository should be owned by a GitHub organization, provide its name.
repositoryOwner - The GitHub user name for the owner of the GitHub repository to be created. This parameter is required.this@Stability(value=Stable) public CfnGitHubRepository.Builder code(CfnGitHubRepository.CodeProperty code)
code - Information about code to be committed to a repository after it is created in an AWS CloudFormation stack. This parameter is required.this@Stability(value=Stable) public CfnGitHubRepository.Builder code(IResolvable code)
code - Information about code to be committed to a repository after it is created in an AWS CloudFormation stack. This parameter is required.this@Stability(value=Stable) public CfnGitHubRepository.Builder connectionArn(String connectionArn)
connectionArn - `AWS::CodeStar::GitHubRepository.ConnectionArn`. This parameter is required.this@Stability(value=Stable) public CfnGitHubRepository.Builder enableIssues(Boolean enableIssues)
You can use GitHub issues to track information and bugs for your repository.
enableIssues - Indicates whether to enable issues for the GitHub repository. This parameter is required.this@Stability(value=Stable) public CfnGitHubRepository.Builder enableIssues(IResolvable enableIssues)
You can use GitHub issues to track information and bugs for your repository.
enableIssues - Indicates whether to enable issues for the GitHub repository. This parameter is required.this@Stability(value=Stable) public CfnGitHubRepository.Builder isPrivate(Boolean isPrivate)
If so, you choose who can see and commit to this repository.
isPrivate - Indicates whether the GitHub repository is a private repository. This parameter is required.this@Stability(value=Stable) public CfnGitHubRepository.Builder isPrivate(IResolvable isPrivate)
If so, you choose who can see and commit to this repository.
isPrivate - Indicates whether the GitHub repository is a private repository. This parameter is required.this@Stability(value=Stable) public CfnGitHubRepository.Builder repositoryAccessToken(String repositoryAccessToken)
repositoryAccessToken - The GitHub user's personal access token for the GitHub repository. This parameter is required.this@Stability(value=Stable) public CfnGitHubRepository.Builder repositoryDescription(String repositoryDescription)
This description is displayed in GitHub after the repository is created.
repositoryDescription - A comment or description about the new repository. This parameter is required.this@Stability(value=Stable) public CfnGitHubRepository build()
build in interface software.amazon.jsii.Builder<CfnGitHubRepository>Copyright © 2023. All rights reserved.