@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:37.572Z") @Stability(value=Stable) public interface CfnGitHubRepositoryProps extends software.amazon.jsii.JsiiSerializable
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.codestar.*;
CfnGitHubRepositoryProps cfnGitHubRepositoryProps = CfnGitHubRepositoryProps.builder()
.repositoryName("repositoryName")
.repositoryOwner("repositoryOwner")
// the properties below are optional
.code(CodeProperty.builder()
.s3(S3Property.builder()
.bucket("bucket")
.key("key")
// the properties below are optional
.objectVersion("objectVersion")
.build())
.build())
.connectionArn("connectionArn")
.enableIssues(false)
.isPrivate(false)
.repositoryAccessToken("repositoryAccessToken")
.repositoryDescription("repositoryDescription")
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnGitHubRepositoryProps.Builder
A builder for
CfnGitHubRepositoryProps |
static class |
CfnGitHubRepositoryProps.Jsii$Proxy
An implementation for
CfnGitHubRepositoryProps |
| Modifier and Type | Method and Description |
|---|---|
static CfnGitHubRepositoryProps.Builder |
builder() |
default Object |
getCode()
Information about code to be committed to a repository after it is created in an AWS CloudFormation stack.
|
default String |
getConnectionArn()
`AWS::CodeStar::GitHubRepository.ConnectionArn`.
|
default Object |
getEnableIssues()
Indicates whether to enable issues for the GitHub repository.
|
default Object |
getIsPrivate()
Indicates whether the GitHub repository is a private repository.
|
default String |
getRepositoryAccessToken()
The GitHub user's personal access token for the GitHub repository.
|
default String |
getRepositoryDescription()
A comment or description about the new repository.
|
String |
getRepositoryName()
The name of the repository you want to create in GitHub with AWS CloudFormation stack creation.
|
String |
getRepositoryOwner()
The GitHub user name for the owner of the GitHub repository to be created.
|
@Stability(value=Stable) @NotNull String getRepositoryName()
@Stability(value=Stable) @NotNull String getRepositoryOwner()
If this repository should be owned by a GitHub organization, provide its name.
@Stability(value=Stable) @Nullable default Object getCode()
@Stability(value=Stable) @Nullable default String getConnectionArn()
@Stability(value=Stable) @Nullable default Object getEnableIssues()
You can use GitHub issues to track information and bugs for your repository.
@Stability(value=Stable) @Nullable default Object getIsPrivate()
If so, you choose who can see and commit to this repository.
@Stability(value=Stable) @Nullable default String getRepositoryAccessToken()
@Stability(value=Stable) @Nullable default String getRepositoryDescription()
This description is displayed in GitHub after the repository is created.
@Stability(value=Stable) static CfnGitHubRepositoryProps.Builder builder()
CfnGitHubRepositoryProps.Builder of CfnGitHubRepositoryPropsCopyright © 2022. All rights reserved.