Interface CodeConfigurationValues.Builder

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

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

    • runtime

      A runtime environment type for building and running an App Runner service. It represents a programming language runtime.

      Parameters:
      runtime - A runtime environment type for building and running an App Runner service. It represents a programming language runtime.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • runtime

      A runtime environment type for building and running an App Runner service. It represents a programming language runtime.

      Parameters:
      runtime - A runtime environment type for building and running an App Runner service. It represents a programming language runtime.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • buildCommand

      CodeConfigurationValues.Builder buildCommand(String buildCommand)

      The command App Runner runs to build your application.

      Parameters:
      buildCommand - The command App Runner runs to build your application.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • startCommand

      CodeConfigurationValues.Builder startCommand(String startCommand)

      The command App Runner runs to start your application.

      Parameters:
      startCommand - The command App Runner runs to start your application.
      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.
    • runtimeEnvironmentVariables

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

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

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

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