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.84.0 (build 5404dcf)", date="2023-06-19T16:30:46.875Z") @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