Interface CfnGitHubRepositoryProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnGitHubRepositoryProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.118.0 (build 02eec31)",
date="2025-11-10T13:40:01.083Z")
@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();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnGitHubRepositoryPropsstatic final classAn implementation forCfnGitHubRepositoryProps -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default ObjectgetCode()Information about code to be committed to a repository after it is created in an AWS CloudFormation stack.default Stringdefault ObjectIndicates whether to enable issues for the GitHub repository.default ObjectIndicates whether the GitHub repository is a private repository.default StringThe GitHub user's personal access token for the GitHub repository.default StringA 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.- See Also:
-
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.
- See Also:
-
getCode
Information about code to be committed to a repository after it is created in an AWS CloudFormation stack.Returns union: either
IResolvableorCfnGitHubRepository.CodeProperty- See Also:
-
getConnectionArn
- See Also:
-
getEnableIssues
Indicates whether to enable issues for the GitHub repository.You can use GitHub issues to track information and bugs for your repository.
Returns union: either
BooleanorIResolvable- See Also:
-
getIsPrivate
Indicates whether the GitHub repository is a private repository.If so, you choose who can see and commit to this repository.
Returns union: either
BooleanorIResolvable- See Also:
-
getRepositoryAccessToken
The GitHub user's personal access token for the GitHub repository.- See Also:
-
getRepositoryDescription
A comment or description about the new repository.This description is displayed in GitHub after the repository is created.
- See Also:
-
builder
- Returns:
- a
CfnGitHubRepositoryProps.BuilderofCfnGitHubRepositoryProps
-