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
FieldsModifier and TypeFieldDescriptionprotected final StringAccess Key of AWS IAM user that is used to access to Elasticsearch service if IAM authentication is enabled.protected final booleanWhether AWS IAM user is used to access to Elasticsearch service, false if common base authentication is used.protected final StringAWS Elasticsearch region.protected final StringSecret Key of AWS IAM user that is used to access to Elasticsearch service if IAM authentication is enabled.protected final StringAWS Elasticsearch service name. -
Constructor Summary
ConstructorsConstructorDescriptionSearchAwsProperties(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:
-