snowflake.DynamicTable
Explore with Pulumi AI
Import
$ pulumi import snowflake:index/dynamicTable:DynamicTable dt "mydb|myschema|product"
Create DynamicTable Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new DynamicTable(name: string, args: DynamicTableArgs, opts?: CustomResourceOptions);
@overload
def DynamicTable(resource_name: str,
args: DynamicTableArgs,
opts: Optional[ResourceOptions] = None)
@overload
def DynamicTable(resource_name: str,
opts: Optional[ResourceOptions] = None,
database: Optional[str] = None,
query: Optional[str] = None,
schema: Optional[str] = None,
target_lag: Optional[DynamicTableTargetLagArgs] = None,
warehouse: Optional[str] = None,
comment: Optional[str] = None,
initialize: Optional[str] = None,
name: Optional[str] = None,
or_replace: Optional[bool] = None,
refresh_mode: Optional[str] = None)
func NewDynamicTable(ctx *Context, name string, args DynamicTableArgs, opts ...ResourceOption) (*DynamicTable, error)
public DynamicTable(string name, DynamicTableArgs args, CustomResourceOptions? opts = null)
public DynamicTable(String name, DynamicTableArgs args)
public DynamicTable(String name, DynamicTableArgs args, CustomResourceOptions options)
type: snowflake:DynamicTable
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name
This property is required. string - The unique name of the resource.
- args
This property is required. DynamicTableArgs - The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name
This property is required. str - The unique name of the resource.
- args
This property is required. DynamicTableArgs - The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name
This property is required. string - The unique name of the resource.
- args
This property is required. DynamicTableArgs - The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name
This property is required. string - The unique name of the resource.
- args
This property is required. DynamicTableArgs - The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name
This property is required. String - The unique name of the resource.
- args
This property is required. DynamicTableArgs - The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var dynamicTableResource = new Snowflake.DynamicTable("dynamicTableResource", new()
{
Database = "string",
Query = "string",
Schema = "string",
TargetLag = new Snowflake.Inputs.DynamicTableTargetLagArgs
{
Downstream = false,
MaximumDuration = "string",
},
Warehouse = "string",
Comment = "string",
Initialize = "string",
Name = "string",
OrReplace = false,
RefreshMode = "string",
});
example, err := snowflake.NewDynamicTable(ctx, "dynamicTableResource", &snowflake.DynamicTableArgs{
Database: pulumi.String("string"),
Query: pulumi.String("string"),
Schema: pulumi.String("string"),
TargetLag: &snowflake.DynamicTableTargetLagArgs{
Downstream: pulumi.Bool(false),
MaximumDuration: pulumi.String("string"),
},
Warehouse: pulumi.String("string"),
Comment: pulumi.String("string"),
Initialize: pulumi.String("string"),
Name: pulumi.String("string"),
OrReplace: pulumi.Bool(false),
RefreshMode: pulumi.String("string"),
})
var dynamicTableResource = new DynamicTable("dynamicTableResource", DynamicTableArgs.builder()
.database("string")
.query("string")
.schema("string")
.targetLag(DynamicTableTargetLagArgs.builder()
.downstream(false)
.maximumDuration("string")
.build())
.warehouse("string")
.comment("string")
.initialize("string")
.name("string")
.orReplace(false)
.refreshMode("string")
.build());
dynamic_table_resource = snowflake.DynamicTable("dynamicTableResource",
database="string",
query="string",
schema="string",
target_lag={
"downstream": False,
"maximum_duration": "string",
},
warehouse="string",
comment="string",
initialize="string",
name="string",
or_replace=False,
refresh_mode="string")
const dynamicTableResource = new snowflake.DynamicTable("dynamicTableResource", {
database: "string",
query: "string",
schema: "string",
targetLag: {
downstream: false,
maximumDuration: "string",
},
warehouse: "string",
comment: "string",
initialize: "string",
name: "string",
orReplace: false,
refreshMode: "string",
});
type: snowflake:DynamicTable
properties:
comment: string
database: string
initialize: string
name: string
orReplace: false
query: string
refreshMode: string
schema: string
targetLag:
downstream: false
maximumDuration: string
warehouse: string
DynamicTable Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The DynamicTable resource accepts the following input properties:
- Database
This property is required. string - The database in which to create the dynamic table.
- Query
This property is required. Changes to this property will trigger replacement.
- Specifies the query to use to populate the dynamic table.
- Schema
This property is required. string - The schema in which to create the dynamic table.
- Target
Lag This property is required. DynamicTable Target Lag - Specifies the target lag time for the dynamic table.
- Warehouse
This property is required. string - The warehouse in which to create the dynamic table.
- Comment string
- Specifies a comment for the dynamic table.
- Initialize
Changes to this property will trigger replacement.
- (Default:
ON_CREATE
) Initialize trigger for the dynamic table. Can only be set on creation. Available options are ONCREATE and ONSCHEDULE. - Name
Changes to this property will trigger replacement.
- Specifies the identifier (i.e. name) for the dynamic table; must be unique for the schema in which the dynamic table is created.
- Or
Replace bool - (Default:
false
) Specifies whether to replace the dynamic table if it already exists. - Refresh
Mode Changes to this property will trigger replacement.
- (Default:
AUTO
) INCREMENTAL to use incremental refreshes, FULL to recompute the whole table on every refresh, or AUTO to let Snowflake decide.
- Database
This property is required. string - The database in which to create the dynamic table.
- Query
This property is required. Changes to this property will trigger replacement.
- Specifies the query to use to populate the dynamic table.
- Schema
This property is required. string - The schema in which to create the dynamic table.
- Target
Lag This property is required. DynamicTable Target Lag Args - Specifies the target lag time for the dynamic table.
- Warehouse
This property is required. string - The warehouse in which to create the dynamic table.
- Comment string
- Specifies a comment for the dynamic table.
- Initialize
Changes to this property will trigger replacement.
- (Default:
ON_CREATE
) Initialize trigger for the dynamic table. Can only be set on creation. Available options are ONCREATE and ONSCHEDULE. - Name
Changes to this property will trigger replacement.
- Specifies the identifier (i.e. name) for the dynamic table; must be unique for the schema in which the dynamic table is created.
- Or
Replace bool - (Default:
false
) Specifies whether to replace the dynamic table if it already exists. - Refresh
Mode Changes to this property will trigger replacement.
- (Default:
AUTO
) INCREMENTAL to use incremental refreshes, FULL to recompute the whole table on every refresh, or AUTO to let Snowflake decide.
- database
This property is required. String - The database in which to create the dynamic table.
- query
This property is required. Changes to this property will trigger replacement.
- Specifies the query to use to populate the dynamic table.
- schema
This property is required. String - The schema in which to create the dynamic table.
- target
Lag This property is required. DynamicTable Target Lag - Specifies the target lag time for the dynamic table.
- warehouse
This property is required. String - The warehouse in which to create the dynamic table.
- comment String
- Specifies a comment for the dynamic table.
- initialize
Changes to this property will trigger replacement.
- (Default:
ON_CREATE
) Initialize trigger for the dynamic table. Can only be set on creation. Available options are ONCREATE and ONSCHEDULE. - name
Changes to this property will trigger replacement.
- Specifies the identifier (i.e. name) for the dynamic table; must be unique for the schema in which the dynamic table is created.
- or
Replace Boolean - (Default:
false
) Specifies whether to replace the dynamic table if it already exists. - refresh
Mode Changes to this property will trigger replacement.
- (Default:
AUTO
) INCREMENTAL to use incremental refreshes, FULL to recompute the whole table on every refresh, or AUTO to let Snowflake decide.
- database
This property is required. string - The database in which to create the dynamic table.
- query
This property is required. Changes to this property will trigger replacement.
- Specifies the query to use to populate the dynamic table.
- schema
This property is required. string - The schema in which to create the dynamic table.
- target
Lag This property is required. DynamicTable Target Lag - Specifies the target lag time for the dynamic table.
- warehouse
This property is required. string - The warehouse in which to create the dynamic table.
- comment string
- Specifies a comment for the dynamic table.
- initialize
Changes to this property will trigger replacement.
- (Default:
ON_CREATE
) Initialize trigger for the dynamic table. Can only be set on creation. Available options are ONCREATE and ONSCHEDULE. - name
Changes to this property will trigger replacement.
- Specifies the identifier (i.e. name) for the dynamic table; must be unique for the schema in which the dynamic table is created.
- or
Replace boolean - (Default:
false
) Specifies whether to replace the dynamic table if it already exists. - refresh
Mode Changes to this property will trigger replacement.
- (Default:
AUTO
) INCREMENTAL to use incremental refreshes, FULL to recompute the whole table on every refresh, or AUTO to let Snowflake decide.
- database
This property is required. str - The database in which to create the dynamic table.
- query
This property is required. Changes to this property will trigger replacement.
- Specifies the query to use to populate the dynamic table.
- schema
This property is required. str - The schema in which to create the dynamic table.
- target_
lag This property is required. DynamicTable Target Lag Args - Specifies the target lag time for the dynamic table.
- warehouse
This property is required. str - The warehouse in which to create the dynamic table.
- comment str
- Specifies a comment for the dynamic table.
- initialize
Changes to this property will trigger replacement.
- (Default:
ON_CREATE
) Initialize trigger for the dynamic table. Can only be set on creation. Available options are ONCREATE and ONSCHEDULE. - name
Changes to this property will trigger replacement.
- Specifies the identifier (i.e. name) for the dynamic table; must be unique for the schema in which the dynamic table is created.
- or_
replace bool - (Default:
false
) Specifies whether to replace the dynamic table if it already exists. - refresh_
mode Changes to this property will trigger replacement.
- (Default:
AUTO
) INCREMENTAL to use incremental refreshes, FULL to recompute the whole table on every refresh, or AUTO to let Snowflake decide.
- database
This property is required. String - The database in which to create the dynamic table.
- query
This property is required. Changes to this property will trigger replacement.
- Specifies the query to use to populate the dynamic table.
- schema
This property is required. String - The schema in which to create the dynamic table.
- target
Lag This property is required. Property Map - Specifies the target lag time for the dynamic table.
- warehouse
This property is required. String - The warehouse in which to create the dynamic table.
- comment String
- Specifies a comment for the dynamic table.
- initialize
Changes to this property will trigger replacement.
- (Default:
ON_CREATE
) Initialize trigger for the dynamic table. Can only be set on creation. Available options are ONCREATE and ONSCHEDULE. - name
Changes to this property will trigger replacement.
- Specifies the identifier (i.e. name) for the dynamic table; must be unique for the schema in which the dynamic table is created.
- or
Replace Boolean - (Default:
false
) Specifies whether to replace the dynamic table if it already exists. - refresh
Mode Changes to this property will trigger replacement.
- (Default:
AUTO
) INCREMENTAL to use incremental refreshes, FULL to recompute the whole table on every refresh, or AUTO to let Snowflake decide.
Outputs
All input properties are implicitly available as output properties. Additionally, the DynamicTable resource produces the following output properties:
- Automatic
Clustering bool - Whether auto-clustering is enabled on the dynamic table. Not currently supported for dynamic tables.
- Bytes int
- Number of bytes that will be scanned if the entire dynamic table is scanned in a query.
- Cluster
By string - The clustering key for the dynamic table.
- Created
On string - Time when this dynamic table was created.
- Data
Timestamp string - Timestamp of the data in the base object(s) that is included in the dynamic table.
- Fully
Qualified stringName - Fully qualified name of the resource. For more information, see object name resolution.
- Id string
- The provider-assigned unique ID for this managed resource.
- Is
Clone bool - TRUE if the dynamic table has been cloned, else FALSE.
- Is
Replica bool - TRUE if the dynamic table is a replica. else FALSE.
- Last
Suspended stringOn - Timestamp of last suspension.
- Owner string
- Role that owns the dynamic table.
- Refresh
Mode stringReason - Explanation for why FULL refresh mode was chosen. NULL if refresh mode is not FULL.
- Rows int
- Number of rows in the table.
- Scheduling
State string - Displays ACTIVE for dynamic tables that are actively scheduling refreshes and SUSPENDED for suspended dynamic tables.
- Automatic
Clustering bool - Whether auto-clustering is enabled on the dynamic table. Not currently supported for dynamic tables.
- Bytes int
- Number of bytes that will be scanned if the entire dynamic table is scanned in a query.
- Cluster
By string - The clustering key for the dynamic table.
- Created
On string - Time when this dynamic table was created.
- Data
Timestamp string - Timestamp of the data in the base object(s) that is included in the dynamic table.
- Fully
Qualified stringName - Fully qualified name of the resource. For more information, see object name resolution.
- Id string
- The provider-assigned unique ID for this managed resource.
- Is
Clone bool - TRUE if the dynamic table has been cloned, else FALSE.
- Is
Replica bool - TRUE if the dynamic table is a replica. else FALSE.
- Last
Suspended stringOn - Timestamp of last suspension.
- Owner string
- Role that owns the dynamic table.
- Refresh
Mode stringReason - Explanation for why FULL refresh mode was chosen. NULL if refresh mode is not FULL.
- Rows int
- Number of rows in the table.
- Scheduling
State string - Displays ACTIVE for dynamic tables that are actively scheduling refreshes and SUSPENDED for suspended dynamic tables.
- automatic
Clustering Boolean - Whether auto-clustering is enabled on the dynamic table. Not currently supported for dynamic tables.
- bytes Integer
- Number of bytes that will be scanned if the entire dynamic table is scanned in a query.
- cluster
By String - The clustering key for the dynamic table.
- created
On String - Time when this dynamic table was created.
- data
Timestamp String - Timestamp of the data in the base object(s) that is included in the dynamic table.
- fully
Qualified StringName - Fully qualified name of the resource. For more information, see object name resolution.
- id String
- The provider-assigned unique ID for this managed resource.
- is
Clone Boolean - TRUE if the dynamic table has been cloned, else FALSE.
- is
Replica Boolean - TRUE if the dynamic table is a replica. else FALSE.
- last
Suspended StringOn - Timestamp of last suspension.
- owner String
- Role that owns the dynamic table.
- refresh
Mode StringReason - Explanation for why FULL refresh mode was chosen. NULL if refresh mode is not FULL.
- rows Integer
- Number of rows in the table.
- scheduling
State String - Displays ACTIVE for dynamic tables that are actively scheduling refreshes and SUSPENDED for suspended dynamic tables.
- automatic
Clustering boolean - Whether auto-clustering is enabled on the dynamic table. Not currently supported for dynamic tables.
- bytes number
- Number of bytes that will be scanned if the entire dynamic table is scanned in a query.
- cluster
By string - The clustering key for the dynamic table.
- created
On string - Time when this dynamic table was created.
- data
Timestamp string - Timestamp of the data in the base object(s) that is included in the dynamic table.
- fully
Qualified stringName - Fully qualified name of the resource. For more information, see object name resolution.
- id string
- The provider-assigned unique ID for this managed resource.
- is
Clone boolean - TRUE if the dynamic table has been cloned, else FALSE.
- is
Replica boolean - TRUE if the dynamic table is a replica. else FALSE.
- last
Suspended stringOn - Timestamp of last suspension.
- owner string
- Role that owns the dynamic table.
- refresh
Mode stringReason - Explanation for why FULL refresh mode was chosen. NULL if refresh mode is not FULL.
- rows number
- Number of rows in the table.
- scheduling
State string - Displays ACTIVE for dynamic tables that are actively scheduling refreshes and SUSPENDED for suspended dynamic tables.
- automatic_
clustering bool - Whether auto-clustering is enabled on the dynamic table. Not currently supported for dynamic tables.
- bytes int
- Number of bytes that will be scanned if the entire dynamic table is scanned in a query.
- cluster_
by str - The clustering key for the dynamic table.
- created_
on str - Time when this dynamic table was created.
- data_
timestamp str - Timestamp of the data in the base object(s) that is included in the dynamic table.
- fully_
qualified_ strname - Fully qualified name of the resource. For more information, see object name resolution.
- id str
- The provider-assigned unique ID for this managed resource.
- is_
clone bool - TRUE if the dynamic table has been cloned, else FALSE.
- is_
replica bool - TRUE if the dynamic table is a replica. else FALSE.
- last_
suspended_ stron - Timestamp of last suspension.
- owner str
- Role that owns the dynamic table.
- refresh_
mode_ strreason - Explanation for why FULL refresh mode was chosen. NULL if refresh mode is not FULL.
- rows int
- Number of rows in the table.
- scheduling_
state str - Displays ACTIVE for dynamic tables that are actively scheduling refreshes and SUSPENDED for suspended dynamic tables.
- automatic
Clustering Boolean - Whether auto-clustering is enabled on the dynamic table. Not currently supported for dynamic tables.
- bytes Number
- Number of bytes that will be scanned if the entire dynamic table is scanned in a query.
- cluster
By String - The clustering key for the dynamic table.
- created
On String - Time when this dynamic table was created.
- data
Timestamp String - Timestamp of the data in the base object(s) that is included in the dynamic table.
- fully
Qualified StringName - Fully qualified name of the resource. For more information, see object name resolution.
- id String
- The provider-assigned unique ID for this managed resource.
- is
Clone Boolean - TRUE if the dynamic table has been cloned, else FALSE.
- is
Replica Boolean - TRUE if the dynamic table is a replica. else FALSE.
- last
Suspended StringOn - Timestamp of last suspension.
- owner String
- Role that owns the dynamic table.
- refresh
Mode StringReason - Explanation for why FULL refresh mode was chosen. NULL if refresh mode is not FULL.
- rows Number
- Number of rows in the table.
- scheduling
State String - Displays ACTIVE for dynamic tables that are actively scheduling refreshes and SUSPENDED for suspended dynamic tables.
Look up Existing DynamicTable Resource
Get an existing DynamicTable resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: DynamicTableState, opts?: CustomResourceOptions): DynamicTable
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
automatic_clustering: Optional[bool] = None,
bytes: Optional[int] = None,
cluster_by: Optional[str] = None,
comment: Optional[str] = None,
created_on: Optional[str] = None,
data_timestamp: Optional[str] = None,
database: Optional[str] = None,
fully_qualified_name: Optional[str] = None,
initialize: Optional[str] = None,
is_clone: Optional[bool] = None,
is_replica: Optional[bool] = None,
last_suspended_on: Optional[str] = None,
name: Optional[str] = None,
or_replace: Optional[bool] = None,
owner: Optional[str] = None,
query: Optional[str] = None,
refresh_mode: Optional[str] = None,
refresh_mode_reason: Optional[str] = None,
rows: Optional[int] = None,
scheduling_state: Optional[str] = None,
schema: Optional[str] = None,
target_lag: Optional[DynamicTableTargetLagArgs] = None,
warehouse: Optional[str] = None) -> DynamicTable
func GetDynamicTable(ctx *Context, name string, id IDInput, state *DynamicTableState, opts ...ResourceOption) (*DynamicTable, error)
public static DynamicTable Get(string name, Input<string> id, DynamicTableState? state, CustomResourceOptions? opts = null)
public static DynamicTable get(String name, Output<String> id, DynamicTableState state, CustomResourceOptions options)
resources: _: type: snowflake:DynamicTable get: id: ${id}
- name
This property is required. - The unique name of the resulting resource.
- id
This property is required. - The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
This property is required. - The unique name of the resulting resource.
- id
This property is required. - The unique provider ID of the resource to lookup.
- name
This property is required. - The unique name of the resulting resource.
- id
This property is required. - The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
This property is required. - The unique name of the resulting resource.
- id
This property is required. - The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
This property is required. - The unique name of the resulting resource.
- id
This property is required. - The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Automatic
Clustering bool - Whether auto-clustering is enabled on the dynamic table. Not currently supported for dynamic tables.
- Bytes int
- Number of bytes that will be scanned if the entire dynamic table is scanned in a query.
- Cluster
By string - The clustering key for the dynamic table.
- Comment string
- Specifies a comment for the dynamic table.
- Created
On string - Time when this dynamic table was created.
- Data
Timestamp string - Timestamp of the data in the base object(s) that is included in the dynamic table.
- Database string
- The database in which to create the dynamic table.
- Fully
Qualified stringName - Fully qualified name of the resource. For more information, see object name resolution.
- Initialize
Changes to this property will trigger replacement.
- (Default:
ON_CREATE
) Initialize trigger for the dynamic table. Can only be set on creation. Available options are ONCREATE and ONSCHEDULE. - Is
Clone bool - TRUE if the dynamic table has been cloned, else FALSE.
- Is
Replica bool - TRUE if the dynamic table is a replica. else FALSE.
- Last
Suspended stringOn - Timestamp of last suspension.
- Name
Changes to this property will trigger replacement.
- Specifies the identifier (i.e. name) for the dynamic table; must be unique for the schema in which the dynamic table is created.
- Or
Replace bool - (Default:
false
) Specifies whether to replace the dynamic table if it already exists. - Owner string
- Role that owns the dynamic table.
- Query
Changes to this property will trigger replacement.
- Specifies the query to use to populate the dynamic table.
- Refresh
Mode Changes to this property will trigger replacement.
- (Default:
AUTO
) INCREMENTAL to use incremental refreshes, FULL to recompute the whole table on every refresh, or AUTO to let Snowflake decide. - Refresh
Mode stringReason - Explanation for why FULL refresh mode was chosen. NULL if refresh mode is not FULL.
- Rows int
- Number of rows in the table.
- Scheduling
State string - Displays ACTIVE for dynamic tables that are actively scheduling refreshes and SUSPENDED for suspended dynamic tables.
- Schema string
- The schema in which to create the dynamic table.
- Target
Lag DynamicTable Target Lag - Specifies the target lag time for the dynamic table.
- Warehouse string
- The warehouse in which to create the dynamic table.
- Automatic
Clustering bool - Whether auto-clustering is enabled on the dynamic table. Not currently supported for dynamic tables.
- Bytes int
- Number of bytes that will be scanned if the entire dynamic table is scanned in a query.
- Cluster
By string - The clustering key for the dynamic table.
- Comment string
- Specifies a comment for the dynamic table.
- Created
On string - Time when this dynamic table was created.
- Data
Timestamp string - Timestamp of the data in the base object(s) that is included in the dynamic table.
- Database string
- The database in which to create the dynamic table.
- Fully
Qualified stringName - Fully qualified name of the resource. For more information, see object name resolution.
- Initialize
Changes to this property will trigger replacement.
- (Default:
ON_CREATE
) Initialize trigger for the dynamic table. Can only be set on creation. Available options are ONCREATE and ONSCHEDULE. - Is
Clone bool - TRUE if the dynamic table has been cloned, else FALSE.
- Is
Replica bool - TRUE if the dynamic table is a replica. else FALSE.
- Last
Suspended stringOn - Timestamp of last suspension.
- Name
Changes to this property will trigger replacement.
- Specifies the identifier (i.e. name) for the dynamic table; must be unique for the schema in which the dynamic table is created.
- Or
Replace bool - (Default:
false
) Specifies whether to replace the dynamic table if it already exists. - Owner string
- Role that owns the dynamic table.
- Query
Changes to this property will trigger replacement.
- Specifies the query to use to populate the dynamic table.
- Refresh
Mode Changes to this property will trigger replacement.
- (Default:
AUTO
) INCREMENTAL to use incremental refreshes, FULL to recompute the whole table on every refresh, or AUTO to let Snowflake decide. - Refresh
Mode stringReason - Explanation for why FULL refresh mode was chosen. NULL if refresh mode is not FULL.
- Rows int
- Number of rows in the table.
- Scheduling
State string - Displays ACTIVE for dynamic tables that are actively scheduling refreshes and SUSPENDED for suspended dynamic tables.
- Schema string
- The schema in which to create the dynamic table.
- Target
Lag DynamicTable Target Lag Args - Specifies the target lag time for the dynamic table.
- Warehouse string
- The warehouse in which to create the dynamic table.
- automatic
Clustering Boolean - Whether auto-clustering is enabled on the dynamic table. Not currently supported for dynamic tables.
- bytes Integer
- Number of bytes that will be scanned if the entire dynamic table is scanned in a query.
- cluster
By String - The clustering key for the dynamic table.
- comment String
- Specifies a comment for the dynamic table.
- created
On String - Time when this dynamic table was created.
- data
Timestamp String - Timestamp of the data in the base object(s) that is included in the dynamic table.
- database String
- The database in which to create the dynamic table.
- fully
Qualified StringName - Fully qualified name of the resource. For more information, see object name resolution.
- initialize
Changes to this property will trigger replacement.
- (Default:
ON_CREATE
) Initialize trigger for the dynamic table. Can only be set on creation. Available options are ONCREATE and ONSCHEDULE. - is
Clone Boolean - TRUE if the dynamic table has been cloned, else FALSE.
- is
Replica Boolean - TRUE if the dynamic table is a replica. else FALSE.
- last
Suspended StringOn - Timestamp of last suspension.
- name
Changes to this property will trigger replacement.
- Specifies the identifier (i.e. name) for the dynamic table; must be unique for the schema in which the dynamic table is created.
- or
Replace Boolean - (Default:
false
) Specifies whether to replace the dynamic table if it already exists. - owner String
- Role that owns the dynamic table.
- query
Changes to this property will trigger replacement.
- Specifies the query to use to populate the dynamic table.
- refresh
Mode Changes to this property will trigger replacement.
- (Default:
AUTO
) INCREMENTAL to use incremental refreshes, FULL to recompute the whole table on every refresh, or AUTO to let Snowflake decide. - refresh
Mode StringReason - Explanation for why FULL refresh mode was chosen. NULL if refresh mode is not FULL.
- rows Integer
- Number of rows in the table.
- scheduling
State String - Displays ACTIVE for dynamic tables that are actively scheduling refreshes and SUSPENDED for suspended dynamic tables.
- schema String
- The schema in which to create the dynamic table.
- target
Lag DynamicTable Target Lag - Specifies the target lag time for the dynamic table.
- warehouse String
- The warehouse in which to create the dynamic table.
- automatic
Clustering boolean - Whether auto-clustering is enabled on the dynamic table. Not currently supported for dynamic tables.
- bytes number
- Number of bytes that will be scanned if the entire dynamic table is scanned in a query.
- cluster
By string - The clustering key for the dynamic table.
- comment string
- Specifies a comment for the dynamic table.
- created
On string - Time when this dynamic table was created.
- data
Timestamp string - Timestamp of the data in the base object(s) that is included in the dynamic table.
- database string
- The database in which to create the dynamic table.
- fully
Qualified stringName - Fully qualified name of the resource. For more information, see object name resolution.
- initialize
Changes to this property will trigger replacement.
- (Default:
ON_CREATE
) Initialize trigger for the dynamic table. Can only be set on creation. Available options are ONCREATE and ONSCHEDULE. - is
Clone boolean - TRUE if the dynamic table has been cloned, else FALSE.
- is
Replica boolean - TRUE if the dynamic table is a replica. else FALSE.
- last
Suspended stringOn - Timestamp of last suspension.
- name
Changes to this property will trigger replacement.
- Specifies the identifier (i.e. name) for the dynamic table; must be unique for the schema in which the dynamic table is created.
- or
Replace boolean - (Default:
false
) Specifies whether to replace the dynamic table if it already exists. - owner string
- Role that owns the dynamic table.
- query
Changes to this property will trigger replacement.
- Specifies the query to use to populate the dynamic table.
- refresh
Mode Changes to this property will trigger replacement.
- (Default:
AUTO
) INCREMENTAL to use incremental refreshes, FULL to recompute the whole table on every refresh, or AUTO to let Snowflake decide. - refresh
Mode stringReason - Explanation for why FULL refresh mode was chosen. NULL if refresh mode is not FULL.
- rows number
- Number of rows in the table.
- scheduling
State string - Displays ACTIVE for dynamic tables that are actively scheduling refreshes and SUSPENDED for suspended dynamic tables.
- schema string
- The schema in which to create the dynamic table.
- target
Lag DynamicTable Target Lag - Specifies the target lag time for the dynamic table.
- warehouse string
- The warehouse in which to create the dynamic table.
- automatic_
clustering bool - Whether auto-clustering is enabled on the dynamic table. Not currently supported for dynamic tables.
- bytes int
- Number of bytes that will be scanned if the entire dynamic table is scanned in a query.
- cluster_
by str - The clustering key for the dynamic table.
- comment str
- Specifies a comment for the dynamic table.
- created_
on str - Time when this dynamic table was created.
- data_
timestamp str - Timestamp of the data in the base object(s) that is included in the dynamic table.
- database str
- The database in which to create the dynamic table.
- fully_
qualified_ strname - Fully qualified name of the resource. For more information, see object name resolution.
- initialize
Changes to this property will trigger replacement.
- (Default:
ON_CREATE
) Initialize trigger for the dynamic table. Can only be set on creation. Available options are ONCREATE and ONSCHEDULE. - is_
clone bool - TRUE if the dynamic table has been cloned, else FALSE.
- is_
replica bool - TRUE if the dynamic table is a replica. else FALSE.
- last_
suspended_ stron - Timestamp of last suspension.
- name
Changes to this property will trigger replacement.
- Specifies the identifier (i.e. name) for the dynamic table; must be unique for the schema in which the dynamic table is created.
- or_
replace bool - (Default:
false
) Specifies whether to replace the dynamic table if it already exists. - owner str
- Role that owns the dynamic table.
- query
Changes to this property will trigger replacement.
- Specifies the query to use to populate the dynamic table.
- refresh_
mode Changes to this property will trigger replacement.
- (Default:
AUTO
) INCREMENTAL to use incremental refreshes, FULL to recompute the whole table on every refresh, or AUTO to let Snowflake decide. - refresh_
mode_ strreason - Explanation for why FULL refresh mode was chosen. NULL if refresh mode is not FULL.
- rows int
- Number of rows in the table.
- scheduling_
state str - Displays ACTIVE for dynamic tables that are actively scheduling refreshes and SUSPENDED for suspended dynamic tables.
- schema str
- The schema in which to create the dynamic table.
- target_
lag DynamicTable Target Lag Args - Specifies the target lag time for the dynamic table.
- warehouse str
- The warehouse in which to create the dynamic table.
- automatic
Clustering Boolean - Whether auto-clustering is enabled on the dynamic table. Not currently supported for dynamic tables.
- bytes Number
- Number of bytes that will be scanned if the entire dynamic table is scanned in a query.
- cluster
By String - The clustering key for the dynamic table.
- comment String
- Specifies a comment for the dynamic table.
- created
On String - Time when this dynamic table was created.
- data
Timestamp String - Timestamp of the data in the base object(s) that is included in the dynamic table.
- database String
- The database in which to create the dynamic table.
- fully
Qualified StringName - Fully qualified name of the resource. For more information, see object name resolution.
- initialize
Changes to this property will trigger replacement.
- (Default:
ON_CREATE
) Initialize trigger for the dynamic table. Can only be set on creation. Available options are ONCREATE and ONSCHEDULE. - is
Clone Boolean - TRUE if the dynamic table has been cloned, else FALSE.
- is
Replica Boolean - TRUE if the dynamic table is a replica. else FALSE.
- last
Suspended StringOn - Timestamp of last suspension.
- name
Changes to this property will trigger replacement.
- Specifies the identifier (i.e. name) for the dynamic table; must be unique for the schema in which the dynamic table is created.
- or
Replace Boolean - (Default:
false
) Specifies whether to replace the dynamic table if it already exists. - owner String
- Role that owns the dynamic table.
- query
Changes to this property will trigger replacement.
- Specifies the query to use to populate the dynamic table.
- refresh
Mode Changes to this property will trigger replacement.
- (Default:
AUTO
) INCREMENTAL to use incremental refreshes, FULL to recompute the whole table on every refresh, or AUTO to let Snowflake decide. - refresh
Mode StringReason - Explanation for why FULL refresh mode was chosen. NULL if refresh mode is not FULL.
- rows Number
- Number of rows in the table.
- scheduling
State String - Displays ACTIVE for dynamic tables that are actively scheduling refreshes and SUSPENDED for suspended dynamic tables.
- schema String
- The schema in which to create the dynamic table.
- target
Lag Property Map - Specifies the target lag time for the dynamic table.
- warehouse String
- The warehouse in which to create the dynamic table.
Supporting Types
DynamicTableTargetLag, DynamicTableTargetLagArgs
- Downstream bool
- Specifies whether the target lag time is downstream.
- Maximum
Duration string - Specifies the maximum target lag time for the dynamic table.
- Downstream bool
- Specifies whether the target lag time is downstream.
- Maximum
Duration string - Specifies the maximum target lag time for the dynamic table.
- downstream Boolean
- Specifies whether the target lag time is downstream.
- maximum
Duration String - Specifies the maximum target lag time for the dynamic table.
- downstream boolean
- Specifies whether the target lag time is downstream.
- maximum
Duration string - Specifies the maximum target lag time for the dynamic table.
- downstream bool
- Specifies whether the target lag time is downstream.
- maximum_
duration str - Specifies the maximum target lag time for the dynamic table.
- downstream Boolean
- Specifies whether the target lag time is downstream.
- maximum
Duration String - Specifies the maximum target lag time for the dynamic table.
Package Details
- Repository
- Snowflake pulumi/pulumi-snowflake
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
snowflake
Terraform Provider.