ConfigurationSourceType

class aws_cdk.aws_apprunner.ConfigurationSourceType(value)

Bases: Enum

(experimental) The source of the App Runner configuration.

Stability

experimental

ExampleMetadata

infused

Example:

apprunner.Service(self, "Service",
    source=apprunner.Source.from_git_hub(
        repository_url="https://github.com/aws-containers/hello-app-runner",
        branch="main",
        configuration_source=apprunner.ConfigurationSourceType.REPOSITORY,
        connection=apprunner.GitHubConnection.from_connection_arn("CONNECTION_ARN")
    )
)

Attributes

API

(experimental) App Runner uses configuration values provided in configurationValues and ignores the apprunner.yaml file in the source code repository.

Stability

experimental

REPOSITORY

(experimental) App Runner reads configuration values from the apprunner.yaml file in the source code repository and ignores configurationValues.

Stability

experimental