Interface IGitHubSourceCodeProviderProps
(experimental) Properties for a GitHub source code provider.
Namespace: Amazon.CDK.AWS.Amplify
Assembly: Amazon.CDK.AWS.Amplify.dll
Syntax (csharp)
public interface IGitHubSourceCodeProviderProps
Syntax (vb)
Public Interface IGitHubSourceCodeProviderProps
Remarks
Stability: Experimental
ExampleMetadata: infused
Examples
var amplifyApp = new App(this, "MyApp", new AppProps {
SourceCodeProvider = new GitHubSourceCodeProvider(new GitHubSourceCodeProviderProps {
Owner = "<user>",
Repository = "<repo>",
OauthToken = SecretValue.SecretsManager("my-github-token")
}),
AutoBranchCreation = new AutoBranchCreation { // Automatically connect branches that match a pattern set
Patterns = new [] { "feature/*", "test/*" } },
AutoBranchDeletion = true
});
Synopsis
Properties
OauthToken | (experimental) A personal access token with the |
Owner | (experimental) The user or organization owning the repository. |
Repository | (experimental) The name of the repository. |
Properties
OauthToken
(experimental) A personal access token with the repo
scope.
SecretValue OauthToken { get; }
Property Value
Remarks
Stability: Experimental
Owner
(experimental) The user or organization owning the repository.
string Owner { get; }
Property Value
System.String
Remarks
Stability: Experimental
Repository
(experimental) The name of the repository.
string Repository { get; }
Property Value
System.String
Remarks
Stability: Experimental