interface IAliasRecordTarget
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.Route53.IAliasRecordTarget |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsroute53#IAliasRecordTarget |
Java | software.amazon.awscdk.services.route53.IAliasRecordTarget |
Python | aws_cdk.aws_route53.IAliasRecordTarget |
TypeScript (source) | aws-cdk-lib » aws_route53 » IAliasRecordTarget |
Implemented by
Api
, Api
, Api
, Bucket
, Classic
, Cloud
, Elastic
, Global
, Global
, Interface
, Load
, Route53
, User
Classes that are valid alias record targets, like CloudFront distributions and load balancers, should implement this interface.
Methods
Name | Description |
---|---|
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
IRecord
Set - zone
IHosted
Zone
Returns
Return hosted zone ID and DNS name, usable for Route53 alias targets.