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

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

Overview

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, :runtime_environment_variables, :runtime_environment_secrets]

Instance Attribute Summary collapse

Instance Attribute Details

#build_commandString

The command App Runner runs to build your application.

Returns:

  • (String)


393
394
395
396
397
398
399
400
401
402
# File 'lib/aws-sdk-apprunner/types.rb', line 393

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

#portString

The port that your application listens to in the container.

Default: ‘8080`

Returns:

  • (String)


393
394
395
396
397
398
399
400
401
402
# File 'lib/aws-sdk-apprunner/types.rb', line 393

class CodeConfigurationValues < Struct.new(
  :runtime,
  :build_command,
  :start_command,
  :port,
  :runtime_environment_variables,
  :runtime_environment_secrets)
  SENSITIVE = [:build_command, :start_command, :runtime_environment_variables, :runtime_environment_secrets]
  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)


393
394
395
396
397
398
399
400
401
402
# File 'lib/aws-sdk-apprunner/types.rb', line 393

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

#runtime_environment_secretsHash<String,String>

An array of key-value pairs representing the secrets and parameters that get referenced to your service as an environment variable. The supported values are either the full Amazon Resource Name (ARN) of the Secrets Manager secret or the full ARN of the parameter in the Amazon Web Services Systems Manager Parameter Store.

<note markdown=“1”> * If the Amazon Web Services Systems Manager Parameter Store

parameter exists in the same Amazon Web Services Region as the
service that you're launching, you can use either the full ARN or
name of the secret. If the parameter exists in a different Region,
then the full ARN must be specified.
  • Currently, cross account referencing of Amazon Web Services Systems Manager Parameter Store parameter is not supported.

</note>

Returns:

  • (Hash<String,String>)


393
394
395
396
397
398
399
400
401
402
# File 'lib/aws-sdk-apprunner/types.rb', line 393

class CodeConfigurationValues < Struct.new(
  :runtime,
  :build_command,
  :start_command,
  :port,
  :runtime_environment_variables,
  :runtime_environment_secrets)
  SENSITIVE = [:build_command, :start_command, :runtime_environment_variables, :runtime_environment_secrets]
  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.

Returns:

  • (Hash<String,String>)


393
394
395
396
397
398
399
400
401
402
# File 'lib/aws-sdk-apprunner/types.rb', line 393

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

#start_commandString

The command App Runner runs to start your application.

Returns:

  • (String)


393
394
395
396
397
398
399
400
401
402
# File 'lib/aws-sdk-apprunner/types.rb', line 393

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