Package com.jcabi.dynamo
Class Credentials.Simple
java.lang.Object
com.jcabi.dynamo.Credentials.Simple
- All Implemented Interfaces:
Credentials
- Enclosing interface:
- Credentials
@Immutable
@Loggable(1)
public static final class Credentials.Simple
extends Object
implements Credentials
Simple implementation.
- Since:
- 0.1
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.jcabi.dynamo.Credentials
Credentials.Assumed, Credentials.Direct, Credentials.Simple -
Field Summary
Fields inherited from interface com.jcabi.dynamo.Credentials
TEST -
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Simple
Public ctor, with "us-east-1" region.- Parameters:
akey- AWS keyscrt- Secret
-
Simple
Public ctor.- Parameters:
akey- AWS keyscrt- Secretreg- Region
-
-
Method Details
-
toString
-
aws
public software.amazon.awssdk.services.dynamodb.DynamoDbClient aws()Description copied from interface:CredentialsBuild AWS client.Don't forget to shut it down after use, using
SdkAutoCloseable.close().- Specified by:
awsin interfaceCredentials- Returns:
- Amazon Dynamo DB client
-