getServiceNetwork

Data source for managing an AWS VPC Lattice Service Network.

Example Usage

Basic Usage

package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.vpclattice.VpclatticeFunctions;
import com.pulumi.aws.vpclattice.inputs.GetServiceNetworkArgs;
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 = VpclatticeFunctions.getServiceNetwork(GetServiceNetworkArgs.builder()
.serviceNetworkIdentifier("")
.build());
}
}

Return

A collection of values returned by getServiceNetwork.

Parameters

argument

A collection of arguments for invoking getServiceNetwork.


suspend fun getServiceNetwork(serviceNetworkIdentifier: String, tags: Map<String, String>? = null): GetServiceNetworkResult

Return

A collection of values returned by getServiceNetwork.

Parameters

serviceNetworkIdentifier

Identifier of the network service.

tags

See also


Return

A collection of values returned by getServiceNetwork.

Parameters

argument

Builder for com.pulumi.aws.vpclattice.kotlin.inputs.GetServiceNetworkPlainArgs.

See also