CodeCommitSourceCodeProvider

class aws_cdk.aws_amplify.CodeCommitSourceCodeProvider(*, repository)

Bases: object

(experimental) CodeCommit source code provider.

Stability

experimental

ExampleMetadata

infused

Example:

import aws_cdk.aws_codecommit as codecommit


repository = codecommit.Repository(self, "Repo",
    repository_name="my-repo"
)

amplify_app = amplify.App(self, "App",
    source_code_provider=amplify.CodeCommitSourceCodeProvider(repository=repository)
)
Parameters

repository (IRepository) – (experimental) The CodeCommit repository.

Stability

experimental

Methods

bind(app)

(experimental) Binds the source code provider to an app.

Parameters

app (App) –

Stability

experimental

Return type

SourceCodeProviderConfig