Class: Aws::AppRunner::Types::CodeConfiguration

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-apprunner/lib/aws-sdk-apprunner/types.rb

Overview

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",
    },
  },
}

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

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#code_configuration_valuesTypes::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).



313
314
315
316
317
318
# File 'gems/aws-sdk-apprunner/lib/aws-sdk-apprunner/types.rb', line 313

class CodeConfiguration < Struct.new(
  :configuration_source,
  :code_configuration_values)
  SENSITIVE = []
  include Aws::Structure
end

#configuration_sourceString

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:

  • (String)


313
314
315
316
317
318
# File 'gems/aws-sdk-apprunner/lib/aws-sdk-apprunner/types.rb', line 313

class CodeConfiguration < Struct.new(
  :configuration_source,
  :code_configuration_values)
  SENSITIVE = []
  include Aws::Structure
end