UNPKG

@pulumi/aws

Version:

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

58 lines 2.12 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.getNetworkInsightsPathOutput = exports.getNetworkInsightsPath = void 0; const pulumi = require("@pulumi/pulumi"); const utilities = require("../utilities"); /** * `aws.ec2.NetworkInsightsPath` provides details about a specific Network Insights Path. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aws from "@pulumi/aws"; * * const example = aws.ec2.getNetworkInsightsPath({ * networkInsightsPathId: exampleAwsEc2NetworkInsightsPath.id, * }); * ``` */ function getNetworkInsightsPath(args, opts) { args = args || {}; opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws:ec2/getNetworkInsightsPath:getNetworkInsightsPath", { "filters": args.filters, "networkInsightsPathId": args.networkInsightsPathId, "region": args.region, "tags": args.tags, }, opts); } exports.getNetworkInsightsPath = getNetworkInsightsPath; /** * `aws.ec2.NetworkInsightsPath` provides details about a specific Network Insights Path. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aws from "@pulumi/aws"; * * const example = aws.ec2.getNetworkInsightsPath({ * networkInsightsPathId: exampleAwsEc2NetworkInsightsPath.id, * }); * ``` */ function getNetworkInsightsPathOutput(args, opts) { args = args || {}; opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("aws:ec2/getNetworkInsightsPath:getNetworkInsightsPath", { "filters": args.filters, "networkInsightsPathId": args.networkInsightsPathId, "region": args.region, "tags": args.tags, }, opts); } exports.getNetworkInsightsPathOutput = getNetworkInsightsPathOutput; //# sourceMappingURL=getNetworkInsightsPath.js.map