Skip to content

ServiceNetwork

Source: src/AWS/VpcLattice/ServiceNetwork.ts

An Amazon VPC Lattice service network — the logical boundary that connects services and VPCs into one application network. Cheap control-plane resource with no per-hour charge until VPCs or services are associated.

Basic Service Network

const network = yield* ServiceNetwork("AppNetwork", {});

IAM-Authorized Network

const network = yield* ServiceNetwork("SecureNetwork", {
authType: "AWS_IAM",
tags: { Environment: "prod" },
});