Package io.jmix.autoconfigure.searchaws
Class SearchAwsProperties
java.lang.Object
io.jmix.autoconfigure.searchaws.SearchAwsProperties
@ConfigurationProperties(prefix="jmix.search.elasticsearch.aws")
@ConstructorBinding
public class SearchAwsProperties
extends Object
-
Field Summary
Modifier and TypeFieldDescriptionprotected final String
Access Key of AWS IAM user that is used to access to Elasticsearch service if IAM authentication is enabled.protected final boolean
Whether AWS IAM user is used to access to Elasticsearch service, false if common base authentication is used.protected final String
AWS Elasticsearch region.protected final String
Secret Key of AWS IAM user that is used to access to Elasticsearch service if IAM authentication is enabled.protected final String
AWS Elasticsearch service name. -
Constructor Summary
ConstructorDescriptionSearchAwsProperties
(boolean iamAuth, String region, String serviceName, String accessKey, String secretKey) -
Method Summary
Modifier and TypeMethodDescriptionboolean
-
Field Details
-
iamAuth
protected final boolean iamAuthWhether AWS IAM user is used to access to Elasticsearch service, false if common base authentication is used. -
region
AWS Elasticsearch region. It's used to sign requests if IAM authentication is enabled. -
serviceName
AWS Elasticsearch service name. It's used to sign requests if IAM authentication is enabled. -
accessKey
Access Key of AWS IAM user that is used to access to Elasticsearch service if IAM authentication is enabled. -
secretKey
Secret Key of AWS IAM user that is used to access to Elasticsearch service if IAM authentication is enabled.
-
-
Constructor Details
-
SearchAwsProperties
-
-
Method Details
-
isElasticsearchAwsIamAuthentication
public boolean isElasticsearchAwsIamAuthentication()- See Also:
-
getElasticsearchAwsRegion
- See Also:
-
getElasticsearchAwsServiceName
- See Also:
-
getElasticsearchAwsAccessKey
- See Also:
-
getElasticsearchAwsSecretKey
- See Also:
-