Package com.jcabi.dynamo
Class Credentials.Assumed
- java.lang.Object
-
- com.jcabi.dynamo.Credentials.Assumed
-
- All Implemented Interfaces:
Credentials
- Enclosing interface:
- Credentials
@Immutable @Loggable(1) public static final class Credentials.Assumed extends Object implements Credentials
Assumed AWS IAM role.- Since:
- 0.1
- See Also:
- Granting Applications that Run on Amazon EC2 Instances Access to AWS Resources
-
-
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
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.amazonaws.services.dynamodbv2.AmazonDynamoDB
aws()
Build AWS client.String
toString()
-
-
-
Constructor Detail
-
Assumed
public Assumed()
Public ctor.
-
Assumed
public Assumed(String reg)
Public ctor.- Parameters:
reg
- Region
-
-
Method Detail
-
aws
public com.amazonaws.services.dynamodbv2.AmazonDynamoDB aws()
Description copied from interface:Credentials
Build AWS client.Don't forget to shut it down after use, using
AmazonDynamoDB.shutdown()
.- Specified by:
aws
in interfaceCredentials
- Returns:
- Amazon Dynamo DB client
-
-