interface PrivateHostedZoneAttributes
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.Route53.PrivateHostedZoneAttributes |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsroute53#PrivateHostedZoneAttributes |
Java | software.amazon.awscdk.services.route53.PrivateHostedZoneAttributes |
Python | aws_cdk.aws_route53.PrivateHostedZoneAttributes |
TypeScript (source) | aws-cdk-lib » aws_route53 » PrivateHostedZoneAttributes |
Reference to a private hosted zone.
Example
const privateZoneFromAttributes = route53.PrivateHostedZone.fromPrivateHostedZoneAttributes(this, 'MyPrivateZone', {
zoneName: 'example.local',
hostedZoneId: 'ZOJJZC49E0EPZ',
});
// Does not know zoneName
const privateZoneFromId = route53.PrivateHostedZone.fromPrivateHostedZoneId(this, 'MyPrivateZone', 'ZOJJZC49E0EPZ');
Properties
| Name | Type | Description |
|---|---|---|
| hosted | string | Identifier of the hosted zone. |
| zone | string | Name of the hosted zone. |
hostedZoneId
Type:
string
Identifier of the hosted zone.
zoneName
Type:
string
Name of the hosted zone.

.NET
Go
Java
Python
TypeScript (