aws-cdk-lib
Version:
Version 2 of the AWS Cloud Development Kit library
13 lines (12 loc) • 503 B
TypeScript
import { IAliasRecordTargetProps } from './shared';
import * as route53 from '../../aws-route53';
import * as s3 from '../../aws-s3';
/**
* Use a S3 as an alias record target
*/
export declare class BucketWebsiteTarget implements route53.IAliasRecordTarget {
private readonly bucket;
private readonly props?;
constructor(bucket: s3.IBucket, props?: IAliasRecordTargetProps | undefined);
bind(record: route53.IRecordSet, _zone?: route53.IHostedZone): route53.AliasRecordTargetConfig;
}