Show / Hide Table of Contents

Class TopicArgs

Inheritance
System.Object
InputArgs
ResourceArgs
TopicArgs
Inherited Members
ResourceArgs.Empty
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.PubSub
Assembly: Pulumi.Gcp.dll
Syntax
public sealed class TopicArgs : ResourceArgs

Constructors

View Source

TopicArgs()

Declaration
public TopicArgs()

Properties

View Source

KmsKeyName

The resource name of the Cloud KMS CryptoKey to be used to protect access to messages published on this topic. Your project's PubSub service account (service-{{PROJECT_NUMBER}}@gcp-sa-pubsub.iam.gserviceaccount.com) must have roles/cloudkms.cryptoKeyEncrypterDecrypter to use this feature. The expected format is projects/*/locations/*/keyRings/*/cryptoKeys/*

Declaration
public Input<string> KmsKeyName { get; set; }
Property Value
Type Description
Input<System.String>
View Source

Labels

A set of key/value label pairs to assign to this Topic.

Declaration
public InputMap<string> Labels { get; set; }
Property Value
Type Description
InputMap<System.String>
View Source

MessageStoragePolicy

Policy constraining the set of Google Cloud Platform regions where messages published to the topic may be stored. If not present, then no constraints are in effect. Structure is documented below.

Declaration
public Input<TopicMessageStoragePolicyArgs> MessageStoragePolicy { get; set; }
Property Value
Type Description
Input<TopicMessageStoragePolicyArgs>
View Source

Name

Name of the topic.

Declaration
public Input<string> Name { get; set; }
Property Value
Type Description
Input<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 Input<string> Project { get; set; }
Property Value
Type Description
Input<System.String>
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.