import * as pulumi from "@pulumi/pulumi"; /** * Use this data source to get the [IP ranges](https://docs.fastly.com/guides/securing-communications/accessing-fastlys-ip-ranges) of Fastly edge nodes. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aws from "@pulumi/aws"; * import * as fastly from "@pulumi/fastly"; * * const fastly2 = fastly.getFastlyIpRanges({}); * const fromFastly = new aws.index.SecurityGroup("from_fastly", { * name: "from_fastly", * ingress: [{ * fromPort: "443", * toPort: "443", * protocol: "tcp", * cidrBlocks: fastly2.cidrBlocks, * ipv6CidrBlocks: fastly2.ipv6CidrBlocks, * }], * }); * ``` * * [1]: https://docs.fastly.com/guides/securing-communications/accessing-fastlys-ip-ranges */ export declare function getFastlyIpRanges(opts?: pulumi.InvokeOptions): Promise; /** * A collection of values returned by getFastlyIpRanges. */ export interface GetFastlyIpRangesResult { /** * The lexically ordered list of ipv4 CIDR blocks. */ readonly cidrBlocks: string[]; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * The lexically ordered list of ipv6 CIDR blocks. */ readonly ipv6CidrBlocks: string[]; } /** * Use this data source to get the [IP ranges](https://docs.fastly.com/guides/securing-communications/accessing-fastlys-ip-ranges) of Fastly edge nodes. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aws from "@pulumi/aws"; * import * as fastly from "@pulumi/fastly"; * * const fastly2 = fastly.getFastlyIpRanges({}); * const fromFastly = new aws.index.SecurityGroup("from_fastly", { * name: "from_fastly", * ingress: [{ * fromPort: "443", * toPort: "443", * protocol: "tcp", * cidrBlocks: fastly2.cidrBlocks, * ipv6CidrBlocks: fastly2.ipv6CidrBlocks, * }], * }); * ``` * * [1]: https://docs.fastly.com/guides/securing-communications/accessing-fastlys-ip-ranges */ export declare function getFastlyIpRangesOutput(opts?: pulumi.InvokeOutputOptions): pulumi.Output; //# sourceMappingURL=getFastlyIpRanges.d.ts.map