getNetworkInterfaceOutput function

Output<GetNetworkInterfaceResult> getNetworkInterfaceOutput(
  1. GetNetworkInterfaceArgs args, {
  2. InvokeOutputOptions? options,
})

Implementation

pulumi.Output<GetNetworkInterfaceResult> getNetworkInterfaceOutput(
  GetNetworkInterfaceArgs args, {
  pulumi.InvokeOutputOptions? options,
}) {
  return pulumi.invokeOutput<Map<String, dynamic>>(
    'aws:ec2/getNetworkInterface:getNetworkInterface',
    pulumi.Input.mapToInputs(args.toMap()),
    options: options,
  ).apply(GetNetworkInterfaceResult.fromMap);
}