You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

如何通过CDK配置Amazon Cognito域名的品牌版本?

enter image description here

我尚未找到任何关于通过CDK设置Branding version的文档。

示例代码:

const userPool = new cognito.UserPool(this, userPoolName, {
  userPoolName,
  deletionProtection: true,
  deviceTracking: {
    challengeRequiredOnNewDevice: true,
    deviceOnlyRememberedOnUserPrompt: true,
  },
  signInAliases: {
    email: true,
    phone: true,
  },
});

// Adds domain
userPool.addDomain(`${appName}-userpool-domain-${env}`, {
  cognitoDomain: {
    domainPrefix: `${appName}-${env}`,
  },
});

内容的提问来源于stack exchange,提问作者gene7426

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.06.15 21:27:04