Package org.apache.iceberg.aws
Interface AwsClientFactory
- All Superinterfaces:
Serializable
- All Known Implementing Classes:
AssumeRoleAwsClientFactory
,LakeFormationAwsClientFactory
Interface to customize AWS clients used by Iceberg. A custom factory must have a no-arg
constructor, and use
initialize(Map)
to initialize the factory.-
Method Summary
Modifier and TypeMethodDescriptionsoftware.amazon.awssdk.services.dynamodb.DynamoDbClient
dynamo()
Create a Amazon DynamoDB clientsoftware.amazon.awssdk.services.glue.GlueClient
glue()
create a AWS Glue clientvoid
initialize
(Map<String, 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 Details
-
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
Initialize AWS client factory from catalog properties.- Parameters:
properties
- catalog properties
-