AwsServerlessApiGatewayRestRoute53AliasRecordArgs
interface AwsServerlessApiGatewayRestRoute53AliasRecordArgs {
evaluateTargetHealth?: Input<boolean>;
hostedZoneName: Input<string>;
privateZone?: Input<boolean>;
recordName?: Input<string>;
}Optional Route53 alias-record settings for API Gateway REST custom domains.
Example
CODE
const route53AliasRecord: AwsServerlessApiGatewayRestRoute53AliasRecordArgs = {
hostedZoneName: 'orders.example.com',
recordName: 'api.orders.example.com',
evaluateTargetHealth: false,
};Properties
evaluateTargetHealth: Input<boolean>
Optional evaluate-target-health flag for Route53 alias records. Defaults to false.
hostedZoneName: Input<string>
Hosted zone name used to resolve the zone ID where the alias record should be created.
privateZone: Input<boolean>
Optional hosted-zone visibility flag used when resolving by name. Defaults to false.
recordName: Input<string>
Optional DNS record name. Defaults to args.apiGatewayRest.customDomain.domainName.