FlowDestinationFlowConfigDestinationConnectorPropertiesSnowflake.fromMap constructor

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

Implementation

factory FlowDestinationFlowConfigDestinationConnectorPropertiesSnowflake.fromMap(Map<String, dynamic> map) {
  return FlowDestinationFlowConfigDestinationConnectorPropertiesSnowflake(
    bucketPrefix: (() { final guardedValue = map['bucketPrefix']; if (guardedValue == null) return null; return pulumi.Input.fromValue(guardedValue as String); })(),
    errorHandlingConfig: (() { final guardedValue = map['errorHandlingConfig']; if (guardedValue == null) return null; return pulumi.Input.fromValue(FlowDestinationFlowConfigDestinationConnectorPropertiesSnowflakeErrorHandlingConfig.fromMap((guardedValue as Map).cast<String, dynamic>())); })(),
    intermediateBucketName: pulumi.Input.fromValue(map['intermediateBucketName'] as String),
    object_: pulumi.Input.fromValue(map['object'] as String),
  );
}