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.98.0 (build 00b106d)", date="2024-05-17T05:10:17.153Z") @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