typed-aws
Version:
Helps you write AWS CloudFormation in TypeScript
102 lines (101 loc) • 4.39 kB
TypeScript
import { CfnResource, Resolvable } from '../../base';
export declare type HostedZone_Type = 'AWS::Route53::HostedZone';
export declare const HostedZone_Type = "AWS::Route53::HostedZone";
/**
* Resource schema for AWS::Route53::HostedZone. {@link
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-route53-hostedzone.html}
*/
export default function HostedZone(props: HostedZone_Properties): CfnResource<HostedZone_Properties>;
/**
* Resource schema for AWS::Route53::HostedZone. {@link
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-route53-hostedzone.html}
*/
export declare type HostedZone_Properties = {
Id?: Resolvable<string>;
/**
* {@link
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-route53-hostedzone.html#cfn-route53-hostedzone-hostedzoneconfig}
*/
HostedZoneConfig?: HostedZoneConfig;
/**
* {@link
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-route53-hostedzone.html#cfn-route53-hostedzone-hostedzonetags}
*/
HostedZoneTags?: HostedZoneTag[];
/**
* {@link
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-route53-hostedzone.html#cfn-route53-hostedzone-name}
*/
Name?: Resolvable<string>;
/**
* {@link
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-route53-hostedzone.html#cfn-route53-hostedzone-queryloggingconfig}
*/
QueryLoggingConfig?: QueryLoggingConfig;
/**
* {@link
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-route53-hostedzone.html#cfn-route53-hostedzone-vpcs}
*/
VPCs?: VPC[];
NameServers?: Resolvable<string>[];
};
/**
* A complex type that contains an optional comment. If you don't want to
* specify a comment, omit the HostedZoneConfig and Comment elements.
* {@link
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-route53-hostedzone-hostedzoneconfig.html}
*/
export declare type HostedZoneConfig = {
/**
* {@link
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-route53-hostedzone-hostedzoneconfig.html#cfn-route53-hostedzone-hostedzoneconfig-comment}
*/
Comment?: Resolvable<string>;
};
/**
* A complex type that contains information about a tag that you want to
* add or edit for the specified health check or hosted zone. {@link
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-route53-hostedzone-hostedzonetag.html}
*/
export declare type HostedZoneTag = {
/**
* {@link
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-route53-hostedzone-hostedzonetag.html#cfn-route53-hostedzone-hostedzonetag-key}
*/
Key: Resolvable<string>;
/**
* {@link
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-route53-hostedzone-hostedzonetag.html#cfn-route53-hostedzone-hostedzonetag-value}
*/
Value: Resolvable<string>;
};
/**
* A complex type that contains information about a configuration for DNS
* query logging. {@link
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-route53-hostedzone-queryloggingconfig.html}
*/
export declare type QueryLoggingConfig = {
/**
* {@link
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-route53-hostedzone-queryloggingconfig.html#cfn-route53-hostedzone-queryloggingconfig-cloudwatchlogsloggrouparn}
*/
CloudWatchLogsLogGroupArn: Resolvable<string>;
};
/**
* A complex type that contains information about an Amazon VPC. Route 53
* Resolver uses the records in the private hosted zone to route traffic
* in that VPC. {@link
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-route53-hostedzone-vpc.html}
*/
export declare type VPC = {
/**
* {@link
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-route53-hostedzone-vpc.html#cfn-route53-hostedzone-vpc-vpcid}
*/
VPCId: Resolvable<string>;
/**
* {@link
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-route53-hostedzone-vpc.html#cfn-route53-hostedzone-vpc-vpcregion}
*/
VPCRegion: Resolvable<string>;
};