Interface CfnGitHubRepositoryProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnGitHubRepositoryProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:30:37.973Z")
@Stability(Stable)
public interface CfnGitHubRepositoryProps
extends software.amazon.jsii.JsiiSerializable
Properties for defining a
CfnGitHubRepository
.
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();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnGitHubRepositoryProps
static final class
An implementation forCfnGitHubRepositoryProps
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
default Object
getCode()
Information about code to be committed to a repository after it is created in an AWS CloudFormation stack.default String
AWS::CodeStar::GitHubRepository.ConnectionArn
.default Object
Indicates whether to enable issues for the GitHub repository.default Object
Indicates whether the GitHub repository is a private repository.default String
The GitHub user's personal access token for the GitHub repository.default String
A comment or description about the new repository.The name of the repository you want to create in GitHub with AWS CloudFormation stack creation.The GitHub user name for the owner of the GitHub repository to be created.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getRepositoryName
The name of the repository you want to create in GitHub with AWS CloudFormation stack creation. -
getRepositoryOwner
The GitHub user name for the owner of the GitHub repository to be created.If this repository should be owned by a GitHub organization, provide its name.
-
getCode
Information about code to be committed to a repository after it is created in an AWS CloudFormation stack. -
getConnectionArn
AWS::CodeStar::GitHubRepository.ConnectionArn
. -
getEnableIssues
Indicates whether to enable issues for the GitHub repository.You can use GitHub issues to track information and bugs for your repository.
-
getIsPrivate
Indicates whether the GitHub repository is a private repository.If so, you choose who can see and commit to this repository.
-
getRepositoryAccessToken
The GitHub user's personal access token for the GitHub repository. -
getRepositoryDescription
A comment or description about the new repository.This description is displayed in GitHub after the repository is created.
-
builder
- Returns:
- a
CfnGitHubRepositoryProps.Builder
ofCfnGitHubRepositoryProps
-