CodeCommitSourceCodeProviderProps

class aws_cdk.aws_amplify_alpha.CodeCommitSourceCodeProviderProps(*, repository)

Bases: object

(experimental) Properties for a CodeCommit source code provider.

Parameters:

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

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)
)

Attributes

repository

(experimental) The CodeCommit repository.

Stability:

experimental