Manifest File Reference

181 viewsNative Apps Frameworksnowflakenativeapps
0

Manifest File Reference:

Alejandro Penzini Answered question December 12, 2023
0

The manifest.yml file can contain the following valid properties:

manifest_version:

Specifies the version of the manifest file.
Required
version:

Defines a block containing parameters related to a version.

Optional

name:
Specifies the logical name of the version.
label:
Displays a name for the version to consumers.
comment:
Provides a comment visible to providers using the SHOW VERSIONS command.
artifacts:

Defines a block related to resources distributed from this version of the package.
Required
readme:

Specifies the path to a markdown readme file, offering an overview of the Snowflake Native App.
Required
setup_script:

Specifies the path and filename of the SQL script run during installation.
Optional
default_streamlit:

Specifies the schema and name of the default Streamlit app for Snowflake Native Apps that include Streamlit.
Required if Streamlit is included; Optional otherwise.
extension_code:

Specifies if the Snowflake Native App can run UDFs and stored procedures.
Optional
configuration:

Defines a block containing configuration properties for the Snowflake Native App.

Optional

log_level:
Specifies the logging level (Default: Off).
trace_level:
Specifies the trace event level (Default: Off).
privileges:

Defines the privileges that the consumer must grant during installation.

Optional; Default: Empty list

:

Specifies the name of the privilege.
description:
Describes the privilege for consumer understanding.
references:

Defines a block containing references defined by the provider.

Optional

– :

Specifies the name of the reference.
label:
Describes the reference for consumer viewing.
privileges:
Specifies the required privileges for the reference.
object_type:
Specifies the type of associated object.
multi_valued:
Specifies if more than one object is associated (Optional; Default: false).
register_callback:
Specifies the callback function used for the reference.
Required if references is specified.

Alejandro Penzini Answered question December 12, 2023