def define_spark_config():
master_url = Field(<EOL>String,<EOL>description='<STR_LIT>',<EOL>is_optional=False,<EOL>)<EOL>deploy_mode = Field(<EOL>SparkDeployMode,<EOL>description='''<STR_LIT>''',<EOL>is_optional=True,<EOL>)<EOL>application_jar = Field(<EOL>Path,<EOL>description='''<STR_LIT>''',<EOL>is_optional=False,<EOL>)<EOL>application_arguments = Field(<EOL>String,<EOL>description='<STR_LIT>',<EOL>is_optional=True,<EOL>)<EOL>spark_home = Field(<EOL>String,<EOL>description='<STR_LIT>',<EOL>is_optional=True,<EOL>)<EOL>spark_outputs = Field(List(String), description='<STR_LIT>')<EOL>return Field(<EOL>Dict(<EOL>fields={<EOL>'<STR_LIT>': master_url,<EOL>'<STR_LIT>': deploy_mode,<EOL>'<STR_LIT>': application_jar,<EOL>'<STR_LIT>': spark_config(),<EOL>'<STR_LIT>': spark_home,<EOL>'<STR_LIT>': application_arguments,<EOL>'<STR_LIT>': spark_outputs,<EOL>}<EOL>)<EOL>)<EOL>
Spark configuration.

    See the Spark documentation for reference:
        https://spark.apache.org/docs/latest/submitting-applications.html