Interface DomainNameAttributes

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
DomainNameAttributes.Jsii$Proxy

@Generated(value="jsii-pacmak/1.101.0 (build b95fe5d)", date="2024-07-12T19:33:56.753Z") @Stability(Stable) public interface DomainNameAttributes extends software.amazon.jsii.JsiiSerializable
Example:

 RestApi api;
 IDomainName domainName = DomainName.fromDomainNameAttributes(this, "DomainName", DomainNameAttributes.builder()
         .domainName("domainName")
         .domainNameAliasHostedZoneId("domainNameAliasHostedZoneId")
         .domainNameAliasTarget("domainNameAliasTarget")
         .build());
 BasePathMapping.Builder.create(this, "BasePathMapping")
         .domainName(domainName)
         .restApi(api)
         .build();
 
  • Method Details

    • getDomainName

      @Stability(Stable) @NotNull String getDomainName()
      The domain name (e.g. example.com).
    • getDomainNameAliasHostedZoneId

      @Stability(Stable) @NotNull String getDomainNameAliasHostedZoneId()
      The Route53 hosted zone ID to use in order to connect a record set to this domain through an alias.
    • getDomainNameAliasTarget

      @Stability(Stable) @NotNull String getDomainNameAliasTarget()
      The Route53 alias target to use in order to connect a record set to this domain through an alias.
    • builder

      @Stability(Stable) static DomainNameAttributes.Builder builder()
      Returns:
      a DomainNameAttributes.Builder of DomainNameAttributes