Package org.nuxeo.runtime.aws
Interface AWSConfigurationService
-
- All Known Implementing Classes:
AWSConfigurationServiceImpl
public interface AWSConfigurationService
The service providing AWS configuration.- Since:
- 10.3
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default com.amazonaws.auth.AWSCredentials
getAWSCredentials()
Gets the AWS Credentials for the default configuration.com.amazonaws.auth.AWSCredentials
getAWSCredentials(String id)
Gets the AWS Credentials for the given configuration.default String
getAWSRegion()
Gets the AWS Region for the default configuration.String
getAWSRegion(String id)
Gets the AWS Region for the given configuration.
-
-
-
Method Detail
-
getAWSCredentials
default com.amazonaws.auth.AWSCredentials getAWSCredentials()
Gets the AWS Credentials for the default configuration.- Returns:
- the AWS credentials, or
null
if not defined
-
getAWSCredentials
com.amazonaws.auth.AWSCredentials getAWSCredentials(String id)
Gets the AWS Credentials for the given configuration.- Parameters:
id
- the configuration id, ornull
for the default- Returns:
- the AWS credentials, or
null
if not defined - Since:
- 11.1
-
getAWSRegion
default String getAWSRegion()
Gets the AWS Region for the default configuration.- Returns:
- the AWS Region, or
null
if not defined
-
getAWSRegion
String getAWSRegion(String id)
Gets the AWS Region for the given configuration.- Parameters:
id
- the configuration id, ornull
for the default- Returns:
- the AWS Region, or
null
if not defined - Since:
- 11.1
-
-