package
1.204.0-devpreview
Repository: https://github.com/aws/aws-cdk-go.git
Documentation: pkg.go.dev

# README

AWS::CodeStar Construct Library

GitHub Repository

To create a new GitHub Repository and commit the assets from S3 bucket into the repository after it is created:

import codestar "github.com/aws/aws-cdk-go/awscdk"
import s3 "github.com/aws/aws-cdk-go/awscdk"


codestar.NewGitHubRepository(this, jsii.String("GitHubRepo"), &GitHubRepositoryProps{
	Owner: jsii.String("aws"),
	RepositoryName: jsii.String("aws-cdk"),
	AccessToken: awscdk.SecretValue_SecretsManager(jsii.String("my-github-token"), &SecretsManagerSecretOptions{
		JsonField: jsii.String("token"),
	}),
	ContentsBucket: s3.Bucket_FromBucketName(this, jsii.String("Bucket"), jsii.String("bucket-name")),
	ContentsKey: jsii.String("import.zip"),
})

Update or Delete the GitHubRepository

At this moment, updates to the GitHubRepository are not supported and the repository will not be deleted upon the deletion of the CloudFormation stack. You will need to update or delete the GitHub repository manually.

# Functions

No description provided by the author
Returns `true` if a construct is a stack element (i.e.
Check whether the given construct is a CfnResource.
Return whether the given object is a Construct.
Return whether the given object is a Construct.
Check whether the given construct is a Resource.
Create a new `AWS::CodeStar::GitHubRepository`.
Create a new `AWS::CodeStar::GitHubRepository`.
Experimental.
Experimental.

# Constants

private repository.
public repository.

# Structs

The `Code` property type specifies information about code to be committed.
The `S3` property type specifies information about the Amazon S3 bucket that contains the code to be committed to the new repository.
Properties for defining a `CfnGitHubRepository`.
Construction properties of {@link GitHubRepository}.

# Interfaces

A CloudFormation `AWS::CodeStar::GitHubRepository`.
The GitHubRepository resource.
GitHubRepository resource interface.

# Type aliases

Visibility of the GitHubRepository.