Enum ConfigurationSourceType

java.lang.Object
java.lang.Enum<ConfigurationSourceType>
software.amazon.awscdk.services.apprunner.ConfigurationSourceType
All Implemented Interfaces:
Serializable, Comparable<ConfigurationSourceType>, java.lang.constant.Constable

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:30:40.043Z") @Stability(Experimental) public enum ConfigurationSourceType extends Enum<ConfigurationSourceType>
(experimental) The source of the App Runner configuration.

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 Details

    • REPOSITORY

      @Stability(Experimental) public static final ConfigurationSourceType REPOSITORY
      (experimental) App Runner reads configuration values from the apprunner.yaml file in the source code repository and ignores configurationValues.
    • API

      @Stability(Experimental) public static final ConfigurationSourceType API
      (experimental) App Runner uses configuration values provided in configurationValues and ignores the apprunner.yaml file in the source code repository.
  • Method Details

    • values

      public static ConfigurationSourceType[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static ConfigurationSourceType valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null