UNPKG

@pulumi/aws

Version:

A Pulumi package for creating and managing Amazon Web Services (AWS) cloud resources.

60 lines 2.33 kB
"use strict"; // *** WARNING: this file was generated by pulumi-language-nodejs. *** // *** Do not edit by hand unless you're certain you know what you are doing! *** Object.defineProperty(exports, "__esModule", { value: true }); exports.getResolverFirewallConfigOutput = exports.getResolverFirewallConfig = void 0; const pulumi = require("@pulumi/pulumi"); const utilities = require("../utilities"); /** * `aws.route53.ResolverFirewallConfig` provides details about a specific a Route 53 Resolver DNS Firewall config. * * This data source allows to find a details about a specific a Route 53 Resolver DNS Firewall config. * * ## Example Usage * * The following example shows how to get a firewall config using the VPC ID. * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aws from "@pulumi/aws"; * * const example = aws.route53.getResolverFirewallConfig({ * resourceId: "vpc-exampleid", * }); * ``` */ function getResolverFirewallConfig(args, opts) { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws:route53/getResolverFirewallConfig:getResolverFirewallConfig", { "region": args.region, "resourceId": args.resourceId, }, opts); } exports.getResolverFirewallConfig = getResolverFirewallConfig; /** * `aws.route53.ResolverFirewallConfig` provides details about a specific a Route 53 Resolver DNS Firewall config. * * This data source allows to find a details about a specific a Route 53 Resolver DNS Firewall config. * * ## Example Usage * * The following example shows how to get a firewall config using the VPC ID. * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aws from "@pulumi/aws"; * * const example = aws.route53.getResolverFirewallConfig({ * resourceId: "vpc-exampleid", * }); * ``` */ function getResolverFirewallConfigOutput(args, opts) { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("aws:route53/getResolverFirewallConfig:getResolverFirewallConfig", { "region": args.region, "resourceId": args.resourceId, }, opts); } exports.getResolverFirewallConfigOutput = getResolverFirewallConfigOutput; //# sourceMappingURL=getResolverFirewallConfig.js.map