class Aws::AppRunner::Types::CodeConfiguration

Describes the configuration that AWS App Runner uses to build and run an App Runner service from a source code repository.

@note When making an API call, you may pass CodeConfiguration

data as a hash:

    {
      configuration_source: "REPOSITORY", # required, accepts REPOSITORY, API
      code_configuration_values: {
        runtime: "PYTHON_3", # required, accepts PYTHON_3, NODEJS_12
        build_command: "BuildCommand",
        start_command: "StartCommand",
        port: "String",
        runtime_environment_variables: {
          "RuntimeEnvironmentVariablesKey" => "RuntimeEnvironmentVariablesValue",
        },
      },
    }

@!attribute [rw] configuration_source

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.
@return [String]

@!attribute [rw] code_configuration_values

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).
@return [Types::CodeConfigurationValues]

@see docs.aws.amazon.com/goto/WebAPI/apprunner-2020-05-15/CodeConfiguration AWS API Documentation

Constants

SENSITIVE