Skip to content
v2.274.0

Experimental

@aws-cdk/aws-apprunner-alpha is an experimental (alpha) package: its API may change in any release, without a major version bump.

ConfigurationSourceType Enum ​

The source of the App Runner configuration.

Example ​

ts
new apprunner.Service(this, 'Service', {
  source: apprunner.Source.fromGitHub({
    repositoryUrl: 'https://github.com/aws-containers/hello-app-runner',
    branch: 'main',
    configurationSource: apprunner.ConfigurationSourceType.REPOSITORY,
    connection: apprunner.GitHubConnection.fromConnectionArn('CONNECTION_ARN'),
  }),
});

Members ​

MemberDescription
REPOSITORYApp Runner reads configuration values from the apprunner.yaml file in the source code repository and ignores configurationValues.
APIApp Runner uses configuration values provided in configurationValues and ignores the apprunner.yaml file in the source code repository.

Referenced by ​

  • CodeConfiguration.configurationSourceconfiguration_sourceconfigurationSourceConfigurationSourceConfigurationSource
  • GithubRepositoryProps.configurationSourceconfiguration_sourceconfigurationSourceConfigurationSourceConfigurationSource