UNPKG

@pulumi/aws

Version:

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

96 lines 3 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.getQueryLogConfigOutput = exports.getQueryLogConfig = void 0; const pulumi = require("@pulumi/pulumi"); const utilities = require("../utilities"); /** * `aws.route53.ResolverQueryLogConfig` provides details about a specific Route53 Resolver Query Logging Configuration. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aws from "@pulumi/aws"; * * const example = aws.route53.getQueryLogConfig({ * resolverQueryLogConfigId: "rqlc-1abc2345ef678g91h", * }); * ``` * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aws from "@pulumi/aws"; * * const example = aws.route53.getQueryLogConfig({ * filters: [ * { * name: "Name", * values: ["shared-query-log-config"], * }, * { * name: "ShareStatus", * values: ["SHARED_WITH_ME"], * }, * ], * }); * ``` */ function getQueryLogConfig(args, opts) { args = args || {}; opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws:route53/getQueryLogConfig:getQueryLogConfig", { "filters": args.filters, "name": args.name, "region": args.region, "resolverQueryLogConfigId": args.resolverQueryLogConfigId, "tags": args.tags, }, opts); } exports.getQueryLogConfig = getQueryLogConfig; /** * `aws.route53.ResolverQueryLogConfig` provides details about a specific Route53 Resolver Query Logging Configuration. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aws from "@pulumi/aws"; * * const example = aws.route53.getQueryLogConfig({ * resolverQueryLogConfigId: "rqlc-1abc2345ef678g91h", * }); * ``` * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aws from "@pulumi/aws"; * * const example = aws.route53.getQueryLogConfig({ * filters: [ * { * name: "Name", * values: ["shared-query-log-config"], * }, * { * name: "ShareStatus", * values: ["SHARED_WITH_ME"], * }, * ], * }); * ``` */ function getQueryLogConfigOutput(args, opts) { args = args || {}; opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("aws:route53/getQueryLogConfig:getQueryLogConfig", { "filters": args.filters, "name": args.name, "region": args.region, "resolverQueryLogConfigId": args.resolverQueryLogConfigId, "tags": args.tags, }, opts); } exports.getQueryLogConfigOutput = getQueryLogConfigOutput; //# sourceMappingURL=getQueryLogConfig.js.map