Interface GitHubSourceCodeProviderProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
GitHubSourceCodeProviderProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.116.0 (build 0eddcff)",
date="2025-10-29T11:15:51.113Z")
@Stability(Experimental)
public interface GitHubSourceCodeProviderProps
extends software.amazon.jsii.JsiiSerializable
(experimental) Properties for a GitHub source code provider.
Example:
App amplifyApp = App.Builder.create(this, "App")
.sourceCodeProvider(GitHubSourceCodeProvider.Builder.create()
.owner("<user>")
.repository("<repo>")
.oauthToken(SecretValue.secretsManager("my-github-token"))
.build())
.customResponseHeaders(List.of(CustomResponseHeader.builder()
.pattern("*.json")
.headers(Map.of(
"custom-header-name-1", "custom-header-value-1",
"custom-header-name-2", "custom-header-value-2"))
.build(), CustomResponseHeader.builder()
.pattern("/path/*")
.headers(Map.of(
"custom-header-name-1", "custom-header-value-2"))
.build()))
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forGitHubSourceCodeProviderPropsstatic final classAn implementation forGitHubSourceCodeProviderProps -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getOauthToken
(experimental) A personal access token with thereposcope. -
getOwner
(experimental) The user or organization owning the repository. -
getRepository
(experimental) The name of the repository. -
builder
-