getNetworkInsightsPath

aws.ec2.NetworkInsightsPath provides details about a specific Network Insights Path.

Example Usage

package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.ec2.Ec2Functions;
import com.pulumi.aws.ec2.inputs.GetNetworkInsightsPathArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var example = Ec2Functions.getNetworkInsightsPath(GetNetworkInsightsPathArgs.builder()
.networkInsightsPathId(aws_ec2_network_insights_path.example().id())
.build());
}
}

Return

A collection of values returned by getNetworkInsightsPath.

Parameters

argument

A collection of arguments for invoking getNetworkInsightsPath.


suspend fun getNetworkInsightsPath(filters: List<GetNetworkInsightsPathFilter>? = null, networkInsightsPathId: String? = null, tags: Map<String, String>? = null): GetNetworkInsightsPathResult

Return

A collection of values returned by getNetworkInsightsPath.

Parameters

filters

Configuration block(s) for filtering. Detailed below.

networkInsightsPathId

ID of the Network Insights Path to select.

tags

Map of tags assigned to the resource.

See also


Return

A collection of values returned by getNetworkInsightsPath.

Parameters

argument

Builder for com.pulumi.aws.ec2.kotlin.inputs.GetNetworkInsightsPathPlainArgs.

See also