V2FolderNotificationConfig constructor

V2FolderNotificationConfig(
  1. String name, {
  2. V2FolderNotificationConfigArgs? args,
  3. CustomResourceOptions? options,
})

Creates a new V2FolderNotificationConfig. name The Pulumi resource name. args Arguments used to configure this V2FolderNotificationConfig. The set of arguments for V2FolderNotificationConfig. options Resource options controlling this resource's behavior.

Implementation

V2FolderNotificationConfig(
  String name, {
  V2FolderNotificationConfigArgs? args,
  pulumi.CustomResourceOptions? options,
}) : super(
        'gcp:securitycenter/v2FolderNotificationConfig:V2FolderNotificationConfig',
        name,
        pulumi.Input.mapToInputs(args?.toMap() ?? const {}),
        pulumi.CustomResourceOptions(version: '9.36.1').merge(options),
      ) {
  configId = registerOutput<String>('configId');
  deletionPolicy = registerOutput<String>('deletionPolicy');
  description = registerOutput<String?>('description');
  folder = registerOutput<String>('folder');
  location = registerOutput<String?>('location');
  this.name = registerOutput<String>('name');
  pubsubTopic = registerOutput<String>('pubsubTopic');
  serviceAccount = registerOutput<String>('serviceAccount');
  streamingConfig = registerOutput<V2FolderNotificationConfigStreamingConfig>('streamingConfig', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return V2FolderNotificationConfigStreamingConfig.fromMap((guardedValue as Map).cast<String, dynamic>()); });
}