Interface CodeConfiguration.Builder

    • Method Detail

      • configurationSource

        CodeConfiguration.Builder configurationSource​(String configurationSource)

        The source of the App Runner configuration. Values are interpreted as follows:

        • REPOSITORY – App Runner reads configuration values from the apprunner.yaml file in the source code repository and ignores CodeConfigurationValues.

        • API – App Runner uses configuration values provided in CodeConfigurationValues and ignores the apprunner.yaml file in the source code repository.

        Parameters:
        configurationSource - The source of the App Runner configuration. Values are interpreted as follows:

        • REPOSITORY – App Runner reads configuration values from the apprunner.yaml file in the source code repository and ignores CodeConfigurationValues.

        • API – App Runner uses configuration values provided in CodeConfigurationValues and ignores the apprunner.yaml file in the source code repository.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        ConfigurationSource, ConfigurationSource
      • configurationSource

        CodeConfiguration.Builder configurationSource​(ConfigurationSource configurationSource)

        The source of the App Runner configuration. Values are interpreted as follows:

        • REPOSITORY – App Runner reads configuration values from the apprunner.yaml file in the source code repository and ignores CodeConfigurationValues.

        • API – App Runner uses configuration values provided in CodeConfigurationValues and ignores the apprunner.yaml file in the source code repository.

        Parameters:
        configurationSource - The source of the App Runner configuration. Values are interpreted as follows:

        • REPOSITORY – App Runner reads configuration values from the apprunner.yaml file in the source code repository and ignores CodeConfigurationValues.

        • API – App Runner uses configuration values provided in CodeConfigurationValues and ignores the apprunner.yaml file in the source code repository.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        ConfigurationSource, ConfigurationSource
      • codeConfigurationValues

        CodeConfiguration.Builder codeConfigurationValues​(CodeConfigurationValues codeConfigurationValues)

        The basic configuration for building and running the App Runner service. Use it to quickly launch an App Runner service without providing a apprunner.yaml file in the source code repository (or ignoring the file if it exists).

        Parameters:
        codeConfigurationValues - The basic configuration for building and running the App Runner service. Use it to quickly launch an App Runner service without providing a apprunner.yaml file in the source code repository (or ignoring the file if it exists).
        Returns:
        Returns a reference to this object so that method calls can be chained together.