Expand description
A key for signing Cloud CDN signed URLs for Backend Services.
To get more information about BackendServiceSignedUrlKey, see:
- API documentation
- How-to Guides
§Example Usage
§Backend Service Signed Url Key
resources:
urlSignature:
type: random:RandomId
name: url_signature
properties:
byteLength: 16
backendKey:
type: gcp:compute:BackendServiceSignedUrlKey
name: backend_key
properties:
name: test-key
keyValue: ${urlSignature.b64Url}
backendService: ${exampleBackend.name}
exampleBackend:
type: gcp:compute:BackendService
name: example_backend
properties:
name: my-backend-service
description: Our company website
portName: http
protocol: HTTP
timeoutSec: 10
enableCdn: true
backends:
- group: ${webservers.instanceGroup}
healthChecks: ${default.id}
webservers:
type: gcp:compute:InstanceGroupManager
properties:
name: my-webservers
versions:
- instanceTemplate: ${webserver.id}
name: primary
baseInstanceName: webserver
zone: us-central1-f
targetSize: 1
webserver:
type: gcp:compute:InstanceTemplate
properties:
name: standard-webserver
machineType: e2-medium
networkInterfaces:
- network: default
disks:
- sourceImage: debian-cloud/debian-11
autoDelete: true
boot: true
default:
type: gcp:compute:HttpHealthCheck
properties:
name: test
requestPath: /
checkIntervalSec: 1
timeoutSec: 1
§Import
This resource does not support import.
Structs§
- Use builder syntax to set the inputs and finish with
build_struct()
.
Functions§
- Registers a new resource with the given unique name and arguments