Class ElasticsearchAwsBackendSettings
Constants in this class are to be appended to a prefix to form a property key;
see BackendSettings
for details.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final class
Default values for the different settings if no values are given. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
The AWS access key ID when usingstatic credentials
.static final String
The AWS secret access key when usingstatic credentials
.static final String
The type of credentials to use when signing isenabled
.static final String
The AWS region.static final String
Whether requests should be signed using the AWS credentials. -
Method Summary
-
Field Details
-
SIGNING_ENABLED
Whether requests should be signed using the AWS credentials.Expects a Boolean value such as
true
orfalse
, or a string that can be parsed into a Boolean value.Defaults to
ElasticsearchAwsBackendSettings.Defaults.SIGNING_ENABLED
.- See Also:
-
REGION
The AWS region.Expects a String value such as
us-east-1
.No default: must be provided when signing is enabled.
- See Also:
-
CREDENTIALS_TYPE
The type of credentials to use when signing isenabled
.Expects one of the names listed as constants in
ElasticsearchAwsCredentialsTypeNames
.Defaults to
ElasticsearchAwsBackendSettings.Defaults.CREDENTIALS_TYPE
.- See Also:
-
CREDENTIALS_ACCESS_KEY_ID
The AWS access key ID when usingstatic credentials
.Expects a String value such as
AKIDEXAMPLE
.No default: must be provided when signing is enabled and the credentials type is set to
ElasticsearchAwsCredentialsTypeNames.STATIC
.- See Also:
-
CREDENTIALS_SECRET_ACCESS_KEY
The AWS secret access key when usingstatic credentials
.Expects a String value such as
wJalrXUtnFEMI/K7MDENG+bPxRfiCYEXAMPLEKEY
No default: must be provided when signing is enabled and the credentials type is set to
ElasticsearchAwsCredentialsTypeNames.STATIC
.- See Also:
-