Interface AwsClientFactory

All Superinterfaces:
Serializable
All Known Implementing Classes:
AssumeRoleAwsClientFactory, LakeFormationAwsClientFactory

public interface AwsClientFactory extends Serializable
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 Type
    Method
    Description
    software.amazon.awssdk.services.dynamodb.DynamoDbClient
    Create a Amazon DynamoDB client
    software.amazon.awssdk.services.glue.GlueClient
    create a AWS Glue client
    void
    initialize(Map<String,String> properties)
    Initialize AWS client factory from catalog properties.
    software.amazon.awssdk.services.kms.KmsClient
    kms()
    Create a AWS KMS client
    software.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

      void initialize(Map<String,String> properties)
      Initialize AWS client factory from catalog properties.
      Parameters:
      properties - catalog properties