Class: Aws::AppRunner::Types::ImageConfiguration
- Inherits:
-
Struct
- Object
- Struct
- Aws::AppRunner::Types::ImageConfiguration
- Defined in:
- gems/aws-sdk-apprunner/lib/aws-sdk-apprunner/types.rb
Overview
When making an API call, you may pass ImageConfiguration data as a hash:
{
runtime_environment_variables: {
"RuntimeEnvironmentVariablesKey" => "RuntimeEnvironmentVariablesValue",
},
start_command: "StartCommand",
port: "String",
}
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 =
[:start_command]
Instance Attribute Summary collapse
-
#port ⇒ String
The port that your application listens to in the container.
-
#runtime_environment_variables ⇒ Hash<String,String>
Environment variables that are available to your running App Runner service.
-
#start_command ⇒ String
An optional command that App Runner runs to start the application in the source image.
Instance Attribute Details
#port ⇒ String
The port that your application listens to in the container.
Default: 8080
1605 1606 1607 1608 1609 1610 1611 |
# File 'gems/aws-sdk-apprunner/lib/aws-sdk-apprunner/types.rb', line 1605 class ImageConfiguration < Struct.new( :runtime_environment_variables, :start_command, :port) SENSITIVE = [:start_command] include Aws::Structure end |
#runtime_environment_variables ⇒ Hash<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.
1605 1606 1607 1608 1609 1610 1611 |
# File 'gems/aws-sdk-apprunner/lib/aws-sdk-apprunner/types.rb', line 1605 class ImageConfiguration < Struct.new( :runtime_environment_variables, :start_command, :port) SENSITIVE = [:start_command] include Aws::Structure end |
#start_command ⇒ String
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.
1605 1606 1607 1608 1609 1610 1611 |
# File 'gems/aws-sdk-apprunner/lib/aws-sdk-apprunner/types.rb', line 1605 class ImageConfiguration < Struct.new( :runtime_environment_variables, :start_command, :port) SENSITIVE = [:start_command] include Aws::Structure end |