NotificationConfig constructor

NotificationConfig(
  1. String name, {
  2. NotificationConfigArgs? args,
  3. CustomResourceOptions? options,
})

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

Implementation

NotificationConfig(
  String name, {
  NotificationConfigArgs? args,
  pulumi.CustomResourceOptions? options,
}) : super(
        'gcp:securitycenter/notificationConfig:NotificationConfig',
        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');
  this.name = registerOutput<String>('name');
  organization = registerOutput<String>('organization');
  pubsubTopic = registerOutput<String>('pubsubTopic');
  serviceAccount = registerOutput<String>('serviceAccount');
  streamingConfig = registerOutput<NotificationConfigStreamingConfig>('streamingConfig', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return NotificationConfigStreamingConfig.fromMap((guardedValue as Map).cast<String, dynamic>()); });
}