Show / Hide Table of Contents

Class BackendBucketSignedUrlKey

A key for signing Cloud CDN signed URLs for BackendBuckets.

To get more information about BackendBucketSignedUrlKey, see:

  • API documentation
  • How-to Guides
  • Using Signed URLs

Warning: All arguments including key_value will be stored in the raw state as plain-text.

Example Usage - Backend Bucket Signed Url Key

using Pulumi;
using Gcp = Pulumi.Gcp;

class MyStack : Stack
{
public MyStack()
{
    var bucket = new Gcp.Storage.Bucket("bucket", new Gcp.Storage.BucketArgs
    {
        Location = "EU",
    });
    var testBackend = new Gcp.Compute.BackendBucket("testBackend", new Gcp.Compute.BackendBucketArgs
    {
        Description = "Contains beautiful images",
        BucketName = bucket.Name,
        EnableCdn = true,
    });
    var backendKey = new Gcp.Compute.BackendBucketSignedUrlKey("backendKey", new Gcp.Compute.BackendBucketSignedUrlKeyArgs
    {
        KeyValue = "pPsVemX8GM46QVeezid6Rw==",
        BackendBucket = testBackend.Name,
    });
}

}
Inheritance
System.Object
Resource
CustomResource
BackendBucketSignedUrlKey
Inherited Members
CustomResource.Id
Resource.GetResourceType()
Resource.GetResourceName()
Resource.Urn
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.Gcp.Compute
Assembly: Pulumi.Gcp.dll
Syntax
public class BackendBucketSignedUrlKey : CustomResource

Constructors

View Source

BackendBucketSignedUrlKey(String, BackendBucketSignedUrlKeyArgs, CustomResourceOptions)

Create a BackendBucketSignedUrlKey resource with the given unique name, arguments, and options.

Declaration
public BackendBucketSignedUrlKey(string name, BackendBucketSignedUrlKeyArgs args, CustomResourceOptions options = null)
Parameters
Type Name Description
System.String name

The unique name of the resource

BackendBucketSignedUrlKeyArgs args

The arguments used to populate this resource's properties

CustomResourceOptions options

A bag of options that control this resource's behavior

Properties

View Source

BackendBucket

The backend bucket this signed URL key belongs.

Declaration
public Output<string> BackendBucket { get; }
Property Value
Type Description
Output<System.String>
View Source

KeyValue

128-bit key value used for signing the URL. The key value must be a valid RFC 4648 Section 5 base64url encoded string. Note: This property is sensitive and will not be displayed in the plan.

Declaration
public Output<string> KeyValue { get; }
Property Value
Type Description
Output<System.String>
View Source

Name

Name of the signed URL key.

Declaration
public Output<string> Name { get; }
Property Value
Type Description
Output<System.String>
View Source

Project

The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

Declaration
public Output<string> Project { get; }
Property Value
Type Description
Output<System.String>

Methods

View Source

Get(String, Input<String>, BackendBucketSignedUrlKeyState, CustomResourceOptions)

Get an existing BackendBucketSignedUrlKey resource's state with the given name, ID, and optional extra properties used to qualify the lookup.

Declaration
public static BackendBucketSignedUrlKey Get(string name, Input<string> id, BackendBucketSignedUrlKeyState state = null, CustomResourceOptions options = null)
Parameters
Type Name Description
System.String name

The unique name of the resulting resource.

Input<System.String> id

The unique provider ID of the resource to lookup.

BackendBucketSignedUrlKeyState state

Any extra arguments used during the lookup.

CustomResourceOptions options

A bag of options that control this resource's behavior

Returns
Type Description
BackendBucketSignedUrlKey
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.