aws-cdk-lib.aws_route53.AliasRecordTargetConfig

interface AliasRecordTargetConfig

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

Obtainable from ApiGatewayDomain.bind(), ApiGatewayv2DomainProperties.bind(), BucketWebsiteTarget.bind(), ClassicLoadBalancerTarget.bind(), CloudFrontTarget.bind(), ElasticBeanstalkEnvironmentEndpointTarget.bind(), GlobalAcceleratorDomainTarget.bind(), InterfaceVpcEndpointTarget.bind(), LoadBalancerTarget.bind(), Route53RecordTarget.bind(), UserPoolDomainTarget.bind()

Represents the properties of an alias target destination.

Example

// 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',
};

Properties

NameTypeDescription
dnsNamestringDNS name of the target.
hostedZoneIdstringHosted zone ID of the target.

dnsName

Type: string

DNS name of the target.


hostedZoneId

Type: string

Hosted zone ID of the target.