toArgMap method

Map<String, Object?> toArgMap()

Implementation

Map<String, Object?> toArgMap() => {
  if (request != null) 'request': request!.toTfJson(),
  if (response != null) 'response': response!.toTfJson(),
  if (port != null) 'port': port!.toTfJson(),
  if (portName != null) 'port_name': portName!.toTfJson(),
  if (proxyHeader != null) 'proxy_header': proxyHeader!.terraformValue,
  if (portSpecification != null)
    'port_specification': portSpecification!.terraformValue,
};