@csermet/multiprovider
Version:
cloud-graph provider plugin for AWS used to fetch AWS cloud data.
24 lines (23 loc) • 748 B
TypeScript
import Route53, { DelegationSet, HostedZone, VPCs } from 'aws-sdk/clients/route53';
import { Config } from 'aws-sdk/lib/config';
export interface RawAwsRoute53HostedZone extends HostedZone {
DelegationSet?: DelegationSet;
VPCs?: VPCs;
region: string;
}
export declare const listHostedZones: (route53: Route53, hostedZonesIds: {
Id: string;
}[]) => Promise<void>;
export declare const getHostedZoneData: (route53: Route53, hostedZonesIds: {
Id: string;
}[], hostedZonesData: RawAwsRoute53HostedZone[]) => Promise<void[]>;
declare const _default: ({ config, }: {
regions: string;
config: Config;
}) => Promise<{
[region: string]: RawAwsRoute53HostedZone[];
}>;
/**
* Route53 Hosted Zones
*/
export default _default;