interface PrivateHostedZoneAttributes
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.Route53.PrivateHostedZoneAttributes |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awsroute53#PrivateHostedZoneAttributes |
![]() | software.amazon.awscdk.services.route53.PrivateHostedZoneAttributes |
![]() | aws_cdk.aws_route53.PrivateHostedZoneAttributes |
![]() | 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.