1 réponse
- Le plus récent
- Le plus de votes
- La plupart des commentaires
2
There is a special class UserPoolDomainTarget
[1] for creating Route53 alias records for Cognito User Pool domains. Try updating your targets for the Route53 alias records to use that class rather than CloudFrontTarget
. As an example, an updated version of the last two resources could look like the following:
// Update the A and AAAA records (update b/c of deletion before creation) new ARecord(this, 'aliasRecord', { zone: hostedZone, recordName: 'auth', deleteExisting: true, target: RecordTarget.fromAlias(new UserPoolDomainTarget(userPoolDomain)), }); new AaaaRecord(this, 'aaaAliasRecord', { zone: hostedZone, recordName: 'auth', deleteExisting: true, target: RecordTarget.fromAlias(new UserPoolDomainTarget(userPoolDomain)), });
répondu il y a un mois
Contenus pertinents
- demandé il y a 7 mois
- Réponse acceptéedemandé il y a 7 mois
- demandé il y a 2 mois
- AWS OFFICIELA mis à jour il y a un an
- AWS OFFICIELA mis à jour il y a 2 ans
- AWS OFFICIELA mis à jour il y a un an
- AWS OFFICIELA mis à jour il y a 2 ans