Skip to content

Service

Source: src/AWS/VpcLattice/Service.ts

An Amazon VPC Lattice service — an independently deployable unit of software (running on Lambda, ECS, EC2, or elsewhere) that is made discoverable through a service network. Cheap control-plane resource.

Basic Service

const service = yield* Service("PaymentsService", {});

Service with Custom Domain

const service = yield* Service("PaymentsService", {
customDomainName: "payments.internal.example.com",
certificateArn: cert.certificateArn,
authType: "AWS_IAM",
idleTimeout: "60 seconds",
});