V2ProjectNotificationConfig constructor
V2ProjectNotificationConfig(
- String name, {
- V2ProjectNotificationConfigArgs? args,
- CustomResourceOptions? options,
Creates a new V2ProjectNotificationConfig.
name The Pulumi resource name.
args Arguments used to configure this V2ProjectNotificationConfig. The set of arguments for V2ProjectNotificationConfig.
options Resource options controlling this resource's behavior.
Implementation
V2ProjectNotificationConfig(
String name, {
V2ProjectNotificationConfigArgs? args,
pulumi.CustomResourceOptions? options,
}) : super(
'gcp:securitycenter/v2ProjectNotificationConfig:V2ProjectNotificationConfig',
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');
location = registerOutput<String?>('location');
this.name = registerOutput<String>('name');
project = registerOutput<String>('project');
pubsubTopic = registerOutput<String?>('pubsubTopic');
serviceAccount = registerOutput<String>('serviceAccount');
streamingConfig = registerOutput<V2ProjectNotificationConfigStreamingConfig>('streamingConfig', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return V2ProjectNotificationConfigStreamingConfig.fromMap((guardedValue as Map).cast<String, dynamic>()); });
}