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. |
account
Required
public readonly account: string;
- Type: string
Query account.
domainName
Required
public readonly domainName: string;
- Type: string
The domain name e.g. example.com to lookup.
region
Required
public readonly region: string;
- Type: string
Query region.
privateZone
Optional
public readonly privateZone: boolean;
- Type: boolean
- Default: false
True if the zone you want to find is a private hosted zone.
vpcId
Optional
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.