Package org.apache.iceberg.aws
Class AssumeRoleAwsClientFactory
java.lang.Object
org.apache.iceberg.aws.AssumeRoleAwsClientFactory
- All Implemented Interfaces:
Serializable,AwsClientFactory
- Direct Known Subclasses:
LakeFormationAwsClientFactory
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected <T extends software.amazon.awssdk.awscore.client.builder.AwsClientBuilder & software.amazon.awssdk.awscore.client.builder.AwsSyncClientBuilder>
TapplyAssumeRoleConfigurations(T clientBuilder) protected AwsPropertiessoftware.amazon.awssdk.services.dynamodb.DynamoDbClientdynamo()Create a Amazon DynamoDB clientsoftware.amazon.awssdk.services.glue.GlueClientglue()create a AWS Glue clientprotected HttpClientPropertiesvoidinitialize(Map<String, String> properties) Initialize AWS client factory from catalog properties.software.amazon.awssdk.services.kms.KmsClientkms()Create a AWS KMS clientprotected Stringregion()software.amazon.awssdk.services.s3.S3Clients3()create a Amazon S3 clientprotected S3FileIOProperties
-
Constructor Details
-
AssumeRoleAwsClientFactory
public AssumeRoleAwsClientFactory()
-
-
Method Details
-
s3
public software.amazon.awssdk.services.s3.S3Client s3()Description copied from interface:AwsClientFactorycreate a Amazon S3 client- Specified by:
s3in interfaceAwsClientFactory- Returns:
- s3 client
-
glue
public software.amazon.awssdk.services.glue.GlueClient glue()Description copied from interface:AwsClientFactorycreate a AWS Glue client- Specified by:
gluein interfaceAwsClientFactory- Returns:
- glue client
-
kms
public software.amazon.awssdk.services.kms.KmsClient kms()Description copied from interface:AwsClientFactoryCreate a AWS KMS client- Specified by:
kmsin interfaceAwsClientFactory- Returns:
- kms client
-
dynamo
public software.amazon.awssdk.services.dynamodb.DynamoDbClient dynamo()Description copied from interface:AwsClientFactoryCreate a Amazon DynamoDB client- Specified by:
dynamoin interfaceAwsClientFactory- Returns:
- dynamoDB client
-
initialize
Description copied from interface:AwsClientFactoryInitialize AWS client factory from catalog properties.- Specified by:
initializein interfaceAwsClientFactory- Parameters:
properties- catalog properties
-
applyAssumeRoleConfigurations
protected <T extends software.amazon.awssdk.awscore.client.builder.AwsClientBuilder & software.amazon.awssdk.awscore.client.builder.AwsSyncClientBuilder> T applyAssumeRoleConfigurations(T clientBuilder) -
region
-
awsProperties
-
httpClientProperties
-
s3FileIOProperties
-