GoogleComputeServiceAttachment constructor

GoogleComputeServiceAttachment({
  1. required String localName,
  2. required TfArg<ServiceAttachmentConnectionPreference> connectionPreference,
  3. TfArg<List<String>>? consumerRejectLists,
  4. TfArg<String>? description,
  5. TfArg<List<String>>? domainNames,
  6. required TfArg<bool> enableProxyProtocol,
  7. required TfArg<String> name,
  8. required TfArg<List<String>> natSubnets,
  9. TfArg<String>? project,
  10. TfArg<num>? propagatedConnectionLimit,
  11. TfArg<bool>? reconcileConnections,
  12. TfArg<String>? region,
  13. TfArg<bool>? sendPropagatedConnectionLimitIfZero,
  14. TfArg<bool>? showNatIps,
  15. required TfArg<String> targetService,
  16. TfArg<List<Map<String, dynamic>>>? consumerAcceptLists,
  17. LifecycleOptions? lifecycle,
  18. List<DependencyTarget>? dependsOn,
  19. String? provider,
  20. TfTimeouts? timeouts,
})

Implementation

GoogleComputeServiceAttachment({
  required super.localName,
  required TfArg<ServiceAttachmentConnectionPreference> connectionPreference,
  TfArg<List<String>>? consumerRejectLists,
  TfArg<String>? description,
  TfArg<List<String>>? domainNames,
  required TfArg<bool> enableProxyProtocol,
  required TfArg<String> name,
  required TfArg<List<String>> natSubnets,
  TfArg<String>? project,
  TfArg<num>? propagatedConnectionLimit,
  TfArg<bool>? reconcileConnections,
  TfArg<String>? region,
  TfArg<bool>? sendPropagatedConnectionLimitIfZero,
  TfArg<bool>? showNatIps,
  required TfArg<String> targetService,
  TfArg<List<Map<String, dynamic>>>? consumerAcceptLists,
  super.lifecycle,
  super.dependsOn,
  super.provider,
  super.timeouts,
}) : super(
       terraformType: tfType,
       argMap: {
         'connection_preference': connectionPreference,
         if (consumerRejectLists != null)
           'consumer_reject_lists': consumerRejectLists,
         if (description != null) 'description': description,
         if (domainNames != null) 'domain_names': domainNames,
         'enable_proxy_protocol': enableProxyProtocol,
         'name': name,
         'nat_subnets': natSubnets,
         if (project != null) 'project': project,
         if (propagatedConnectionLimit != null)
           'propagated_connection_limit': propagatedConnectionLimit,
         if (reconcileConnections != null)
           'reconcile_connections': reconcileConnections,
         if (region != null) 'region': region,
         if (sendPropagatedConnectionLimitIfZero != null)
           'send_propagated_connection_limit_if_zero':
               sendPropagatedConnectionLimitIfZero,
         if (showNatIps != null) 'show_nat_ips': showNatIps,
         'target_service': targetService,
         if (consumerAcceptLists != null)
           'consumer_accept_lists': consumerAcceptLists,
       },
     );