FlowDestinationFlowConfigDestinationConnectorPropertiesUpsolverS3OutputFormatConfig.fromMap constructor

FlowDestinationFlowConfigDestinationConnectorPropertiesUpsolverS3OutputFormatConfig.fromMap(
  1. Map<String, dynamic> map
)

Implementation

factory FlowDestinationFlowConfigDestinationConnectorPropertiesUpsolverS3OutputFormatConfig.fromMap(Map<String, dynamic> map) {
  return FlowDestinationFlowConfigDestinationConnectorPropertiesUpsolverS3OutputFormatConfig(
    aggregationConfig: (() { final guardedValue = map['aggregationConfig']; if (guardedValue == null) return null; return pulumi.Input.fromValue(FlowDestinationFlowConfigDestinationConnectorPropertiesUpsolverS3OutputFormatConfigAggregationConfig.fromMap((guardedValue as Map).cast<String, dynamic>())); })(),
    fileType: (() { final guardedValue = map['fileType']; if (guardedValue == null) return null; return pulumi.Input.fromValue(guardedValue as String); })(),
    prefixConfig: pulumi.Input.fromValue(FlowDestinationFlowConfigDestinationConnectorPropertiesUpsolverS3OutputFormatConfigPrefixConfig.fromMap((map['prefixConfig']! as Map).cast<String, dynamic>())),
  );
}