import * as pulumi from "@pulumi/pulumi"; export declare class MaterializedView extends pulumi.CustomResource { /** * Get an existing MaterializedView resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, state?: MaterializedViewState, opts?: pulumi.CustomResourceOptions): MaterializedView; /** * Returns true if the given object is an instance of MaterializedView. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is MaterializedView; /** * The cluster to maintain the materialized view. */ readonly clusterName: pulumi.Output; /** * Comment on an object in the database. */ readonly comment: pulumi.Output; /** * The SQL statement used to create the materialized view. */ readonly createSql: pulumi.Output; /** * The identifier for the materialized view database in Materialize. Defaults to `MZ_DATABASE` environment variable if set or `materialize` if environment variable is not set. */ readonly databaseName: pulumi.Output; readonly materializedViewId: pulumi.Output; /** * The identifier for the materialized view. */ readonly name: pulumi.Output; /** * A list of columns for which to create non-null assertions. */ readonly notNullAssertions: pulumi.Output; /** * The owernship role of the object. */ readonly ownershipRole: pulumi.Output; /** * The fully qualified name of the materialized view. */ readonly qualifiedSqlName: pulumi.Output; /** * The region to use for the resource connection. If not set, the default region is used. */ readonly region: pulumi.Output; /** * The identifier for the materialized view schema in Materialize. Defaults to `public`. */ readonly schemaName: pulumi.Output; /** * The SQL statement for the materialized view. */ readonly statement: pulumi.Output; /** * Create a MaterializedView resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: MaterializedViewArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering MaterializedView resources. */ export interface MaterializedViewState { /** * The cluster to maintain the materialized view. */ clusterName?: pulumi.Input; /** * Comment on an object in the database. */ comment?: pulumi.Input; /** * The SQL statement used to create the materialized view. */ createSql?: pulumi.Input; /** * The identifier for the materialized view database in Materialize. Defaults to `MZ_DATABASE` environment variable if set or `materialize` if environment variable is not set. */ databaseName?: pulumi.Input; materializedViewId?: pulumi.Input; /** * The identifier for the materialized view. */ name?: pulumi.Input; /** * A list of columns for which to create non-null assertions. */ notNullAssertions?: pulumi.Input[]>; /** * The owernship role of the object. */ ownershipRole?: pulumi.Input; /** * The fully qualified name of the materialized view. */ qualifiedSqlName?: pulumi.Input; /** * The region to use for the resource connection. If not set, the default region is used. */ region?: pulumi.Input; /** * The identifier for the materialized view schema in Materialize. Defaults to `public`. */ schemaName?: pulumi.Input; /** * The SQL statement for the materialized view. */ statement?: pulumi.Input; } /** * The set of arguments for constructing a MaterializedView resource. */ export interface MaterializedViewArgs { /** * The cluster to maintain the materialized view. */ clusterName: pulumi.Input; /** * Comment on an object in the database. */ comment?: pulumi.Input; /** * The identifier for the materialized view database in Materialize. Defaults to `MZ_DATABASE` environment variable if set or `materialize` if environment variable is not set. */ databaseName?: pulumi.Input; materializedViewId?: pulumi.Input; /** * The identifier for the materialized view. */ name?: pulumi.Input; /** * A list of columns for which to create non-null assertions. */ notNullAssertions?: pulumi.Input[]>; /** * The owernship role of the object. */ ownershipRole?: pulumi.Input; /** * The region to use for the resource connection. If not set, the default region is used. */ region?: pulumi.Input; /** * The identifier for the materialized view schema in Materialize. Defaults to `public`. */ schemaName?: pulumi.Input; /** * The SQL statement for the materialized view. */ statement: pulumi.Input; }