@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-07T23:46:59.164Z") @Stability(value=Experimental) public interface SourceCodeProviderConfig extends software.amazon.jsii.JsiiSerializable
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.core.*;
import software.amazon.awscdk.services.amplify.*;
SecretValue secretValue;
SourceCodeProviderConfig sourceCodeProviderConfig = SourceCodeProviderConfig.builder()
.repository("repository")
// the properties below are optional
.accessToken(secretValue)
.oauthToken(secretValue)
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
SourceCodeProviderConfig.Builder
A builder for
SourceCodeProviderConfig |
static class |
SourceCodeProviderConfig.Jsii$Proxy
An implementation for
SourceCodeProviderConfig |
| Modifier and Type | Method and Description |
|---|---|
static SourceCodeProviderConfig.Builder |
builder() |
default SecretValue |
getAccessToken()
(experimental) Personal Access token for 3rd party source control system for an Amplify App, used to create webhook and read-only deploy key.
|
default SecretValue |
getOauthToken()
(experimental) OAuth token for 3rd party source control system for an Amplify App, used to create webhook and read-only deploy key.
|
String |
getRepository()
(experimental) The repository for the application.
|
@Stability(value=Experimental) @NotNull String getRepository()
For example, https://github.com/aws/aws-cdk.
@Stability(value=Experimental) @Nullable default SecretValue getAccessToken()
Token is not stored.
Either accessToken or oauthToken must be specified if repository
is sepcified.
Default: - do not use a token
@Stability(value=Experimental) @Nullable default SecretValue getOauthToken()
OAuth token is not stored.
Either accessToken or oauthToken must be specified if repository
is specified.
Default: - do not use a token
@Stability(value=Experimental) static SourceCodeProviderConfig.Builder builder()
SourceCodeProviderConfig.Builder of SourceCodeProviderConfigCopyright © 2022. All rights reserved.