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

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

{
  runtime_environment_variables: {
    "RuntimeEnvironmentVariablesKey" => "RuntimeEnvironmentVariablesValue",
  },
  start_command: "String",
  port: "String",
}

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

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#portString

The port that your application listens to in the container.

Default: 8080

Returns:

  • (String)


1245
1246
1247
1248
1249
1250
1251
# File 'gems/aws-sdk-apprunner/lib/aws-sdk-apprunner/types.rb', line 1245

class ImageConfiguration < Struct.new(
  :runtime_environment_variables,
  :start_command,
  :port)
  SENSITIVE = []
  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. Keys with a prefix of AWSAPPRUNNER are reserved for system use and aren't valid.

Returns:

  • (Hash<String,String>)


1245
1246
1247
1248
1249
1250
1251
# File 'gems/aws-sdk-apprunner/lib/aws-sdk-apprunner/types.rb', line 1245

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


1245
1246
1247
1248
1249
1250
1251
# File 'gems/aws-sdk-apprunner/lib/aws-sdk-apprunner/types.rb', line 1245

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