Interface ICfnGitHubRepositoryProps
Properties for defining a CfnGitHubRepository
.
Namespace: Amazon.CDK.AWS.Codestar
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface ICfnGitHubRepositoryProps
Syntax (vb)
Public Interface ICfnGitHubRepositoryProps
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Codestar;
var cfnGitHubRepositoryProps = new CfnGitHubRepositoryProps {
RepositoryName = "repositoryName",
RepositoryOwner = "repositoryOwner",
// the properties below are optional
Code = new CodeProperty {
S3 = new S3Property {
Bucket = "bucket",
Key = "key",
// the properties below are optional
ObjectVersion = "objectVersion"
}
},
ConnectionArn = "connectionArn",
EnableIssues = false,
IsPrivate = false,
RepositoryAccessToken = "repositoryAccessToken",
RepositoryDescription = "repositoryDescription"
};
Synopsis
Properties
Code | Information about code to be committed to a repository after it is created in an AWS CloudFormation stack. |
Connection |
|
Enable |
Indicates whether to enable issues for the GitHub repository. |
Is |
Indicates whether the GitHub repository is a private repository. |
Repository |
The GitHub user's personal access token for the GitHub repository. |
Repository |
A comment or description about the new repository. |
Repository |
The name of the repository you want to create in GitHub with AWS CloudFormation stack creation. |
Repository |
The GitHub user name for the owner of the GitHub repository to be created. |
Properties
Code
Information about code to be committed to a repository after it is created in an AWS CloudFormation stack.
virtual object Code { get; }
Property Value
System.
Remarks
ConnectionArn
virtual string ConnectionArn { get; }
Property Value
System.
Remarks
EnableIssues
Indicates whether to enable issues for the GitHub repository.
virtual object EnableIssues { get; }
Property Value
System.
Remarks
You can use GitHub issues to track information and bugs for your repository.
IsPrivate
Indicates whether the GitHub repository is a private repository.
virtual object IsPrivate { get; }
Property Value
System.
Remarks
If so, you choose who can see and commit to this repository.
RepositoryAccessToken
The GitHub user's personal access token for the GitHub repository.
virtual string RepositoryAccessToken { get; }
Property Value
System.
Remarks
RepositoryDescription
A comment or description about the new repository.
virtual string RepositoryDescription { get; }
Property Value
System.
Remarks
This description is displayed in GitHub after the repository is created.
RepositoryName
The name of the repository you want to create in GitHub with AWS CloudFormation stack creation.
string RepositoryName { get; }
Property Value
System.
Remarks
RepositoryOwner
The GitHub user name for the owner of the GitHub repository to be created.
string RepositoryOwner { get; }
Property Value
System.
Remarks
If this repository should be owned by a GitHub organization, provide its name.