Class: Aws::AppRunner::Types::ImageConfiguration

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

Overview

Describes the configuration that App Runner uses to run an App Runner service using an image pulled from a source image repository.

Constant Summary collapse

SENSITIVE =
[:runtime_environment_variables, :start_command, :runtime_environment_secrets]

Instance Attribute Summary collapse

Instance Attribute Details

#portString

The port that your application listens to in the container.

Default: ‘8080`

Returns:

  • (String)


1514
1515
1516
1517
1518
1519
1520
1521
# File 'lib/aws-sdk-apprunner/types.rb', line 1514

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


1514
1515
1516
1517
1518
1519
1520
1521
# File 'lib/aws-sdk-apprunner/types.rb', line 1514

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

#runtime_environment_variablesHash<String,String>

Environment variables that are available to your running App Runner service. An array of key-value pairs.

Returns:

  • (Hash<String,String>)


1514
1515
1516
1517
1518
1519
1520
1521
# File 'lib/aws-sdk-apprunner/types.rb', line 1514

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

#start_commandString

An optional command that App Runner runs to start the application in the source image. If specified, this command overrides the Docker image’s default start command.

Returns:

  • (String)


1514
1515
1516
1517
1518
1519
1520
1521
# File 'lib/aws-sdk-apprunner/types.rb', line 1514

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