interface HostedZoneAttributes
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.Route53.HostedZoneAttributes |
![]() | software.amazon.awscdk.services.route53.HostedZoneAttributes |
![]() | aws_cdk.aws_route53.HostedZoneAttributes |
![]() | @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.