GoogleComputeServiceAttachment constructor
GoogleComputeServiceAttachment({
- required String localName,
- required TfArg<
ServiceAttachmentConnectionPreference> connectionPreference, - TfArg<
List< ? consumerRejectLists,String> > - TfArg<
String> ? description, - TfArg<
List< ? domainNames,String> > - required TfArg<
bool> enableProxyProtocol, - required TfArg<
String> name, - required TfArg<
List< natSubnets,String> > - TfArg<
String> ? project, - TfArg<
num> ? propagatedConnectionLimit, - TfArg<
bool> ? reconcileConnections, - TfArg<
String> ? region, - TfArg<
bool> ? sendPropagatedConnectionLimitIfZero, - TfArg<
bool> ? showNatIps, - required TfArg<
String> targetService, - TfArg<
List< ? consumerAcceptLists,Map< >String, dynamic> > - LifecycleOptions? lifecycle,
- List<
DependencyTarget> ? dependsOn, - String? provider,
- 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,
},
);