Class: Aws::AppRunner::Types::CodeRepository

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

Describes a source code repository.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#code_configurationTypes::CodeConfiguration

Configuration for building and running the service from a source code repository.



415
416
417
418
419
420
421
# File 'gems/aws-sdk-apprunner/lib/aws-sdk-apprunner/types.rb', line 415

class CodeRepository < Struct.new(
  :repository_url,
  :source_code_version,
  :code_configuration)
  SENSITIVE = []
  include Aws::Structure
end

#repository_urlString

The location of the repository that contains the source code.

Returns:

  • (String)


415
416
417
418
419
420
421
# File 'gems/aws-sdk-apprunner/lib/aws-sdk-apprunner/types.rb', line 415

class CodeRepository < Struct.new(
  :repository_url,
  :source_code_version,
  :code_configuration)
  SENSITIVE = []
  include Aws::Structure
end

#source_code_versionTypes::SourceCodeVersion

The version that should be used within the source code repository.



415
416
417
418
419
420
421
# File 'gems/aws-sdk-apprunner/lib/aws-sdk-apprunner/types.rb', line 415

class CodeRepository < Struct.new(
  :repository_url,
  :source_code_version,
  :code_configuration)
  SENSITIVE = []
  include Aws::Structure
end