interface HostedZoneAttributes
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.Route53.HostedZoneAttributes |
Java | software.amazon.awscdk.services.route53.HostedZoneAttributes |
Python | aws_cdk.aws_route53.HostedZoneAttributes |
TypeScript (source) | @aws-cdk/aws-route53 » HostedZoneAttributes |
Reference to a hosted zone.
Example
new patterns.HttpsRedirect(this, 'Redirect', {
recordNames: ['foo.example.com'],
targetDomain: 'bar.example.com',
zone: route53.HostedZone.fromHostedZoneAttributes(this, 'HostedZone', {
hostedZoneId: 'ID',
zoneName: 'example.com',
}),
});
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
Java
Python
TypeScript (