Skip to main content

Https Target Proxy

Provides a Https Target Proxy required by an HTTPS load balancer.

const bucketName = "mybucketname";
const sslCertificate = provider.compute.makeSslCertificate({
name: "ssl-certificate",
properties: () => ({
managed: {
domains: [domain],
},
}),
});
const myBucket = provider.storage.makeBucket({
name: bucketName,
properties: () => ({}),
});
const backendBucket = provider.compute.makeBackendBucket({
name: "backend-bucket",
properties: () => ({
bucketName,
}),
});
const urlMap = provider.compute.makeUrlMap({
name: "url-map",
dependencies: { service: backendBucket },
properties: () => ({}),
});
const httpsTargetProxy = provider.compute.makeHttpsTargetProxy({
name: "https-target-proxy",
dependencies: { sslCertificate, urlMap },
properties: () => ({}),
});

Examples#

website-https/artifacts/diagram-target.svg

Properties#

Dependencies#

Used by#

List#

List all Https Target Proxies with the HttpsTargetProxy type

gc l -t HttpsTargetProxy
Listing resources on 1 provider: google
✓ google
✓ Initialising
✓ Listing 4/4
┌────────────────────────────────────────────────────────────────────────────────┐
│ 1 HttpsTargetProxy from google │
├────────────────────┬────────────────────────────────────────────────────┬──────┤
│ Name │ Data │ Our │
├────────────────────┼────────────────────────────────────────────────────┼──────┤
│ https-target-proxy │ id: 6271089959767242210 │ Yes │
│ │ creationTimestamp: 2021-06-30T03:44:29.553-07:00 │ │
│ │ name: https-target-proxy │ │
│ │ description: Managed By GruCloud │ │
│ │ selfLink: https://www.googleapis.com/compute/v1/p… │ │
│ │ urlMap: https://www.googleapis.com/compute/v1/pro… │ │
│ │ sslCertificates: │ │
│ │ - "https://www.googleapis.com/compute/v1/projec… │ │
│ │ fingerprint: _7WjZisemFI= │ │
│ │ kind: compute#targetHttpsProxy │ │
│ │ │ │
└────────────────────┴────────────────────────────────────────────────────┴──────┘
List Summary:
Provider: google
┌───────────────────────────────────────────────────────────────────────────────┐
│ google │
├────────────────────┬──────────────────────────────────────────────────────────┤
│ HttpsTargetProxy │ https-target-proxy │
└────────────────────┴──────────────────────────────────────────────────────────┘
1 resource, 4 types, 1 provider
Command "gc l -t HttpsTargetProxy" executed in 4s