Interface CfnService.ImageConfigurationProperty

All Superinterfaces:
All Known Implementing Classes:
Enclosing class:

@Stability(Stable) public static interface CfnService.ImageConfigurationProperty extends
Describes the configuration that AWS App Runner uses to run an App Runner service using an image pulled from a source image repository.


 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 ImageConfigurationProperty imageConfigurationProperty = ImageConfigurationProperty.builder()
  • Method Details

    • getPort

      @Stability(Stable) @Nullable default String getPort()
      The port that your application listens to in the container.

      Default: 8080

    • getRuntimeEnvironmentSecrets

      @Stability(Stable) @Nullable default Object getRuntimeEnvironmentSecrets()
    • getRuntimeEnvironmentVariables

      @Stability(Stable) @Nullable default Object getRuntimeEnvironmentVariables()
      Environment variables that are available to your running App Runner service.

      An array of key-value pairs.

    • getStartCommand

      @Stability(Stable) @Nullable default String getStartCommand()
      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.

    • builder

      @Stability(Stable) static CfnService.ImageConfigurationProperty.Builder builder()
      a CfnService.ImageConfigurationProperty.Builder of CfnService.ImageConfigurationProperty