Class S3PropertySources

java.lang.Object
io.awspring.cloud.autoconfigure.config.s3.S3PropertySources

public class S3PropertySources extends Object
Provides prefix config import support.
Since:
3.3.0
Author:
Kunal Varpe
  • Constructor Details

    • S3PropertySources

      public S3PropertySources()
  • Method Details

    • createPropertySource

      @Nullable public S3PropertySource createPropertySource(String context, boolean optional, software.amazon.awssdk.services.s3.S3Client client)
      Creates property source for given context.
      Parameters:
      context - property source context equivalent to s3 bucket file
      optional - if creating context should fail with exception if s3 bucket file cannot be loaded
      client - S3 client
      Returns:
      a property source or null if s3 bucket file could not be loaded and optional is set to true