Skip to content
AWS docs0.4

Auto-configuration

Latest stable Based on AWS release 0.4.0

The Spring module uses conditional auto-configuration: a service integration appears only when its SDK classes and enabling properties are present. This keeps the library broad while the application’s runtime classpath stays selective.

dependencies {
implementation(platform("io.github.bluetape4k:bluetape4k-dependencies:<version>"))
implementation("io.github.bluetape4k.aws:bluetape4k-aws-spring-boot")
implementation("software.amazon.awssdk:s3")
}

The application chooses the central BOM version and service SDKs. It does not choose a separate AWS repository library version.

AwsProperties under bluetape4k.aws supplies enabled, region, endpoint override, and optional web-identity credentials. Service-specific properties override the shared defaults. An endpoint override requires a region because signed requests still need a credential scope.

If an expected bean is missing, inspect the condition report before adding manual beans. Common causes are a missing compileOnly service SDK, disabled property, or an application-provided bean that intentionally makes auto-configuration back off.

Use the provided client-builder customization hooks when region and endpoint properties are insufficient. Prefer one customization boundary over post-processing individual service beans.

Fail early on invalid endpoint/region combinations, queue settings, pool sizes, or mutually exclusive credential modes. Environment post-processors should fetch remote configuration once during startup, not on request paths.