Skip to main content

Url Map

Provides a URL Map used by the HTTPS load balancer.

const bucketName = "mybucketname";
const myBucket = await provider.makeBucket({
name: bucketName,
properties: () => ({}),
});
const backendBucket = await provider.makeBackendBucket({
name: "backend-bucket",
properties: () => ({
bucketName,
}),
});
const urlMap = await provider.makeUrlMap({
name: "url-map",
dependencies: { service: backendBucket },
properties: () => ({}),
});

Examples#

Properties#

Dependencies#

Used By#

GCloud docs#