@Generated(value="jsii-pacmak/1.70.0 (build 03c2f6f)", date="2022-11-01T13:16:42.568Z") @Stability(value=Experimental) public enum ConfigurationSourceType extends Enum<ConfigurationSourceType>
Example:
Service.Builder.create(this, "Service")
.source(Source.fromGitHub(GithubRepositoryProps.builder()
.repositoryUrl("https://github.com/aws-containers/hello-app-runner")
.branch("main")
.configurationSource(ConfigurationSourceType.REPOSITORY)
.connection(GitHubConnection.fromConnectionArn("CONNECTION_ARN"))
.build()))
.build();
| Enum Constant and Description |
|---|
API
(experimental) App Runner uses configuration values provided in `configurationValues` and ignores the `apprunner.yaml` file in the source code repository.
|
REPOSITORY
(experimental) App Runner reads configuration values from `the apprunner.yaml` file in the source code repository and ignores `configurationValues`.
|
| Modifier and Type | Method and Description |
|---|---|
static ConfigurationSourceType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ConfigurationSourceType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
@Stability(value=Experimental) public static final ConfigurationSourceType REPOSITORY
@Stability(value=Experimental) public static final ConfigurationSourceType API
public static ConfigurationSourceType[] values()
for (ConfigurationSourceType c : ConfigurationSourceType.values()) System.out.println(c);
public static ConfigurationSourceType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2022. All rights reserved.