HostedZoneContextQuery
Query to hosted zone context provider.
Initializer
import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkassemblyschema"
&alicloudroscdkassemblyschema.HostedZoneContextQuery {
Account: *string,
DomainName: *string,
Region: *string,
PrivateZone: *bool,
VpcId: *string,
}
Properties
Name | Type | Description |
---|---|---|
Account |
*string |
Query account. |
DomainName |
*string |
The domain name e.g. example.com to lookup. |
Region |
*string |
Query region. |
PrivateZone |
*bool |
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
Account *string
- Type: *string
Query account.
DomainName
Required
DomainName *string
- Type: *string
The domain name e.g. example.com to lookup.
Region
Required
Region *string
- Type: *string
Query region.
PrivateZone
Optional
PrivateZone *bool
- Type: *bool
- Default: false
True if the zone you want to find is a private hosted zone.
VpcId
Optional
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.