enum ConfigurationSourceType
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.AppRunner.Alpha.ConfigurationSourceType |
Go | github.com/aws/aws-cdk-go/awscdkapprunneralpha/v2#ConfigurationSourceType |
Java | software.amazon.awscdk.services.apprunner.alpha.ConfigurationSourceType |
Python | aws_cdk.aws_apprunner_alpha.ConfigurationSourceType |
TypeScript (source) | @aws-cdk/aws-apprunner-alpha » ConfigurationSourceType |
The source of the App Runner configuration.
Example
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
| Name | Description |
|---|---|
| REPOSITORY | App Runner reads configuration values from the apprunner.yaml file in the source code repository and ignores configurationValues. |
| API | App Runner uses configuration values provided in configurationValues and ignores the apprunner.yaml file in the source code repository. |
REPOSITORY
App Runner reads configuration values from the apprunner.yaml file in the source code repository and ignores configurationValues.
API
App Runner uses configuration values provided in configurationValues and ignores the apprunner.yaml file in the source code repository.

.NET
Go
Java
Python
TypeScript (