Interface ImageConfiguration.Builder

All Superinterfaces:
Buildable, CopyableBuilder<ImageConfiguration.Builder,ImageConfiguration>, SdkBuilder<ImageConfiguration.Builder,ImageConfiguration>, SdkPojo
Enclosing class:
ImageConfiguration

public static interface ImageConfiguration.Builder extends SdkPojo, CopyableBuilder<ImageConfiguration.Builder,ImageConfiguration>
  • Method Details

    • runtimeEnvironmentVariables

      ImageConfiguration.Builder runtimeEnvironmentVariables(Map<String,String> runtimeEnvironmentVariables)

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

      Parameters:
      runtimeEnvironmentVariables - Environment variables that are available to your running App Runner service. An array of key-value pairs.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • startCommand

      ImageConfiguration.Builder startCommand(String 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.

      Parameters:
      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.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • port

      The port that your application listens to in the container.

      Default: 8080

      Parameters:
      port - The port that your application listens to in the container.

      Default: 8080

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • runtimeEnvironmentSecrets

      ImageConfiguration.Builder runtimeEnvironmentSecrets(Map<String,String> runtimeEnvironmentSecrets)

      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.

      • 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.

      Parameters:
      runtimeEnvironmentSecrets - 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.

      • 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.

      Returns:
      Returns a reference to this object so that method calls can be chained together.