Class: Aws::AppRunner::Types::CodeRepository
- Inherits:
-
Struct
- Object
- Struct
- Aws::AppRunner::Types::CodeRepository
- Defined in:
- gems/aws-sdk-apprunner/lib/aws-sdk-apprunner/types.rb
Overview
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, NODEJS_14, CORRETTO_8, CORRETTO_11
build_command: "BuildCommand",
start_command: "StartCommand",
port: "String",
runtime_environment_variables: {
"RuntimeEnvironmentVariablesKey" => "RuntimeEnvironmentVariablesValue",
},
},
},
}
Describes a source code repository.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#code_configuration ⇒ Types::CodeConfiguration
Configuration for building and running the service from a source code repository.
-
#repository_url ⇒ String
The location of the repository that contains the source code.
-
#source_code_version ⇒ Types::SourceCodeVersion
The version that should be used within the source code repository.
Instance Attribute Details
#code_configuration ⇒ Types::CodeConfiguration
Configuration for building and running the service from a source code repository.
CodeConfiguration
is required only for CreateService
request.
420 421 422 423 424 425 426 |
# File 'gems/aws-sdk-apprunner/lib/aws-sdk-apprunner/types.rb', line 420 class CodeRepository < Struct.new( :repository_url, :source_code_version, :code_configuration) SENSITIVE = [] include Aws::Structure end |
#repository_url ⇒ String
The location of the repository that contains the source code.
420 421 422 423 424 425 426 |
# File 'gems/aws-sdk-apprunner/lib/aws-sdk-apprunner/types.rb', line 420 class CodeRepository < Struct.new( :repository_url, :source_code_version, :code_configuration) SENSITIVE = [] include Aws::Structure end |
#source_code_version ⇒ Types::SourceCodeVersion
The version that should be used within the source code repository.
420 421 422 423 424 425 426 |
# File 'gems/aws-sdk-apprunner/lib/aws-sdk-apprunner/types.rb', line 420 class CodeRepository < Struct.new( :repository_url, :source_code_version, :code_configuration) SENSITIVE = [] include Aws::Structure end |