Interface HostedZoneAttributes

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Subinterfaces:
PublicHostedZoneAttributes
All Known Implementing Classes:
HostedZoneAttributes.Jsii$Proxy, PublicHostedZoneAttributes.Jsii$Proxy

@Generated(value="jsii-pacmak/1.98.0 (build 00b106d)", date="2024-05-08T21:35:13.005Z") @Stability(Stable) public interface HostedZoneAttributes extends software.amazon.jsii.JsiiSerializable
Reference to a hosted zone.

Example:

 App app;
 Stack stack = Stack.Builder.create(app, "Stack")
         .crossRegionReferences(true)
         .env(Environment.builder()
                 .region("us-east-2")
                 .build())
         .build();
 HttpsRedirect.Builder.create(this, "Redirect")
         .recordNames(List.of("foo.example.com"))
         .targetDomain("bar.example.com")
         .zone(HostedZone.fromHostedZoneAttributes(this, "HostedZone", HostedZoneAttributes.builder()
                 .hostedZoneId("ID")
                 .zoneName("example.com")
                 .build()))
         .build();