Interface HostedZoneContextQuery
-
- All Superinterfaces:
ContextLookupRoleOptions,software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
HostedZoneContextQuery.Jsii$Proxy
@Generated(value="jsii-pacmak/1.118.0 (build 02eec31)", date="2025-11-06T20:25:05.787Z") @Stability(Stable) public interface HostedZoneContextQuery extends software.amazon.jsii.JsiiSerializable, ContextLookupRoleOptions
Query to hosted zone context provider.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classHostedZoneContextQuery.BuilderA builder forHostedZoneContextQuerystatic classHostedZoneContextQuery.Jsii$ProxyAn implementation forHostedZoneContextQuery
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description static HostedZoneContextQuery.Builderbuilder()StringgetDomainName()The domain name e.g.default BooleangetPrivateZone()True if the zone you want to find is a private hosted zone.default StringgetVpcId()The VPC ID to that the private zone must be associated with.-
Methods inherited from interface software.amazon.awscdk.cloudassembly.schema.ContextLookupRoleOptions
getAccount, getAssumeRoleAdditionalOptions, getLookupRoleArn, getLookupRoleExternalId, getRegion
-
-
-
-
Method Detail
-
getDomainName
@Stability(Stable) @NotNull String getDomainName()
The domain name e.g. example.com to lookup.
-
getPrivateZone
@Stability(Stable) @Nullable default Boolean getPrivateZone()
True if the zone you want to find is a private hosted zone.Default: false
-
getVpcId
@Stability(Stable) @Nullable default String getVpcId()
The VPC ID to that the private zone must be associated with.If you provide VPC ID and privateZone is false, this will return no results and raise an error.
Default: - Required if privateZone=true
-
builder
@Stability(Stable) static HostedZoneContextQuery.Builder builder()
- Returns:
- a
HostedZoneContextQuery.BuilderofHostedZoneContextQuery
-
-