Skip to content
v2.273.0

AliasRecordTargetConfig Struct ​

Represents the properties of an alias target destination.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_route53 as route53 } from 'aws-cdk-lib';
const aliasRecordTargetConfig: route53.AliasRecordTargetConfig = {
  dnsName: 'dnsName',
  hostedZoneId: 'hostedZoneId',

  // the properties below are optional
  evaluateTargetHealth: false,
};

Properties ​

dnsNamestringdns_namestrdnsNameStringDnsNamestringDnsName*stringrequired#
DNS name of the target.
evaluateTargetHealthbooleanevaluate_target_healthboolevaluateTargetHealthBooleanEvaluateTargetHealthboolEvaluateTargetHealth*bool= no health check configuration#
Evaluate the target health.
hostedZoneIdstringhosted_zone_idstrhostedZoneIdStringHostedZoneIdstringHostedZoneId*stringrequired#
Hosted zone ID of the target.