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();
 
  • Method Details

    • getRepositoryName

      @Stability(Stable) @NotNull String getRepositoryName()
      The name of the repository you want to create in GitHub with AWS CloudFormation stack creation.
    • getRepositoryOwner

      @Stability(Stable) @NotNull String 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

      @Stability(Stable) @Nullable default Object getCode()
      Information about code to be committed to a repository after it is created in an AWS CloudFormation stack.
    • getConnectionArn

      @Stability(Stable) @Nullable default String getConnectionArn()
      AWS::CodeStar::GitHubRepository.ConnectionArn.
    • getEnableIssues

      @Stability(Stable) @Nullable default Object getEnableIssues()
      Indicates whether to enable issues for the GitHub repository.

      You can use GitHub issues to track information and bugs for your repository.

    • getIsPrivate

      @Stability(Stable) @Nullable default Object getIsPrivate()
      Indicates whether the GitHub repository is a private repository.

      If so, you choose who can see and commit to this repository.

    • getRepositoryAccessToken

      @Stability(Stable) @Nullable default String getRepositoryAccessToken()
      The GitHub user's personal access token for the GitHub repository.
    • getRepositoryDescription

      @Stability(Stable) @Nullable default String getRepositoryDescription()
      A comment or description about the new repository.

      This description is displayed in GitHub after the repository is created.

    • builder

      @Stability(Stable) static CfnGitHubRepositoryProps.Builder builder()
      Returns:
      a CfnGitHubRepositoryProps.Builder of CfnGitHubRepositoryProps