Class UserPoolDomainTarget

java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.route53.targets.UserPoolDomainTarget
All Implemented Interfaces:
IAliasRecordTarget, software.amazon.jsii.JsiiSerializable

@Generated(value="jsii-pacmak/1.103.1 (build bef2dea)", date="2024-10-05T03:43:50.500Z") @Stability(Stable) public class UserPoolDomainTarget extends software.amazon.jsii.JsiiObject implements IAliasRecordTarget
Use a user pool domain as an alias record target.

Example:

 import software.amazon.awscdk.services.cognito.*;
 HostedZone zone;
 UserPoolDomain domain;
 ARecord.Builder.create(this, "AliasRecord")
         .zone(zone)
         .target(RecordTarget.fromAlias(new UserPoolDomainTarget(domain)))
         .build();
 
  • Constructor Details

    • UserPoolDomainTarget

      protected UserPoolDomainTarget(software.amazon.jsii.JsiiObjectRef objRef)
    • UserPoolDomainTarget

      protected UserPoolDomainTarget(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
    • UserPoolDomainTarget

      @Stability(Stable) public UserPoolDomainTarget(@NotNull UserPoolDomain domain)
      Parameters:
      domain - This parameter is required.
  • Method Details