mirror of
https://github.com/certd/certd.git
synced 2026-04-30 17:37:24 +08:00
feat: 完善注释
This commit is contained in:
@@ -14,7 +14,7 @@ export class AwsIAMClient {
|
|||||||
this.region = options.region;
|
this.region = options.region;
|
||||||
}
|
}
|
||||||
async importCertificate(certInfo: CertInfo, certName: string) {
|
async importCertificate(certInfo: CertInfo, certName: string) {
|
||||||
// 创建 ACM 客户端
|
// 创建 IAM 客户端
|
||||||
const { IAMClient, UploadServerCertificateCommand } = await import('@aws-sdk/client-iam');
|
const { IAMClient, UploadServerCertificateCommand } = await import('@aws-sdk/client-iam');
|
||||||
const iamClient = new IAMClient({
|
const iamClient = new IAMClient({
|
||||||
region: this.region, // 替换为您的 AWS 区域
|
region: this.region, // 替换为您的 AWS 区域
|
||||||
|
|||||||
Reference in New Issue
Block a user