AliasRecordTargetConfig
- class aws_cdk.aws_route53.AliasRecordTargetConfig(*, dns_name, hosted_zone_id, evaluate_target_health=None)
Bases:
object
Represents the properties of an alias target destination.
- Parameters:
dns_name (
str
) – DNS name of the target.hosted_zone_id (
str
) – Hosted zone ID of the target.evaluate_target_health (
Optional
[bool
]) – Evaluate the target health. Default: - no health check configuration
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk import aws_route53 as route53 alias_record_target_config = route53.AliasRecordTargetConfig( dns_name="dnsName", hosted_zone_id="hostedZoneId", # the properties below are optional evaluate_target_health=False )
Attributes
- dns_name
DNS name of the target.
- evaluate_target_health
Evaluate the target health.
- Default:
no health check configuration
- hosted_zone_id
Hosted zone ID of the target.