GoogleSccProjectNotificationConfig constructor
GoogleSccProjectNotificationConfig(
- String localName, {
- required TfArg<
String> configId, - TfArg<
String> ? deletionPolicy, - TfArg<
String> ? description, - TfArg<
String> ? project, - required RefTo<
GooglePubsubTopic> pubsubTopic, - required SccProjectNotificationConfigStreamingConfig streamingConfig,
- LifecycleOptions? lifecycle,
- List<
TfAddressed> ? dependsOn, - StackProvider? provider,
- TfTimeouts? timeouts,
Implementation
GoogleSccProjectNotificationConfig(
super.localName, {
required TfArg<String> configId,
TfArg<String>? deletionPolicy,
TfArg<String>? description,
TfArg<String>? project,
required RefTo<GooglePubsubTopic> pubsubTopic,
required SccProjectNotificationConfigStreamingConfig streamingConfig,
super.lifecycle,
super.dependsOn,
super.provider,
super.timeouts,
}) : super(
terraformType: tfType,
argMap: {
'config_id': configId,
'deletion_policy': ?deletionPolicy,
'description': ?description,
'project': ?project,
'pubsub_topic': pubsubTopic.encodeAs('id'),
'streaming_config': TfArg.literal(streamingConfig.encode()),
},
);