class Aws::AppRunner::Types::CodeRepository

Describes a source code repository.

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

data as a hash:

    {
      repository_url: "String", # required
      source_code_version: { # required
        type: "BRANCH", # required, accepts BRANCH
        value: "String", # required
      },
      code_configuration: {
        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] repository_url

The location of the repository that contains the source code.
@return [String]

@!attribute [rw] source_code_version

The version that should be used within the source code repository.
@return [Types::SourceCodeVersion]

@!attribute [rw] code_configuration

Configuration for building and running the service from a source
code repository.
@return [Types::CodeConfiguration]

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

Constants

SENSITIVE