Interface IHostedZoneContextQuery
Query to hosted zone context provider.
Inherited Members
Namespace: Amazon.CDK.CloudAssemblySchema
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface IHostedZoneContextQuery : IContextLookupRoleOptions
Syntax (vb)
Public Interface IHostedZoneContextQuery
Inherits IContextLookupRoleOptions
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.Cloud_assembly_schema;
var assumeRoleAdditionalOptions;
var hostedZoneContextQuery = new HostedZoneContextQuery {
Account = "account",
DomainName = "domainName",
Region = "region",
// the properties below are optional
AssumeRoleAdditionalOptions = new Dictionary<string, object> {
{ "assumeRoleAdditionalOptionsKey", assumeRoleAdditionalOptions }
},
LookupRoleArn = "lookupRoleArn",
LookupRoleExternalId = "lookupRoleExternalId",
PrivateZone = false,
VpcId = "vpcId"
};
Synopsis
Properties
Domain |
The domain name e.g. example.com to lookup. |
Private |
True if the zone you want to find is a private hosted zone. |
Vpc |
The VPC ID to that the private zone must be associated with. |
Properties
DomainName
The domain name e.g. example.com to lookup.
string DomainName { get; }
Property Value
System.
PrivateZone
True if the zone you want to find is a private hosted zone.
virtual Nullable<bool> PrivateZone { get; }
Property Value
System.
Remarks
Default: false
VpcId
The VPC ID to that the private zone must be associated with.
virtual string VpcId { get; }
Property Value
System.
Remarks
If you provide VPC ID and privateZone is false, this will return no results and raise an error.
Default: - Required if privateZone=true