SourceCodeProviderConfig

class aws_cdk.aws_amplify.SourceCodeProviderConfig(*, repository, access_token=None, oauth_token=None)

Bases: object

(experimental) Configuration for the source code provider.

Parameters
  • repository (str) – (experimental) The repository for the application. Must use the HTTPS protocol.

  • access_token (Optional[SecretValue]) – (experimental) Personal Access token for 3rd party source control system for an Amplify App, used to create webhook and read-only deploy key. Token is not stored. Either accessToken or oauthToken must be specified if repository is sepcified. Default: - do not use a token

  • oauth_token (Optional[SecretValue]) – (experimental) OAuth token for 3rd party source control system for an Amplify App, used to create webhook and read-only deploy key. OAuth token is not stored. Either accessToken or oauthToken must be specified if repository is sepcified. Default: - do not use a token

Stability

experimental

Attributes

access_token

(experimental) Personal Access token for 3rd party source control system for an Amplify App, used to create webhook and read-only deploy key.

Token is not stored.

Either accessToken or oauthToken must be specified if repository is sepcified.

Default
  • do not use a token

Stability

experimental

Return type

Optional[SecretValue]

oauth_token

(experimental) OAuth token for 3rd party source control system for an Amplify App, used to create webhook and read-only deploy key.

OAuth token is not stored.

Either accessToken or oauthToken must be specified if repository is sepcified.

Default
  • do not use a token

Stability

experimental

Return type

Optional[SecretValue]

repository

(experimental) The repository for the application.

Must use the HTTPS protocol.

Stability

experimental

Example:

# Example automatically generated without compilation. See https://github.com/aws/jsii/issues/826
https:
Return type

str