ListHostedZonesByVPC
Source:
src/AWS/Route53/ListHostedZonesByVPC.ts
Runtime binding for the ListHostedZonesByVPC operation (IAM actions
route53:ListHostedZonesByVPC + ec2:DescribeVpcs — Route 53 verifies the
VPC on the caller’s behalf; list actions do not support resource-level
permissions, so both are granted on *).
Lists the private hosted zones associated with a VPC — discovery for
compute that audits or wires up split-horizon DNS at runtime. Provide the
implementation with Effect.provide(AWS.Route53.ListHostedZonesByVPCHttp).
Discovering Zones
Section titled “Discovering Zones”const listByVpc = yield* AWS.Route53.ListHostedZonesByVPC();
const { HostedZoneSummaries } = yield* listByVpc({ VPCId: "vpc-0123456789abcdef0", VPCRegion: "us-east-1",});