Class SearchAwsProperties

java.lang.Object
io.jmix.autoconfigure.searchaws.SearchAwsProperties

@ConfigurationProperties(prefix="jmix.search.elasticsearch.aws") @ConstructorBinding public class SearchAwsProperties extends Object
  • Field Details

    • iamAuth

      protected final boolean iamAuth
      Whether AWS IAM user is used to access to Elasticsearch service, false if common base authentication is used.
    • region

      protected final String region
      AWS Elasticsearch region. It's used to sign requests if IAM authentication is enabled.
    • serviceName

      protected final String serviceName
      AWS Elasticsearch service name. It's used to sign requests if IAM authentication is enabled.
    • accessKey

      protected final String accessKey
      Access Key of AWS IAM user that is used to access to Elasticsearch service if IAM authentication is enabled.
    • secretKey

      protected final String secretKey
      Secret Key of AWS IAM user that is used to access to Elasticsearch service if IAM authentication is enabled.
  • Constructor Details

    • SearchAwsProperties

      public SearchAwsProperties(@DefaultValue("true") boolean iamAuth, String region, @DefaultValue("es") String serviceName, String accessKey, String secretKey)
  • Method Details

    • isElasticsearchAwsIamAuthentication

      public boolean isElasticsearchAwsIamAuthentication()
      See Also:
    • getElasticsearchAwsRegion

      public String getElasticsearchAwsRegion()
      See Also:
    • getElasticsearchAwsServiceName

      public String getElasticsearchAwsServiceName()
      See Also:
    • getElasticsearchAwsAccessKey

      public String getElasticsearchAwsAccessKey()
      See Also:
    • getElasticsearchAwsSecretKey

      public String getElasticsearchAwsSecretKey()
      See Also: