Name:
interface
Value:
Amplify has re-imagined the way frontend developers build fullstack applications. Develop and deploy without the hassle.
Gen1 DocsLegacy

Page updated Sep 25, 2024

AWS SDK for S3 APIを使用する

Amplifyが機能を提供していない高度なユースケースの場合、エスケープハッチを取得してS3Clientインスタンスにアクセスできます。

ブロッキングインターフェースまたはフューチャーに基づいた同等の非同期インターフェースのいずれかを使用して、JavaからKotlinクライアントを使用する方法について詳しくは、こちらを参照してください。

AWSS3StoragePlugin plugin = (AWSS3StoragePlugin) Amplify.Storage.getPlugin("awsS3StoragePlugin");
S3Client client = plugin.getEscapeHatch();
val plugin = Amplify.Storage.getPlugin("awsS3StoragePlugin") as AWSS3StoragePlugin
val client = plugin.escapeHatch