Class TopicArgs
Inherited Members
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 SourceTopicArgs()
Declaration
public TopicArgs()
Properties
View SourceKmsKeyName
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> |
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> |
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> |
Name
Name of the topic.
Declaration
public Input<string> Name { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
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> |