| Copyright | (c) 2013-2021 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | None |
Amazonka.AppRunner.Types.ImageConfiguration
Description
Synopsis
- data ImageConfiguration = ImageConfiguration' {}
- newImageConfiguration :: ImageConfiguration
- imageConfiguration_startCommand :: Lens' ImageConfiguration (Maybe Text)
- imageConfiguration_runtimeEnvironmentVariables :: Lens' ImageConfiguration (Maybe (HashMap Text Text))
- imageConfiguration_port :: Lens' ImageConfiguration (Maybe Text)
Documentation
data ImageConfiguration Source #
Describes the configuration that App Runner uses to run an App Runner service using an image pulled from a source image repository.
See: newImageConfiguration smart constructor.
Constructors
| ImageConfiguration' | |
Fields
| |
Instances
newImageConfiguration :: ImageConfiguration Source #
Create a value of ImageConfiguration with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:startCommand:ImageConfiguration', imageConfiguration_startCommand - 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.
$sel:runtimeEnvironmentVariables:ImageConfiguration', imageConfiguration_runtimeEnvironmentVariables - 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.
$sel:port:ImageConfiguration', imageConfiguration_port - The port that your application listens to in the container.
Default: 8080
imageConfiguration_startCommand :: Lens' ImageConfiguration (Maybe Text) Source #
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.
imageConfiguration_runtimeEnvironmentVariables :: Lens' ImageConfiguration (Maybe (HashMap Text Text)) Source #
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.
imageConfiguration_port :: Lens' ImageConfiguration (Maybe Text) Source #
The port that your application listens to in the container.
Default: 8080