aws-cdk-lib.aws_route53.IAliasRecordTarget

interface IAliasRecordTarget

LanguageType name
.NETAmazon.CDK.AWS.Route53.IAliasRecordTarget
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsroute53#IAliasRecordTarget
Javasoftware.amazon.awscdk.services.route53.IAliasRecordTarget
Pythonaws_cdk.aws_route53.IAliasRecordTarget
TypeScript (source)aws-cdk-lib » aws_route53 » IAliasRecordTarget

Implemented by ApiGateway, ApiGatewayDomain, ApiGatewayv2DomainProperties, BucketWebsiteTarget, ClassicLoadBalancerTarget, CloudFrontTarget, ElasticBeanstalkEnvironmentEndpointTarget, GlobalAcceleratorDomainTarget, GlobalAcceleratorTarget, InterfaceVpcEndpointTarget, LoadBalancerTarget, Route53RecordTarget, UserPoolDomainTarget

Classes that are valid alias record targets, like CloudFront distributions and load balancers, should implement this interface.

Methods

NameDescription
bind(record, zone?)Return hosted zone ID and DNS name, usable for Route53 alias targets.

bind(record, zone?)

public bind(record: IRecordSet, zone?: IHostedZone): AliasRecordTargetConfig

Parameters

  • record IRecordSet
  • zone IHostedZone

Returns

  • AliasRecordTargetConfig

Return hosted zone ID and DNS name, usable for Route53 alias targets.