Interface AwsStackDevServicesBuildTimeConfig

All Known Subinterfaces:
FlociDevServicesBuildTimeConfig, LocalStackDevServicesBuildTimeConfig, MiniStackDevServicesBuildTimeConfig, MotoDevServicesBuildTimeConfig

public interface AwsStackDevServicesBuildTimeConfig
Base interface for AWS stack dev services build time configuration. Provides common configuration options for different stack implementations.
  • Method Details

    • imageName

      String imageName()
      The container image to use.
    • enabled

      Optional<Boolean> enabled()
      If Dev Services for Amazon Services has been explicitly enabled or disabled. Dev Services are generally enabled by default, unless there is an existing configuration present. For Amazon Services, Dev Services starts a container unless aws.endpoint-override is set.
    • shared

      @WithDefault("true") boolean shared()
      Indicates if the stack container managed by Quarkus Dev Services is shared. When shared, Quarkus looks for running containers using label-based service discovery. If a matching container is found, it is used, and so a second one is not started. Otherwise, Dev Services for Amazon Services starts a new container. Container sharing is only used in dev mode.
    • initScriptsFolder

      Optional<String> initScriptsFolder()
      Path to init scripts folder executed during stack startup.
    • initScriptsClasspath

      Optional<String> initScriptsClasspath()
      Classpath to init scripts folder executed during stack startup. initScriptsFolder has higher precedence.
    • initCompletionMsg

      Optional<String> initCompletionMsg()
      Specific container log message to be waiting for stack init scripts completion.
    • additionalServices

      @ConfigDocMapKey("service-name") Map<String,DevServicesBuildTimeConfig> additionalServices()
      Additional services to be started. Use this property if the service you want is not yet covered by the extension. This will provide the required configuration for the service.
    • serviceName

      String serviceName()
      The value of the quarkus-dev-service-{provider} label attached to the started container. This property is used when shared is set to true. In this case, before starting a container, Dev Services for MiniStack looks for a container with the quarkus-dev-service-{provider} label set to the configured value. If found, it will use this container instead of starting a new one. Otherwise, it starts a new container with the quarkus-dev-service-{provider} label set to the specified value.

      This property is used when you need multiple shared stack containers.

    • containerProperties

      @ConfigDocMapKey("environment-variable-name") Map<String,String> containerProperties()
      Environment variables that are passed to the container.
    • port

      Optional<Integer> port()
      Optional fixed port the stack will listen to.