Class SourceCodeProviderConfig
(experimental) Configuration for the source code provider.
Inheritance
Implements
Namespace: Amazon.CDK.AWS.Amplify
Assembly: Amazon.CDK.AWS.Amplify.dll
Syntax (csharp)
public class SourceCodeProviderConfig : Object, ISourceCodeProviderConfig
Syntax (vb)
Public Class SourceCodeProviderConfig
Inherits Object
Implements ISourceCodeProviderConfig
Remarks
Stability: Experimental
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.Amplify;
using Amazon.CDK;
SecretValue secretValue;
var sourceCodeProviderConfig = new SourceCodeProviderConfig {
Repository = "repository",
// the properties below are optional
AccessToken = secretValue,
OauthToken = secretValue
};
Synopsis
Constructors
SourceCodeProviderConfig() |
Properties
AccessToken | (experimental) Personal Access token for 3rd party source control system for an Amplify App, used to create webhook and read-only deploy key. |
OauthToken | (experimental) OAuth token for 3rd party source control system for an Amplify App, used to create webhook and read-only deploy key. |
Repository | (experimental) The repository for the application. Must use the |
Constructors
SourceCodeProviderConfig()
public SourceCodeProviderConfig()
Properties
AccessToken
(experimental) Personal Access token for 3rd party source control system for an Amplify App, used to create webhook and read-only deploy key.
public SecretValue AccessToken { get; set; }
Property Value
Remarks
Token is not stored.
Either accessToken
or oauthToken
must be specified if repository
is sepcified.
Default: - do not use a token
Stability: Experimental
OauthToken
(experimental) OAuth token for 3rd party source control system for an Amplify App, used to create webhook and read-only deploy key.
public SecretValue OauthToken { get; set; }
Property Value
Remarks
OAuth token is not stored.
Either accessToken
or oauthToken
must be specified if repository
is specified.
Default: - do not use a token
Stability: Experimental
Repository
(experimental) The repository for the application. Must use the HTTPS
protocol.
public string Repository { get; set; }
Property Value
System.String
Remarks
For example, https://github.com/aws/aws-cdk
.
Stability: Experimental