Class: Aws::AppRunner::Types::CodeConfiguration
- Inherits:
-
Struct
- Object
- Struct
- Aws::AppRunner::Types::CodeConfiguration
- Defined in:
- gems/aws-sdk-apprunner/lib/aws-sdk-apprunner/types.rb
Overview
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, NODEJS_14, CORRETTO_8, CORRETTO_11
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
-
#code_configuration_values ⇒ Types::CodeConfigurationValues
The basic configuration for building and running the App Runner service.
-
#configuration_source ⇒ String
The source of the App Runner configuration.
Instance Attribute Details
#code_configuration_values ⇒ Types::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).
314 315 316 317 318 319 |
# File 'gems/aws-sdk-apprunner/lib/aws-sdk-apprunner/types.rb', line 314 class CodeConfiguration < Struct.new( :configuration_source, :code_configuration_values) SENSITIVE = [] include Aws::Structure end |
#configuration_source ⇒ String
The source of the App Runner configuration. Values are interpreted as follows:
REPOSITORY
– App Runner reads configuration values from theapprunner.yaml
file in the source code repository and ignoresCodeConfigurationValues
.API
– App Runner uses configuration values provided inCodeConfigurationValues
and ignores theapprunner.yaml
file in the source code repository.
314 315 316 317 318 319 |
# File 'gems/aws-sdk-apprunner/lib/aws-sdk-apprunner/types.rb', line 314 class CodeConfiguration < Struct.new( :configuration_source, :code_configuration_values) SENSITIVE = [] include Aws::Structure end |