TopicArgs constructor
- Input<
String?> ? deletionPolicy, - Input<
TopicIngestionDataSourceSettings?> ? ingestionDataSourceSettings, - Input<
String?> ? kmsKeyName, - Input<
Map< ? labels,String, String> ?> - Input<
String?> ? messageRetentionDuration, - Input<
TopicMessageStoragePolicy?> ? messageStoragePolicy, - Input<
List< ? messageTransforms,TopicMessageTransform> ?> - Input<
String?> ? name, - Input<
String?> ? project, - Input<
TopicSchemaSettings?> ? schemaSettings, - Input<
Map< ? tags,String, String> ?>
Creates a new TopicArgs.
deletionPolicy Whether Terraform will be prevented from destroying the resource. Defaults to DELETE.
ingestionDataSourceSettings Settings for ingestion from a data source into this topic.
kmsKeyName The resource name of the Cloud KMS CryptoKey to be used to protect access
labels A set of key/value label pairs to assign to this Topic.
messageRetentionDuration Indicates the minimum duration to retain a message after it is published
messageStoragePolicy Policy constraining the set of Google Cloud Platform regions where
messageTransforms Transforms to be applied to messages published to the topic. Transforms are applied in the
name Name of the topic.
project The ID of the project in which the resource belongs.
schemaSettings Settings for validating messages published against a schema.
tags Input only. Resource manager tags to be bound to the topic. Tag keys and
Implementation
const TopicArgs({
this.deletionPolicy,
this.ingestionDataSourceSettings,
this.kmsKeyName,
this.labels,
this.messageRetentionDuration,
this.messageStoragePolicy,
this.messageTransforms,
this.name,
this.project,
this.schemaSettings,
this.tags,
});