snowflake.StreamOnExternalTable
Explore with Pulumi AI
Import
$ pulumi import snowflake:index/streamOnExternalTable:StreamOnExternalTable example '"<database_name>"."<schema_name>"."<stream_name>"'
Create StreamOnExternalTable Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new StreamOnExternalTable(name: string, args: StreamOnExternalTableArgs, opts?: CustomResourceOptions);
@overload
def StreamOnExternalTable(resource_name: str,
args: StreamOnExternalTableArgs,
opts: Optional[ResourceOptions] = None)
@overload
def StreamOnExternalTable(resource_name: str,
opts: Optional[ResourceOptions] = None,
database: Optional[str] = None,
external_table: Optional[str] = None,
schema: Optional[str] = None,
at: Optional[StreamOnExternalTableAtArgs] = None,
before: Optional[StreamOnExternalTableBeforeArgs] = None,
comment: Optional[str] = None,
copy_grants: Optional[bool] = None,
insert_only: Optional[str] = None,
name: Optional[str] = None)
func NewStreamOnExternalTable(ctx *Context, name string, args StreamOnExternalTableArgs, opts ...ResourceOption) (*StreamOnExternalTable, error)
public StreamOnExternalTable(string name, StreamOnExternalTableArgs args, CustomResourceOptions? opts = null)
public StreamOnExternalTable(String name, StreamOnExternalTableArgs args)
public StreamOnExternalTable(String name, StreamOnExternalTableArgs args, CustomResourceOptions options)
type: snowflake:StreamOnExternalTable
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args StreamOnExternalTableArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args StreamOnExternalTableArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args StreamOnExternalTableArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args StreamOnExternalTableArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args StreamOnExternalTableArgs
- 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 streamOnExternalTableResource = new Snowflake.StreamOnExternalTable("streamOnExternalTableResource", new()
{
Database = "string",
ExternalTable = "string",
Schema = "string",
At = new Snowflake.Inputs.StreamOnExternalTableAtArgs
{
Offset = "string",
Statement = "string",
Stream = "string",
Timestamp = "string",
},
Before = new Snowflake.Inputs.StreamOnExternalTableBeforeArgs
{
Offset = "string",
Statement = "string",
Stream = "string",
Timestamp = "string",
},
Comment = "string",
CopyGrants = false,
InsertOnly = "string",
Name = "string",
});
example, err := snowflake.NewStreamOnExternalTable(ctx, "streamOnExternalTableResource", &snowflake.StreamOnExternalTableArgs{
Database: pulumi.String("string"),
ExternalTable: pulumi.String("string"),
Schema: pulumi.String("string"),
At: &snowflake.StreamOnExternalTableAtArgs{
Offset: pulumi.String("string"),
Statement: pulumi.String("string"),
Stream: pulumi.String("string"),
Timestamp: pulumi.String("string"),
},
Before: &snowflake.StreamOnExternalTableBeforeArgs{
Offset: pulumi.String("string"),
Statement: pulumi.String("string"),
Stream: pulumi.String("string"),
Timestamp: pulumi.String("string"),
},
Comment: pulumi.String("string"),
CopyGrants: pulumi.Bool(false),
InsertOnly: pulumi.String("string"),
Name: pulumi.String("string"),
})
var streamOnExternalTableResource = new StreamOnExternalTable("streamOnExternalTableResource", StreamOnExternalTableArgs.builder()
.database("string")
.externalTable("string")
.schema("string")
.at(StreamOnExternalTableAtArgs.builder()
.offset("string")
.statement("string")
.stream("string")
.timestamp("string")
.build())
.before(StreamOnExternalTableBeforeArgs.builder()
.offset("string")
.statement("string")
.stream("string")
.timestamp("string")
.build())
.comment("string")
.copyGrants(false)
.insertOnly("string")
.name("string")
.build());
stream_on_external_table_resource = snowflake.StreamOnExternalTable("streamOnExternalTableResource",
database="string",
external_table="string",
schema="string",
at={
"offset": "string",
"statement": "string",
"stream": "string",
"timestamp": "string",
},
before={
"offset": "string",
"statement": "string",
"stream": "string",
"timestamp": "string",
},
comment="string",
copy_grants=False,
insert_only="string",
name="string")
const streamOnExternalTableResource = new snowflake.StreamOnExternalTable("streamOnExternalTableResource", {
database: "string",
externalTable: "string",
schema: "string",
at: {
offset: "string",
statement: "string",
stream: "string",
timestamp: "string",
},
before: {
offset: "string",
statement: "string",
stream: "string",
timestamp: "string",
},
comment: "string",
copyGrants: false,
insertOnly: "string",
name: "string",
});
type: snowflake:StreamOnExternalTable
properties:
at:
offset: string
statement: string
stream: string
timestamp: string
before:
offset: string
statement: string
stream: string
timestamp: string
comment: string
copyGrants: false
database: string
externalTable: string
insertOnly: string
name: string
schema: string
StreamOnExternalTable 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 StreamOnExternalTable resource accepts the following input properties:
- Database string
- The database in which to create the stream. Due to technical limitations (read more here), avoid using the following characters:
|
,.
,(
,)
,"
- External
Table string - Specifies an identifier for the external table the stream will monitor. Due to technical limitations (read more here), avoid using the following characters:
|
,.
,(
,)
,"
- Schema string
- The schema in which to create the stream. Due to technical limitations (read more here), avoid using the following characters:
|
,.
,(
,)
,"
- At
Stream
On External Table At - Before
Stream
On External Table Before - Comment string
- Specifies a comment for the stream.
- Copy
Grants bool - Retains the access permissions from the original stream when a stream is recreated using the OR REPLACE clause. That is sometimes used when the provider detects changes for fields that can not be changed by ALTER. This value will not have any effect when creating a new stream.
- Insert
Only string - Specifies whether this is an insert-only stream. Available options are: "true" or "false". When the value is not set in the configuration the provider will put "default" there which means to use the Snowflake default for this value.
- Name string
- Specifies the identifier for the stream; must be unique for the database and schema in which the stream is created. Due to technical limitations (read more here), avoid using the following characters:
|
,.
,(
,)
,"
- Database string
- The database in which to create the stream. Due to technical limitations (read more here), avoid using the following characters:
|
,.
,(
,)
,"
- External
Table string - Specifies an identifier for the external table the stream will monitor. Due to technical limitations (read more here), avoid using the following characters:
|
,.
,(
,)
,"
- Schema string
- The schema in which to create the stream. Due to technical limitations (read more here), avoid using the following characters:
|
,.
,(
,)
,"
- At
Stream
On External Table At Args - Before
Stream
On External Table Before Args - Comment string
- Specifies a comment for the stream.
- Copy
Grants bool - Retains the access permissions from the original stream when a stream is recreated using the OR REPLACE clause. That is sometimes used when the provider detects changes for fields that can not be changed by ALTER. This value will not have any effect when creating a new stream.
- Insert
Only string - Specifies whether this is an insert-only stream. Available options are: "true" or "false". When the value is not set in the configuration the provider will put "default" there which means to use the Snowflake default for this value.
- Name string
- Specifies the identifier for the stream; must be unique for the database and schema in which the stream is created. Due to technical limitations (read more here), avoid using the following characters:
|
,.
,(
,)
,"
- database String
- The database in which to create the stream. Due to technical limitations (read more here), avoid using the following characters:
|
,.
,(
,)
,"
- external
Table String - Specifies an identifier for the external table the stream will monitor. Due to technical limitations (read more here), avoid using the following characters:
|
,.
,(
,)
,"
- schema String
- The schema in which to create the stream. Due to technical limitations (read more here), avoid using the following characters:
|
,.
,(
,)
,"
- at
Stream
On External Table At - before
Stream
On External Table Before - comment String
- Specifies a comment for the stream.
- copy
Grants Boolean - Retains the access permissions from the original stream when a stream is recreated using the OR REPLACE clause. That is sometimes used when the provider detects changes for fields that can not be changed by ALTER. This value will not have any effect when creating a new stream.
- insert
Only String - Specifies whether this is an insert-only stream. Available options are: "true" or "false". When the value is not set in the configuration the provider will put "default" there which means to use the Snowflake default for this value.
- name String
- Specifies the identifier for the stream; must be unique for the database and schema in which the stream is created. Due to technical limitations (read more here), avoid using the following characters:
|
,.
,(
,)
,"
- database string
- The database in which to create the stream. Due to technical limitations (read more here), avoid using the following characters:
|
,.
,(
,)
,"
- external
Table string - Specifies an identifier for the external table the stream will monitor. Due to technical limitations (read more here), avoid using the following characters:
|
,.
,(
,)
,"
- schema string
- The schema in which to create the stream. Due to technical limitations (read more here), avoid using the following characters:
|
,.
,(
,)
,"
- at
Stream
On External Table At - before
Stream
On External Table Before - comment string
- Specifies a comment for the stream.
- copy
Grants boolean - Retains the access permissions from the original stream when a stream is recreated using the OR REPLACE clause. That is sometimes used when the provider detects changes for fields that can not be changed by ALTER. This value will not have any effect when creating a new stream.
- insert
Only string - Specifies whether this is an insert-only stream. Available options are: "true" or "false". When the value is not set in the configuration the provider will put "default" there which means to use the Snowflake default for this value.
- name string
- Specifies the identifier for the stream; must be unique for the database and schema in which the stream is created. Due to technical limitations (read more here), avoid using the following characters:
|
,.
,(
,)
,"
- database str
- The database in which to create the stream. Due to technical limitations (read more here), avoid using the following characters:
|
,.
,(
,)
,"
- external_
table str - Specifies an identifier for the external table the stream will monitor. Due to technical limitations (read more here), avoid using the following characters:
|
,.
,(
,)
,"
- schema str
- The schema in which to create the stream. Due to technical limitations (read more here), avoid using the following characters:
|
,.
,(
,)
,"
- at
Stream
On External Table At Args - before
Stream
On External Table Before Args - comment str
- Specifies a comment for the stream.
- copy_
grants bool - Retains the access permissions from the original stream when a stream is recreated using the OR REPLACE clause. That is sometimes used when the provider detects changes for fields that can not be changed by ALTER. This value will not have any effect when creating a new stream.
- insert_
only str - Specifies whether this is an insert-only stream. Available options are: "true" or "false". When the value is not set in the configuration the provider will put "default" there which means to use the Snowflake default for this value.
- name str
- Specifies the identifier for the stream; must be unique for the database and schema in which the stream is created. Due to technical limitations (read more here), avoid using the following characters:
|
,.
,(
,)
,"
- database String
- The database in which to create the stream. Due to technical limitations (read more here), avoid using the following characters:
|
,.
,(
,)
,"
- external
Table String - Specifies an identifier for the external table the stream will monitor. Due to technical limitations (read more here), avoid using the following characters:
|
,.
,(
,)
,"
- schema String
- The schema in which to create the stream. Due to technical limitations (read more here), avoid using the following characters:
|
,.
,(
,)
,"
- at Property Map
- before Property Map
- comment String
- Specifies a comment for the stream.
- copy
Grants Boolean - Retains the access permissions from the original stream when a stream is recreated using the OR REPLACE clause. That is sometimes used when the provider detects changes for fields that can not be changed by ALTER. This value will not have any effect when creating a new stream.
- insert
Only String - Specifies whether this is an insert-only stream. Available options are: "true" or "false". When the value is not set in the configuration the provider will put "default" there which means to use the Snowflake default for this value.
- name String
- Specifies the identifier for the stream; must be unique for the database and schema in which the stream is created. Due to technical limitations (read more here), avoid using the following characters:
|
,.
,(
,)
,"
Outputs
All input properties are implicitly available as output properties. Additionally, the StreamOnExternalTable resource produces the following output properties:
- Describe
Outputs List<StreamOn External Table Describe Output> - Outputs the result of
DESCRIBE STREAM
for the given stream. - 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.
- Show
Outputs List<StreamOn External Table Show Output> - Outputs the result of
SHOW STREAMS
for the given stream. - Stale bool
- Stream
Type string - Specifies a type for the stream. This field is used for checking external changes and recreating the resources if needed.
- Describe
Outputs []StreamOn External Table Describe Output - Outputs the result of
DESCRIBE STREAM
for the given stream. - 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.
- Show
Outputs []StreamOn External Table Show Output - Outputs the result of
SHOW STREAMS
for the given stream. - Stale bool
- Stream
Type string - Specifies a type for the stream. This field is used for checking external changes and recreating the resources if needed.
- describe
Outputs List<StreamOn External Table Describe Output> - Outputs the result of
DESCRIBE STREAM
for the given stream. - 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.
- show
Outputs List<StreamOn External Table Show Output> - Outputs the result of
SHOW STREAMS
for the given stream. - stale Boolean
- stream
Type String - Specifies a type for the stream. This field is used for checking external changes and recreating the resources if needed.
- describe
Outputs StreamOn External Table Describe Output[] - Outputs the result of
DESCRIBE STREAM
for the given stream. - 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.
- show
Outputs StreamOn External Table Show Output[] - Outputs the result of
SHOW STREAMS
for the given stream. - stale boolean
- stream
Type string - Specifies a type for the stream. This field is used for checking external changes and recreating the resources if needed.
- describe_
outputs Sequence[StreamOn External Table Describe Output] - Outputs the result of
DESCRIBE STREAM
for the given stream. - 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.
- show_
outputs Sequence[StreamOn External Table Show Output] - Outputs the result of
SHOW STREAMS
for the given stream. - stale bool
- stream_
type str - Specifies a type for the stream. This field is used for checking external changes and recreating the resources if needed.
- describe
Outputs List<Property Map> - Outputs the result of
DESCRIBE STREAM
for the given stream. - 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.
- show
Outputs List<Property Map> - Outputs the result of
SHOW STREAMS
for the given stream. - stale Boolean
- stream
Type String - Specifies a type for the stream. This field is used for checking external changes and recreating the resources if needed.
Look up Existing StreamOnExternalTable Resource
Get an existing StreamOnExternalTable 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?: StreamOnExternalTableState, opts?: CustomResourceOptions): StreamOnExternalTable
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
at: Optional[StreamOnExternalTableAtArgs] = None,
before: Optional[StreamOnExternalTableBeforeArgs] = None,
comment: Optional[str] = None,
copy_grants: Optional[bool] = None,
database: Optional[str] = None,
describe_outputs: Optional[Sequence[StreamOnExternalTableDescribeOutputArgs]] = None,
external_table: Optional[str] = None,
fully_qualified_name: Optional[str] = None,
insert_only: Optional[str] = None,
name: Optional[str] = None,
schema: Optional[str] = None,
show_outputs: Optional[Sequence[StreamOnExternalTableShowOutputArgs]] = None,
stale: Optional[bool] = None,
stream_type: Optional[str] = None) -> StreamOnExternalTable
func GetStreamOnExternalTable(ctx *Context, name string, id IDInput, state *StreamOnExternalTableState, opts ...ResourceOption) (*StreamOnExternalTable, error)
public static StreamOnExternalTable Get(string name, Input<string> id, StreamOnExternalTableState? state, CustomResourceOptions? opts = null)
public static StreamOnExternalTable get(String name, Output<String> id, StreamOnExternalTableState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- name
- The unique name of the resulting resource.
- id
- 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
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- 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
- The unique name of the resulting resource.
- id
- 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
- The unique name of the resulting resource.
- id
- 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.
- At
Stream
On External Table At - Before
Stream
On External Table Before - Comment string
- Specifies a comment for the stream.
- Copy
Grants bool - Retains the access permissions from the original stream when a stream is recreated using the OR REPLACE clause. That is sometimes used when the provider detects changes for fields that can not be changed by ALTER. This value will not have any effect when creating a new stream.
- Database string
- The database in which to create the stream. Due to technical limitations (read more here), avoid using the following characters:
|
,.
,(
,)
,"
- Describe
Outputs List<StreamOn External Table Describe Output> - Outputs the result of
DESCRIBE STREAM
for the given stream. - External
Table string - Specifies an identifier for the external table the stream will monitor. Due to technical limitations (read more here), avoid using the following characters:
|
,.
,(
,)
,"
- Fully
Qualified stringName - Fully qualified name of the resource. For more information, see object name resolution.
- Insert
Only string - Specifies whether this is an insert-only stream. Available options are: "true" or "false". When the value is not set in the configuration the provider will put "default" there which means to use the Snowflake default for this value.
- Name string
- Specifies the identifier for the stream; must be unique for the database and schema in which the stream is created. Due to technical limitations (read more here), avoid using the following characters:
|
,.
,(
,)
,"
- Schema string
- The schema in which to create the stream. Due to technical limitations (read more here), avoid using the following characters:
|
,.
,(
,)
,"
- Show
Outputs List<StreamOn External Table Show Output> - Outputs the result of
SHOW STREAMS
for the given stream. - Stale bool
- Stream
Type string - Specifies a type for the stream. This field is used for checking external changes and recreating the resources if needed.
- At
Stream
On External Table At Args - Before
Stream
On External Table Before Args - Comment string
- Specifies a comment for the stream.
- Copy
Grants bool - Retains the access permissions from the original stream when a stream is recreated using the OR REPLACE clause. That is sometimes used when the provider detects changes for fields that can not be changed by ALTER. This value will not have any effect when creating a new stream.
- Database string
- The database in which to create the stream. Due to technical limitations (read more here), avoid using the following characters:
|
,.
,(
,)
,"
- Describe
Outputs []StreamOn External Table Describe Output Args - Outputs the result of
DESCRIBE STREAM
for the given stream. - External
Table string - Specifies an identifier for the external table the stream will monitor. Due to technical limitations (read more here), avoid using the following characters:
|
,.
,(
,)
,"
- Fully
Qualified stringName - Fully qualified name of the resource. For more information, see object name resolution.
- Insert
Only string - Specifies whether this is an insert-only stream. Available options are: "true" or "false". When the value is not set in the configuration the provider will put "default" there which means to use the Snowflake default for this value.
- Name string
- Specifies the identifier for the stream; must be unique for the database and schema in which the stream is created. Due to technical limitations (read more here), avoid using the following characters:
|
,.
,(
,)
,"
- Schema string
- The schema in which to create the stream. Due to technical limitations (read more here), avoid using the following characters:
|
,.
,(
,)
,"
- Show
Outputs []StreamOn External Table Show Output Args - Outputs the result of
SHOW STREAMS
for the given stream. - Stale bool
- Stream
Type string - Specifies a type for the stream. This field is used for checking external changes and recreating the resources if needed.
- at
Stream
On External Table At - before
Stream
On External Table Before - comment String
- Specifies a comment for the stream.
- copy
Grants Boolean - Retains the access permissions from the original stream when a stream is recreated using the OR REPLACE clause. That is sometimes used when the provider detects changes for fields that can not be changed by ALTER. This value will not have any effect when creating a new stream.
- database String
- The database in which to create the stream. Due to technical limitations (read more here), avoid using the following characters:
|
,.
,(
,)
,"
- describe
Outputs List<StreamOn External Table Describe Output> - Outputs the result of
DESCRIBE STREAM
for the given stream. - external
Table String - Specifies an identifier for the external table the stream will monitor. Due to technical limitations (read more here), avoid using the following characters:
|
,.
,(
,)
,"
- fully
Qualified StringName - Fully qualified name of the resource. For more information, see object name resolution.
- insert
Only String - Specifies whether this is an insert-only stream. Available options are: "true" or "false". When the value is not set in the configuration the provider will put "default" there which means to use the Snowflake default for this value.
- name String
- Specifies the identifier for the stream; must be unique for the database and schema in which the stream is created. Due to technical limitations (read more here), avoid using the following characters:
|
,.
,(
,)
,"
- schema String
- The schema in which to create the stream. Due to technical limitations (read more here), avoid using the following characters:
|
,.
,(
,)
,"
- show
Outputs List<StreamOn External Table Show Output> - Outputs the result of
SHOW STREAMS
for the given stream. - stale Boolean
- stream
Type String - Specifies a type for the stream. This field is used for checking external changes and recreating the resources if needed.
- at
Stream
On External Table At - before
Stream
On External Table Before - comment string
- Specifies a comment for the stream.
- copy
Grants boolean - Retains the access permissions from the original stream when a stream is recreated using the OR REPLACE clause. That is sometimes used when the provider detects changes for fields that can not be changed by ALTER. This value will not have any effect when creating a new stream.
- database string
- The database in which to create the stream. Due to technical limitations (read more here), avoid using the following characters:
|
,.
,(
,)
,"
- describe
Outputs StreamOn External Table Describe Output[] - Outputs the result of
DESCRIBE STREAM
for the given stream. - external
Table string - Specifies an identifier for the external table the stream will monitor. Due to technical limitations (read more here), avoid using the following characters:
|
,.
,(
,)
,"
- fully
Qualified stringName - Fully qualified name of the resource. For more information, see object name resolution.
- insert
Only string - Specifies whether this is an insert-only stream. Available options are: "true" or "false". When the value is not set in the configuration the provider will put "default" there which means to use the Snowflake default for this value.
- name string
- Specifies the identifier for the stream; must be unique for the database and schema in which the stream is created. Due to technical limitations (read more here), avoid using the following characters:
|
,.
,(
,)
,"
- schema string
- The schema in which to create the stream. Due to technical limitations (read more here), avoid using the following characters:
|
,.
,(
,)
,"
- show
Outputs StreamOn External Table Show Output[] - Outputs the result of
SHOW STREAMS
for the given stream. - stale boolean
- stream
Type string - Specifies a type for the stream. This field is used for checking external changes and recreating the resources if needed.
- at
Stream
On External Table At Args - before
Stream
On External Table Before Args - comment str
- Specifies a comment for the stream.
- copy_
grants bool - Retains the access permissions from the original stream when a stream is recreated using the OR REPLACE clause. That is sometimes used when the provider detects changes for fields that can not be changed by ALTER. This value will not have any effect when creating a new stream.
- database str
- The database in which to create the stream. Due to technical limitations (read more here), avoid using the following characters:
|
,.
,(
,)
,"
- describe_
outputs Sequence[StreamOn External Table Describe Output Args] - Outputs the result of
DESCRIBE STREAM
for the given stream. - external_
table str - Specifies an identifier for the external table the stream will monitor. Due to technical limitations (read more here), avoid using the following characters:
|
,.
,(
,)
,"
- fully_
qualified_ strname - Fully qualified name of the resource. For more information, see object name resolution.
- insert_
only str - Specifies whether this is an insert-only stream. Available options are: "true" or "false". When the value is not set in the configuration the provider will put "default" there which means to use the Snowflake default for this value.
- name str
- Specifies the identifier for the stream; must be unique for the database and schema in which the stream is created. Due to technical limitations (read more here), avoid using the following characters:
|
,.
,(
,)
,"
- schema str
- The schema in which to create the stream. Due to technical limitations (read more here), avoid using the following characters:
|
,.
,(
,)
,"
- show_
outputs Sequence[StreamOn External Table Show Output Args] - Outputs the result of
SHOW STREAMS
for the given stream. - stale bool
- stream_
type str - Specifies a type for the stream. This field is used for checking external changes and recreating the resources if needed.
- at Property Map
- before Property Map
- comment String
- Specifies a comment for the stream.
- copy
Grants Boolean - Retains the access permissions from the original stream when a stream is recreated using the OR REPLACE clause. That is sometimes used when the provider detects changes for fields that can not be changed by ALTER. This value will not have any effect when creating a new stream.
- database String
- The database in which to create the stream. Due to technical limitations (read more here), avoid using the following characters:
|
,.
,(
,)
,"
- describe
Outputs List<Property Map> - Outputs the result of
DESCRIBE STREAM
for the given stream. - external
Table String - Specifies an identifier for the external table the stream will monitor. Due to technical limitations (read more here), avoid using the following characters:
|
,.
,(
,)
,"
- fully
Qualified StringName - Fully qualified name of the resource. For more information, see object name resolution.
- insert
Only String - Specifies whether this is an insert-only stream. Available options are: "true" or "false". When the value is not set in the configuration the provider will put "default" there which means to use the Snowflake default for this value.
- name String
- Specifies the identifier for the stream; must be unique for the database and schema in which the stream is created. Due to technical limitations (read more here), avoid using the following characters:
|
,.
,(
,)
,"
- schema String
- The schema in which to create the stream. Due to technical limitations (read more here), avoid using the following characters:
|
,.
,(
,)
,"
- show
Outputs List<Property Map> - Outputs the result of
SHOW STREAMS
for the given stream. - stale Boolean
- stream
Type String - Specifies a type for the stream. This field is used for checking external changes and recreating the resources if needed.
Supporting Types
StreamOnExternalTableAt, StreamOnExternalTableAtArgs
- Offset string
- Specifies the difference in seconds from the current time to use for Time Travel, in the form -N where N can be an integer or arithmetic expression (e.g. -120 is 120 seconds, -30*60 is 1800 seconds or 30 minutes).
- Statement string
- Specifies the query ID of a statement to use as the reference point for Time Travel. This parameter supports any statement of one of the following types: DML (e.g. INSERT, UPDATE, DELETE), TCL (BEGIN, COMMIT transaction), SELECT.
- Stream string
- Specifies the identifier (i.e. name) for an existing stream on the queried table or view. The current offset in the stream is used as the AT point in time for returning change data for the source object.
- Timestamp string
- Specifies an exact date and time to use for Time Travel. The value must be explicitly cast to a TIMESTAMP, TIMESTAMPLTZ, TIMESTAMPNTZ, or TIMESTAMP_TZ data type.
- Offset string
- Specifies the difference in seconds from the current time to use for Time Travel, in the form -N where N can be an integer or arithmetic expression (e.g. -120 is 120 seconds, -30*60 is 1800 seconds or 30 minutes).
- Statement string
- Specifies the query ID of a statement to use as the reference point for Time Travel. This parameter supports any statement of one of the following types: DML (e.g. INSERT, UPDATE, DELETE), TCL (BEGIN, COMMIT transaction), SELECT.
- Stream string
- Specifies the identifier (i.e. name) for an existing stream on the queried table or view. The current offset in the stream is used as the AT point in time for returning change data for the source object.
- Timestamp string
- Specifies an exact date and time to use for Time Travel. The value must be explicitly cast to a TIMESTAMP, TIMESTAMPLTZ, TIMESTAMPNTZ, or TIMESTAMP_TZ data type.
- offset String
- Specifies the difference in seconds from the current time to use for Time Travel, in the form -N where N can be an integer or arithmetic expression (e.g. -120 is 120 seconds, -30*60 is 1800 seconds or 30 minutes).
- statement String
- Specifies the query ID of a statement to use as the reference point for Time Travel. This parameter supports any statement of one of the following types: DML (e.g. INSERT, UPDATE, DELETE), TCL (BEGIN, COMMIT transaction), SELECT.
- stream String
- Specifies the identifier (i.e. name) for an existing stream on the queried table or view. The current offset in the stream is used as the AT point in time for returning change data for the source object.
- timestamp String
- Specifies an exact date and time to use for Time Travel. The value must be explicitly cast to a TIMESTAMP, TIMESTAMPLTZ, TIMESTAMPNTZ, or TIMESTAMP_TZ data type.
- offset string
- Specifies the difference in seconds from the current time to use for Time Travel, in the form -N where N can be an integer or arithmetic expression (e.g. -120 is 120 seconds, -30*60 is 1800 seconds or 30 minutes).
- statement string
- Specifies the query ID of a statement to use as the reference point for Time Travel. This parameter supports any statement of one of the following types: DML (e.g. INSERT, UPDATE, DELETE), TCL (BEGIN, COMMIT transaction), SELECT.
- stream string
- Specifies the identifier (i.e. name) for an existing stream on the queried table or view. The current offset in the stream is used as the AT point in time for returning change data for the source object.
- timestamp string
- Specifies an exact date and time to use for Time Travel. The value must be explicitly cast to a TIMESTAMP, TIMESTAMPLTZ, TIMESTAMPNTZ, or TIMESTAMP_TZ data type.
- offset str
- Specifies the difference in seconds from the current time to use for Time Travel, in the form -N where N can be an integer or arithmetic expression (e.g. -120 is 120 seconds, -30*60 is 1800 seconds or 30 minutes).
- statement str
- Specifies the query ID of a statement to use as the reference point for Time Travel. This parameter supports any statement of one of the following types: DML (e.g. INSERT, UPDATE, DELETE), TCL (BEGIN, COMMIT transaction), SELECT.
- stream str
- Specifies the identifier (i.e. name) for an existing stream on the queried table or view. The current offset in the stream is used as the AT point in time for returning change data for the source object.
- timestamp str
- Specifies an exact date and time to use for Time Travel. The value must be explicitly cast to a TIMESTAMP, TIMESTAMPLTZ, TIMESTAMPNTZ, or TIMESTAMP_TZ data type.
- offset String
- Specifies the difference in seconds from the current time to use for Time Travel, in the form -N where N can be an integer or arithmetic expression (e.g. -120 is 120 seconds, -30*60 is 1800 seconds or 30 minutes).
- statement String
- Specifies the query ID of a statement to use as the reference point for Time Travel. This parameter supports any statement of one of the following types: DML (e.g. INSERT, UPDATE, DELETE), TCL (BEGIN, COMMIT transaction), SELECT.
- stream String
- Specifies the identifier (i.e. name) for an existing stream on the queried table or view. The current offset in the stream is used as the AT point in time for returning change data for the source object.
- timestamp String
- Specifies an exact date and time to use for Time Travel. The value must be explicitly cast to a TIMESTAMP, TIMESTAMPLTZ, TIMESTAMPNTZ, or TIMESTAMP_TZ data type.
StreamOnExternalTableBefore, StreamOnExternalTableBeforeArgs
- Offset string
- Specifies the difference in seconds from the current time to use for Time Travel, in the form -N where N can be an integer or arithmetic expression (e.g. -120 is 120 seconds, -30*60 is 1800 seconds or 30 minutes).
- Statement string
- Specifies the query ID of a statement to use as the reference point for Time Travel. This parameter supports any statement of one of the following types: DML (e.g. INSERT, UPDATE, DELETE), TCL (BEGIN, COMMIT transaction), SELECT.
- Stream string
- Specifies the identifier (i.e. name) for an existing stream on the queried table or view. The current offset in the stream is used as the AT point in time for returning change data for the source object.
- Timestamp string
- Specifies an exact date and time to use for Time Travel. The value must be explicitly cast to a TIMESTAMP, TIMESTAMPLTZ, TIMESTAMPNTZ, or TIMESTAMP_TZ data type.
- Offset string
- Specifies the difference in seconds from the current time to use for Time Travel, in the form -N where N can be an integer or arithmetic expression (e.g. -120 is 120 seconds, -30*60 is 1800 seconds or 30 minutes).
- Statement string
- Specifies the query ID of a statement to use as the reference point for Time Travel. This parameter supports any statement of one of the following types: DML (e.g. INSERT, UPDATE, DELETE), TCL (BEGIN, COMMIT transaction), SELECT.
- Stream string
- Specifies the identifier (i.e. name) for an existing stream on the queried table or view. The current offset in the stream is used as the AT point in time for returning change data for the source object.
- Timestamp string
- Specifies an exact date and time to use for Time Travel. The value must be explicitly cast to a TIMESTAMP, TIMESTAMPLTZ, TIMESTAMPNTZ, or TIMESTAMP_TZ data type.
- offset String
- Specifies the difference in seconds from the current time to use for Time Travel, in the form -N where N can be an integer or arithmetic expression (e.g. -120 is 120 seconds, -30*60 is 1800 seconds or 30 minutes).
- statement String
- Specifies the query ID of a statement to use as the reference point for Time Travel. This parameter supports any statement of one of the following types: DML (e.g. INSERT, UPDATE, DELETE), TCL (BEGIN, COMMIT transaction), SELECT.
- stream String
- Specifies the identifier (i.e. name) for an existing stream on the queried table or view. The current offset in the stream is used as the AT point in time for returning change data for the source object.
- timestamp String
- Specifies an exact date and time to use for Time Travel. The value must be explicitly cast to a TIMESTAMP, TIMESTAMPLTZ, TIMESTAMPNTZ, or TIMESTAMP_TZ data type.
- offset string
- Specifies the difference in seconds from the current time to use for Time Travel, in the form -N where N can be an integer or arithmetic expression (e.g. -120 is 120 seconds, -30*60 is 1800 seconds or 30 minutes).
- statement string
- Specifies the query ID of a statement to use as the reference point for Time Travel. This parameter supports any statement of one of the following types: DML (e.g. INSERT, UPDATE, DELETE), TCL (BEGIN, COMMIT transaction), SELECT.
- stream string
- Specifies the identifier (i.e. name) for an existing stream on the queried table or view. The current offset in the stream is used as the AT point in time for returning change data for the source object.
- timestamp string
- Specifies an exact date and time to use for Time Travel. The value must be explicitly cast to a TIMESTAMP, TIMESTAMPLTZ, TIMESTAMPNTZ, or TIMESTAMP_TZ data type.
- offset str
- Specifies the difference in seconds from the current time to use for Time Travel, in the form -N where N can be an integer or arithmetic expression (e.g. -120 is 120 seconds, -30*60 is 1800 seconds or 30 minutes).
- statement str
- Specifies the query ID of a statement to use as the reference point for Time Travel. This parameter supports any statement of one of the following types: DML (e.g. INSERT, UPDATE, DELETE), TCL (BEGIN, COMMIT transaction), SELECT.
- stream str
- Specifies the identifier (i.e. name) for an existing stream on the queried table or view. The current offset in the stream is used as the AT point in time for returning change data for the source object.
- timestamp str
- Specifies an exact date and time to use for Time Travel. The value must be explicitly cast to a TIMESTAMP, TIMESTAMPLTZ, TIMESTAMPNTZ, or TIMESTAMP_TZ data type.
- offset String
- Specifies the difference in seconds from the current time to use for Time Travel, in the form -N where N can be an integer or arithmetic expression (e.g. -120 is 120 seconds, -30*60 is 1800 seconds or 30 minutes).
- statement String
- Specifies the query ID of a statement to use as the reference point for Time Travel. This parameter supports any statement of one of the following types: DML (e.g. INSERT, UPDATE, DELETE), TCL (BEGIN, COMMIT transaction), SELECT.
- stream String
- Specifies the identifier (i.e. name) for an existing stream on the queried table or view. The current offset in the stream is used as the AT point in time for returning change data for the source object.
- timestamp String
- Specifies an exact date and time to use for Time Travel. The value must be explicitly cast to a TIMESTAMP, TIMESTAMPLTZ, TIMESTAMPNTZ, or TIMESTAMP_TZ data type.
StreamOnExternalTableDescribeOutput, StreamOnExternalTableDescribeOutputArgs
- Base
Tables List<string> - Comment string
- Created
On string - Database
Name string - Invalid
Reason string - Mode string
- Name string
- Owner string
- Owner
Role stringType - Schema
Name string - Source
Type string - Stale bool
- Stale
After string - Table
Name string - Type string
- Base
Tables []string - Comment string
- Created
On string - Database
Name string - Invalid
Reason string - Mode string
- Name string
- Owner string
- Owner
Role stringType - Schema
Name string - Source
Type string - Stale bool
- Stale
After string - Table
Name string - Type string
- base
Tables List<String> - comment String
- created
On String - database
Name String - invalid
Reason String - mode String
- name String
- owner String
- owner
Role StringType - schema
Name String - source
Type String - stale Boolean
- stale
After String - table
Name String - type String
- base
Tables string[] - comment string
- created
On string - database
Name string - invalid
Reason string - mode string
- name string
- owner string
- owner
Role stringType - schema
Name string - source
Type string - stale boolean
- stale
After string - table
Name string - type string
- base_
tables Sequence[str] - comment str
- created_
on str - database_
name str - invalid_
reason str - mode str
- name str
- owner str
- owner_
role_ strtype - schema_
name str - source_
type str - stale bool
- stale_
after str - table_
name str - type str
- base
Tables List<String> - comment String
- created
On String - database
Name String - invalid
Reason String - mode String
- name String
- owner String
- owner
Role StringType - schema
Name String - source
Type String - stale Boolean
- stale
After String - table
Name String - type String
StreamOnExternalTableShowOutput, StreamOnExternalTableShowOutputArgs
- Base
Tables List<string> - Comment string
- Created
On string - Database
Name string - Invalid
Reason string - Mode string
- Name string
- Owner string
- Owner
Role stringType - Schema
Name string - Source
Type string - Stale bool
- Stale
After string - Table
Name string - Type string
- Base
Tables []string - Comment string
- Created
On string - Database
Name string - Invalid
Reason string - Mode string
- Name string
- Owner string
- Owner
Role stringType - Schema
Name string - Source
Type string - Stale bool
- Stale
After string - Table
Name string - Type string
- base
Tables List<String> - comment String
- created
On String - database
Name String - invalid
Reason String - mode String
- name String
- owner String
- owner
Role StringType - schema
Name String - source
Type String - stale Boolean
- stale
After String - table
Name String - type String
- base
Tables string[] - comment string
- created
On string - database
Name string - invalid
Reason string - mode string
- name string
- owner string
- owner
Role stringType - schema
Name string - source
Type string - stale boolean
- stale
After string - table
Name string - type string
- base_
tables Sequence[str] - comment str
- created_
on str - database_
name str - invalid_
reason str - mode str
- name str
- owner str
- owner_
role_ strtype - schema_
name str - source_
type str - stale bool
- stale_
after str - table_
name str - type str
- base
Tables List<String> - comment String
- created
On String - database
Name String - invalid
Reason String - mode String
- name String
- owner String
- owner
Role StringType - schema
Name String - source
Type String - stale Boolean
- stale
After String - table
Name String - type String
Package Details
- Repository
- Snowflake pulumi/pulumi-snowflake
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
snowflake
Terraform Provider.