Class: Aws::AppRunner::Types::CodeConfigurationValues

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 CodeConfigurationValues data as a hash:

{
  runtime: "PYTHON_3", # required, accepts PYTHON_3, NODEJS_12
  build_command: "BuildCommand",
  start_command: "StartCommand",
  port: "String",
  runtime_environment_variables: {
    "RuntimeEnvironmentVariablesKey" => "RuntimeEnvironmentVariablesValue",
  },
}

Describes the basic configuration needed for building and running an App Runner service. This type doesn't support the full set of possible configuration options. Fur full configuration capabilities, use a apprunner.yaml file in the source code repository.

Constant Summary collapse

SENSITIVE =
[:build_command, :start_command]

Instance Attribute Summary collapse

Instance Attribute Details

#build_commandString

The command App Runner runs to build your application.

Returns:

  • (String)


365
366
367
368
369
370
371
372
373
# File 'gems/aws-sdk-apprunner/lib/aws-sdk-apprunner/types.rb', line 365

class CodeConfigurationValues < Struct.new(
  :runtime,
  :build_command,
  :start_command,
  :port,
  :runtime_environment_variables)
  SENSITIVE = [:build_command, :start_command]
  include Aws::Structure
end

#portString

The port that your application listens to in the container.

Default: 8080

Returns:

  • (String)


365
366
367
368
369
370
371
372
373
# File 'gems/aws-sdk-apprunner/lib/aws-sdk-apprunner/types.rb', line 365

class CodeConfigurationValues < Struct.new(
  :runtime,
  :build_command,
  :start_command,
  :port,
  :runtime_environment_variables)
  SENSITIVE = [:build_command, :start_command]
  include Aws::Structure
end

#runtimeString

A runtime environment type for building and running an App Runner service. It represents a programming language runtime.

Returns:

  • (String)


365
366
367
368
369
370
371
372
373
# File 'gems/aws-sdk-apprunner/lib/aws-sdk-apprunner/types.rb', line 365

class CodeConfigurationValues < Struct.new(
  :runtime,
  :build_command,
  :start_command,
  :port,
  :runtime_environment_variables)
  SENSITIVE = [:build_command, :start_command]
  include Aws::Structure
end

#runtime_environment_variablesHash<String,String>

The environment variables that are available to your running App Runner service. An array of key-value pairs. Keys with a prefix of AWSAPPRUNNER are reserved for system use and aren't valid.

Returns:

  • (Hash<String,String>)


365
366
367
368
369
370
371
372
373
# File 'gems/aws-sdk-apprunner/lib/aws-sdk-apprunner/types.rb', line 365

class CodeConfigurationValues < Struct.new(
  :runtime,
  :build_command,
  :start_command,
  :port,
  :runtime_environment_variables)
  SENSITIVE = [:build_command, :start_command]
  include Aws::Structure
end

#start_commandString

The command App Runner runs to start your application.

Returns:

  • (String)


365
366
367
368
369
370
371
372
373
# File 'gems/aws-sdk-apprunner/lib/aws-sdk-apprunner/types.rb', line 365

class CodeConfigurationValues < Struct.new(
  :runtime,
  :build_command,
  :start_command,
  :port,
  :runtime_environment_variables)
  SENSITIVE = [:build_command, :start_command]
  include Aws::Structure
end