Class ApiGatewayv2DomainProperties

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

@Generated(value="jsii-pacmak/1.104.0 (build e79254c)", date="2024-12-27T17:02:09.235Z") @Stability(Stable) public class ApiGatewayv2DomainProperties extends software.amazon.jsii.JsiiObject implements IAliasRecordTarget
Defines an API Gateway V2 domain name as the alias target.

Example:

 import software.amazon.awscdk.services.apigatewayv2.*;
 HostedZone zone;
 DomainName domainName;
 ARecord.Builder.create(this, "AliasRecord")
         .zone(zone)
         .target(RecordTarget.fromAlias(new ApiGatewayv2DomainProperties(domainName.getRegionalDomainName(), domainName.getRegionalHostedZoneId())))
         .build();
 
  • Constructor Details

    • ApiGatewayv2DomainProperties

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

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

      @Stability(Stable) public ApiGatewayv2DomainProperties(@NotNull String regionalDomainName, @NotNull String regionalHostedZoneId)
      Parameters:
      regionalDomainName - the domain name associated with the regional endpoint for this custom domain name. This parameter is required.
      regionalHostedZoneId - the region-specific Amazon Route 53 Hosted Zone ID of the regional endpoint. This parameter is required.
  • Method Details