Documentation ¶
Overview ¶
The CDK Construct Library for AWS::CodeStar
Index ¶
- func GitHubRepository_IsConstruct(x interface{}) *bool
- func GitHubRepository_IsResource(construct constructs.IConstruct) *bool
- func NewGitHubRepository_Override(g GitHubRepository, scope constructs.Construct, id *string, ...)
- type GitHubRepository
- type GitHubRepositoryProps
- type IGitHubRepository
- type RepositoryVisibility
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GitHubRepository_IsConstruct ¶
func GitHubRepository_IsConstruct(x interface{}) *bool
Checks if `x` is a construct.
Returns: true if `x` is an object created from a class which extends `Construct`. Deprecated: use `x instanceof Construct` instead
func GitHubRepository_IsResource ¶
func GitHubRepository_IsResource(construct constructs.IConstruct) *bool
Check whether the given construct is a Resource. Experimental.
func NewGitHubRepository_Override ¶
func NewGitHubRepository_Override(g GitHubRepository, scope constructs.Construct, id *string, props *GitHubRepositoryProps)
Experimental.
Types ¶
type GitHubRepository ¶
type GitHubRepository interface { awscdk.Resource IGitHubRepository Env() *awscdk.ResourceEnvironment Node() constructs.Node Owner() *string PhysicalName() *string Repo() *string Stack() awscdk.Stack ApplyRemovalPolicy(policy awscdk.RemovalPolicy) GeneratePhysicalName() *string GetResourceArnAttribute(arnAttr *string, arnComponents *awscdk.ArnComponents) *string GetResourceNameAttribute(nameAttr *string) *string ToString() *string }
The GitHubRepository resource.
TODO: EXAMPLE
Experimental.
func NewGitHubRepository ¶
func NewGitHubRepository(scope constructs.Construct, id *string, props *GitHubRepositoryProps) GitHubRepository
Experimental.
type GitHubRepositoryProps ¶
type GitHubRepositoryProps struct { // The GitHub user's personal access token for the GitHub repository. // Experimental. AccessToken awscdk.SecretValue `json:"accessToken"` // The name of the Amazon S3 bucket that contains the ZIP file with the content to be committed to the new repository. // Experimental. ContentsBucket awss3.IBucket `json:"contentsBucket"` // The S3 object key or file name for the ZIP file. // Experimental. ContentsKey *string `json:"contentsKey"` // 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 // Experimental. Owner *string `json:"owner"` // The name of the repository you want to create in GitHub with AWS CloudFormation stack creation. // Experimental. RepositoryName *string `json:"repositoryName"` // The object version of the ZIP file, if versioning is enabled for the Amazon S3 bucket. // Experimental. ContentsS3Version *string `json:"contentsS3Version"` // A comment or description about the new repository. // // This description is displayed in GitHub after the repository // is created. // Experimental. Description *string `json:"description"` // Indicates whether to enable issues for the GitHub repository. // // You can use GitHub issues to track information // and bugs for your repository. // Experimental. EnableIssues *bool `json:"enableIssues"` // Indicates whether the GitHub repository is a private repository. // // If so, you choose who can see and commit to // this repository. // Experimental. Visibility RepositoryVisibility `json:"visibility"` }
Construction properties of {@link GitHubRepository}.
TODO: EXAMPLE
Experimental.
type IGitHubRepository ¶
type IGitHubRepository interface { awscdk.IResource // the repository owner. // Experimental. Owner() *string // the repository name. // Experimental. Repo() *string }
GitHubRepository resource interface. Experimental.
type RepositoryVisibility ¶
type RepositoryVisibility string
Visibility of the GitHubRepository. Experimental.
const ( RepositoryVisibility_PRIVATE RepositoryVisibility = "PRIVATE" RepositoryVisibility_PUBLIC RepositoryVisibility = "PUBLIC" )
Click to show internal directories.
Click to hide internal directories.