Package org.apache.iceberg.aws
Interface AwsClientFactory
-
- All Superinterfaces:
java.io.Serializable
- All Known Implementing Classes:
AssumeRoleAwsClientFactory
,LakeFormationAwsClientFactory
public interface AwsClientFactory extends java.io.Serializable
Interface to customize AWS clients used by Iceberg. A custom factory must have a no-arg constructor, and useinitialize(Map)
to initialize the factory.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description software.amazon.awssdk.services.dynamodb.DynamoDbClient
dynamo()
Create a Amazon DynamoDB clientsoftware.amazon.awssdk.services.glue.GlueClient
glue()
create a AWS Glue clientvoid
initialize(java.util.Map<java.lang.String,java.lang.String> properties)
Initialize AWS client factory from catalog properties.software.amazon.awssdk.services.kms.KmsClient
kms()
Create a AWS KMS clientsoftware.amazon.awssdk.services.s3.S3Client
s3()
create a Amazon S3 client
-
-
-
Method Detail
-
s3
software.amazon.awssdk.services.s3.S3Client s3()
create a Amazon S3 client- Returns:
- s3 client
-
glue
software.amazon.awssdk.services.glue.GlueClient glue()
create a AWS Glue client- Returns:
- glue client
-
kms
software.amazon.awssdk.services.kms.KmsClient kms()
Create a AWS KMS client- Returns:
- kms client
-
dynamo
software.amazon.awssdk.services.dynamodb.DynamoDbClient dynamo()
Create a Amazon DynamoDB client- Returns:
- dynamoDB client
-
initialize
void initialize(java.util.Map<java.lang.String,java.lang.String> properties)
Initialize AWS client factory from catalog properties.- Parameters:
properties
- catalog properties
-
-