HostedZoneContextQuery
Query to hosted zone context provider.
Initializer
import { HostedZoneContextQuery } from '@alicloud/ros-cdk-assembly-schema'
const hostedZoneContextQuery: HostedZoneContextQuery = { ... }
Properties
| Name | Type | Description |
|---|---|---|
account |
string |
Query account. |
domainName |
string |
The domain name e.g. example.com to lookup. |
region |
string |
Query region. |
privateZone |
boolean |
True if the zone you want to find is a private hosted zone. |
vpcId |
string |
The VPC ID to that the private zone must be associated with. |
accountRequired
public readonly account: string;
- Type: string
Query account.
domainNameRequired
public readonly domainName: string;
- Type: string
The domain name e.g. example.com to lookup.
regionRequired
public readonly region: string;
- Type: string
Query region.
privateZoneOptional
public readonly privateZone: boolean;
- Type: boolean
- Default: false
True if the zone you want to find is a private hosted zone.
vpcIdOptional
public readonly vpcId: string;
- Type: string
- Default: Required if privateZone=true
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.