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.109.0 (build c221850)",
date="2025-03-14T03:25:04.515Z")
@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();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final class
A builder forHostedZoneAttributes
static final class
An implementation forHostedZoneAttributes
-
Method Summary
Modifier and TypeMethodDescriptionstatic HostedZoneAttributes.Builder
builder()
Identifier of the hosted zone.Name of the hosted zone.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getHostedZoneId
Identifier of the hosted zone. -
getZoneName
Name of the hosted zone. -
builder
- Returns:
- a
HostedZoneAttributes.Builder
ofHostedZoneAttributes
-