We recommend new projects start with resources from the AWS provider.
aws-native.timestream.ScheduledQuery
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
The AWS::Timestream::ScheduledQuery resource creates a Timestream Scheduled Query.
Create ScheduledQuery Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ScheduledQuery(name: string, args: ScheduledQueryArgs, opts?: CustomResourceOptions);
@overload
def ScheduledQuery(resource_name: str,
args: ScheduledQueryArgs,
opts: Optional[ResourceOptions] = None)
@overload
def ScheduledQuery(resource_name: str,
opts: Optional[ResourceOptions] = None,
error_report_configuration: Optional[ScheduledQueryErrorReportConfigurationArgs] = None,
notification_configuration: Optional[ScheduledQueryNotificationConfigurationArgs] = None,
query_string: Optional[str] = None,
schedule_configuration: Optional[ScheduledQueryScheduleConfigurationArgs] = None,
scheduled_query_execution_role_arn: Optional[str] = None,
client_token: Optional[str] = None,
kms_key_id: Optional[str] = None,
scheduled_query_name: Optional[str] = None,
tags: Optional[Sequence[_root_inputs.TagArgs]] = None,
target_configuration: Optional[ScheduledQueryTargetConfigurationArgs] = None)
func NewScheduledQuery(ctx *Context, name string, args ScheduledQueryArgs, opts ...ResourceOption) (*ScheduledQuery, error)
public ScheduledQuery(string name, ScheduledQueryArgs args, CustomResourceOptions? opts = null)
public ScheduledQuery(String name, ScheduledQueryArgs args)
public ScheduledQuery(String name, ScheduledQueryArgs args, CustomResourceOptions options)
type: aws-native:timestream:ScheduledQuery
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 ScheduledQueryArgs
- 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 ScheduledQueryArgs
- 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 ScheduledQueryArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ScheduledQueryArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ScheduledQueryArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
ScheduledQuery 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 ScheduledQuery resource accepts the following input properties:
- Error
Report Pulumi.Configuration Aws Native. Timestream. Inputs. Scheduled Query Error Report Configuration - Configuration for error reporting. Error reports will be generated when a problem is encountered when writing the query results.
- Notification
Configuration Pulumi.Aws Native. Timestream. Inputs. Scheduled Query Notification Configuration - Notification configuration for the scheduled query. A notification is sent by Timestream when a query run finishes, when the state is updated or when you delete it.
- Query
String string The query string to run. Parameter names can be specified in the query string
@
character followed by an identifier. The named Parameter@scheduled_runtime
is reserved and can be used in the query to get the time at which the query is scheduled to run.The timestamp calculated according to the ScheduleConfiguration parameter, will be the value of
@scheduled_runtime
paramater for each query run. For example, consider an instance of a scheduled query executing on 2021-12-01 00:00:00. For this instance, the@scheduled_runtime
parameter is initialized to the timestamp 2021-12-01 00:00:00 when invoking the query.- Schedule
Configuration Pulumi.Aws Native. Timestream. Inputs. Scheduled Query Schedule Configuration - Schedule configuration.
- Scheduled
Query stringExecution Role Arn - The ARN for the IAM role that Timestream will assume when running the scheduled query.
- Client
Token string - Using a ClientToken makes the call to CreateScheduledQuery idempotent, in other words, making the same request repeatedly will produce the same result. Making multiple identical CreateScheduledQuery requests has the same effect as making a single request.
- If CreateScheduledQuery is called without a
ClientToken
, the Query SDK generates aClientToken
on your behalf. - After 8 hours, any request with the same
ClientToken
is treated as a new request.
- If CreateScheduledQuery is called without a
- Kms
Key stringId The Amazon KMS key used to encrypt the scheduled query resource, at-rest. If the Amazon KMS key is not specified, the scheduled query resource will be encrypted with a Timestream owned Amazon KMS key. To specify a KMS key, use the key ID, key ARN, alias name, or alias ARN. When using an alias name, prefix the name with alias/
If ErrorReportConfiguration uses
SSE_KMS
as encryption type, the same KmsKeyId is used to encrypt the error report at rest.- Scheduled
Query stringName - A name for the query. Scheduled query names must be unique within each Region.
- List<Pulumi.
Aws Native. Inputs. Tag> - A list of key-value pairs to label the scheduled query.
- Target
Configuration Pulumi.Aws Native. Timestream. Inputs. Scheduled Query Target Configuration - Scheduled query target store configuration.
- Error
Report ScheduledConfiguration Query Error Report Configuration Args - Configuration for error reporting. Error reports will be generated when a problem is encountered when writing the query results.
- Notification
Configuration ScheduledQuery Notification Configuration Args - Notification configuration for the scheduled query. A notification is sent by Timestream when a query run finishes, when the state is updated or when you delete it.
- Query
String string The query string to run. Parameter names can be specified in the query string
@
character followed by an identifier. The named Parameter@scheduled_runtime
is reserved and can be used in the query to get the time at which the query is scheduled to run.The timestamp calculated according to the ScheduleConfiguration parameter, will be the value of
@scheduled_runtime
paramater for each query run. For example, consider an instance of a scheduled query executing on 2021-12-01 00:00:00. For this instance, the@scheduled_runtime
parameter is initialized to the timestamp 2021-12-01 00:00:00 when invoking the query.- Schedule
Configuration ScheduledQuery Schedule Configuration Args - Schedule configuration.
- Scheduled
Query stringExecution Role Arn - The ARN for the IAM role that Timestream will assume when running the scheduled query.
- Client
Token string - Using a ClientToken makes the call to CreateScheduledQuery idempotent, in other words, making the same request repeatedly will produce the same result. Making multiple identical CreateScheduledQuery requests has the same effect as making a single request.
- If CreateScheduledQuery is called without a
ClientToken
, the Query SDK generates aClientToken
on your behalf. - After 8 hours, any request with the same
ClientToken
is treated as a new request.
- If CreateScheduledQuery is called without a
- Kms
Key stringId The Amazon KMS key used to encrypt the scheduled query resource, at-rest. If the Amazon KMS key is not specified, the scheduled query resource will be encrypted with a Timestream owned Amazon KMS key. To specify a KMS key, use the key ID, key ARN, alias name, or alias ARN. When using an alias name, prefix the name with alias/
If ErrorReportConfiguration uses
SSE_KMS
as encryption type, the same KmsKeyId is used to encrypt the error report at rest.- Scheduled
Query stringName - A name for the query. Scheduled query names must be unique within each Region.
- Tag
Args - A list of key-value pairs to label the scheduled query.
- Target
Configuration ScheduledQuery Target Configuration Args - Scheduled query target store configuration.
- error
Report ScheduledConfiguration Query Error Report Configuration - Configuration for error reporting. Error reports will be generated when a problem is encountered when writing the query results.
- notification
Configuration ScheduledQuery Notification Configuration - Notification configuration for the scheduled query. A notification is sent by Timestream when a query run finishes, when the state is updated or when you delete it.
- query
String String The query string to run. Parameter names can be specified in the query string
@
character followed by an identifier. The named Parameter@scheduled_runtime
is reserved and can be used in the query to get the time at which the query is scheduled to run.The timestamp calculated according to the ScheduleConfiguration parameter, will be the value of
@scheduled_runtime
paramater for each query run. For example, consider an instance of a scheduled query executing on 2021-12-01 00:00:00. For this instance, the@scheduled_runtime
parameter is initialized to the timestamp 2021-12-01 00:00:00 when invoking the query.- schedule
Configuration ScheduledQuery Schedule Configuration - Schedule configuration.
- scheduled
Query StringExecution Role Arn - The ARN for the IAM role that Timestream will assume when running the scheduled query.
- client
Token String - Using a ClientToken makes the call to CreateScheduledQuery idempotent, in other words, making the same request repeatedly will produce the same result. Making multiple identical CreateScheduledQuery requests has the same effect as making a single request.
- If CreateScheduledQuery is called without a
ClientToken
, the Query SDK generates aClientToken
on your behalf. - After 8 hours, any request with the same
ClientToken
is treated as a new request.
- If CreateScheduledQuery is called without a
- kms
Key StringId The Amazon KMS key used to encrypt the scheduled query resource, at-rest. If the Amazon KMS key is not specified, the scheduled query resource will be encrypted with a Timestream owned Amazon KMS key. To specify a KMS key, use the key ID, key ARN, alias name, or alias ARN. When using an alias name, prefix the name with alias/
If ErrorReportConfiguration uses
SSE_KMS
as encryption type, the same KmsKeyId is used to encrypt the error report at rest.- scheduled
Query StringName - A name for the query. Scheduled query names must be unique within each Region.
- List<Tag>
- A list of key-value pairs to label the scheduled query.
- target
Configuration ScheduledQuery Target Configuration - Scheduled query target store configuration.
- error
Report ScheduledConfiguration Query Error Report Configuration - Configuration for error reporting. Error reports will be generated when a problem is encountered when writing the query results.
- notification
Configuration ScheduledQuery Notification Configuration - Notification configuration for the scheduled query. A notification is sent by Timestream when a query run finishes, when the state is updated or when you delete it.
- query
String string The query string to run. Parameter names can be specified in the query string
@
character followed by an identifier. The named Parameter@scheduled_runtime
is reserved and can be used in the query to get the time at which the query is scheduled to run.The timestamp calculated according to the ScheduleConfiguration parameter, will be the value of
@scheduled_runtime
paramater for each query run. For example, consider an instance of a scheduled query executing on 2021-12-01 00:00:00. For this instance, the@scheduled_runtime
parameter is initialized to the timestamp 2021-12-01 00:00:00 when invoking the query.- schedule
Configuration ScheduledQuery Schedule Configuration - Schedule configuration.
- scheduled
Query stringExecution Role Arn - The ARN for the IAM role that Timestream will assume when running the scheduled query.
- client
Token string - Using a ClientToken makes the call to CreateScheduledQuery idempotent, in other words, making the same request repeatedly will produce the same result. Making multiple identical CreateScheduledQuery requests has the same effect as making a single request.
- If CreateScheduledQuery is called without a
ClientToken
, the Query SDK generates aClientToken
on your behalf. - After 8 hours, any request with the same
ClientToken
is treated as a new request.
- If CreateScheduledQuery is called without a
- kms
Key stringId The Amazon KMS key used to encrypt the scheduled query resource, at-rest. If the Amazon KMS key is not specified, the scheduled query resource will be encrypted with a Timestream owned Amazon KMS key. To specify a KMS key, use the key ID, key ARN, alias name, or alias ARN. When using an alias name, prefix the name with alias/
If ErrorReportConfiguration uses
SSE_KMS
as encryption type, the same KmsKeyId is used to encrypt the error report at rest.- scheduled
Query stringName - A name for the query. Scheduled query names must be unique within each Region.
- Tag[]
- A list of key-value pairs to label the scheduled query.
- target
Configuration ScheduledQuery Target Configuration - Scheduled query target store configuration.
- error_
report_ Scheduledconfiguration Query Error Report Configuration Args - Configuration for error reporting. Error reports will be generated when a problem is encountered when writing the query results.
- notification_
configuration ScheduledQuery Notification Configuration Args - Notification configuration for the scheduled query. A notification is sent by Timestream when a query run finishes, when the state is updated or when you delete it.
- query_
string str The query string to run. Parameter names can be specified in the query string
@
character followed by an identifier. The named Parameter@scheduled_runtime
is reserved and can be used in the query to get the time at which the query is scheduled to run.The timestamp calculated according to the ScheduleConfiguration parameter, will be the value of
@scheduled_runtime
paramater for each query run. For example, consider an instance of a scheduled query executing on 2021-12-01 00:00:00. For this instance, the@scheduled_runtime
parameter is initialized to the timestamp 2021-12-01 00:00:00 when invoking the query.- schedule_
configuration ScheduledQuery Schedule Configuration Args - Schedule configuration.
- scheduled_
query_ strexecution_ role_ arn - The ARN for the IAM role that Timestream will assume when running the scheduled query.
- client_
token str - Using a ClientToken makes the call to CreateScheduledQuery idempotent, in other words, making the same request repeatedly will produce the same result. Making multiple identical CreateScheduledQuery requests has the same effect as making a single request.
- If CreateScheduledQuery is called without a
ClientToken
, the Query SDK generates aClientToken
on your behalf. - After 8 hours, any request with the same
ClientToken
is treated as a new request.
- If CreateScheduledQuery is called without a
- kms_
key_ strid The Amazon KMS key used to encrypt the scheduled query resource, at-rest. If the Amazon KMS key is not specified, the scheduled query resource will be encrypted with a Timestream owned Amazon KMS key. To specify a KMS key, use the key ID, key ARN, alias name, or alias ARN. When using an alias name, prefix the name with alias/
If ErrorReportConfiguration uses
SSE_KMS
as encryption type, the same KmsKeyId is used to encrypt the error report at rest.- scheduled_
query_ strname - A name for the query. Scheduled query names must be unique within each Region.
- Sequence[Tag
Args] - A list of key-value pairs to label the scheduled query.
- target_
configuration ScheduledQuery Target Configuration Args - Scheduled query target store configuration.
- error
Report Property MapConfiguration - Configuration for error reporting. Error reports will be generated when a problem is encountered when writing the query results.
- notification
Configuration Property Map - Notification configuration for the scheduled query. A notification is sent by Timestream when a query run finishes, when the state is updated or when you delete it.
- query
String String The query string to run. Parameter names can be specified in the query string
@
character followed by an identifier. The named Parameter@scheduled_runtime
is reserved and can be used in the query to get the time at which the query is scheduled to run.The timestamp calculated according to the ScheduleConfiguration parameter, will be the value of
@scheduled_runtime
paramater for each query run. For example, consider an instance of a scheduled query executing on 2021-12-01 00:00:00. For this instance, the@scheduled_runtime
parameter is initialized to the timestamp 2021-12-01 00:00:00 when invoking the query.- schedule
Configuration Property Map - Schedule configuration.
- scheduled
Query StringExecution Role Arn - The ARN for the IAM role that Timestream will assume when running the scheduled query.
- client
Token String - Using a ClientToken makes the call to CreateScheduledQuery idempotent, in other words, making the same request repeatedly will produce the same result. Making multiple identical CreateScheduledQuery requests has the same effect as making a single request.
- If CreateScheduledQuery is called without a
ClientToken
, the Query SDK generates aClientToken
on your behalf. - After 8 hours, any request with the same
ClientToken
is treated as a new request.
- If CreateScheduledQuery is called without a
- kms
Key StringId The Amazon KMS key used to encrypt the scheduled query resource, at-rest. If the Amazon KMS key is not specified, the scheduled query resource will be encrypted with a Timestream owned Amazon KMS key. To specify a KMS key, use the key ID, key ARN, alias name, or alias ARN. When using an alias name, prefix the name with alias/
If ErrorReportConfiguration uses
SSE_KMS
as encryption type, the same KmsKeyId is used to encrypt the error report at rest.- scheduled
Query StringName - A name for the query. Scheduled query names must be unique within each Region.
- List<Property Map>
- A list of key-value pairs to label the scheduled query.
- target
Configuration Property Map - Scheduled query target store configuration.
Outputs
All input properties are implicitly available as output properties. Additionally, the ScheduledQuery resource produces the following output properties:
- Arn string
- The
ARN
of the scheduled query. - Id string
- The provider-assigned unique ID for this managed resource.
- Sq
Error stringReport Configuration - Configuration for error reporting. Error reports will be generated when a problem is encountered when writing the query results.
- Sq
Kms stringKey Id - The Amazon KMS key used to encrypt the scheduled query resource, at-rest. If the Amazon KMS key is not specified, the scheduled query resource will be encrypted with a Timestream owned Amazon KMS key. To specify a KMS key, use the key ID, key ARN, alias name, or alias ARN. When using an alias name, prefix the name with alias/. If ErrorReportConfiguration uses SSE_KMS as encryption type, the same KmsKeyId is used to encrypt the error report at rest.
- Sq
Name string - The name of the scheduled query. Scheduled query names must be unique within each Region.
- Sq
Notification stringConfiguration - Notification configuration for the scheduled query. A notification is sent by Timestream when a query run finishes, when the state is updated or when you delete it.
- Sq
Query stringString - The query string to run. Parameter names can be specified in the query string @ character followed by an identifier. The named Parameter @scheduled_runtime is reserved and can be used in the query to get the time at which the query is scheduled to run. The timestamp calculated according to the ScheduleConfiguration parameter, will be the value of @scheduled_runtime paramater for each query run. For example, consider an instance of a scheduled query executing on 2021-12-01 00:00:00. For this instance, the @scheduled_runtime parameter is initialized to the timestamp 2021-12-01 00:00:00 when invoking the query.
- Sq
Schedule stringConfiguration - Configuration for when the scheduled query is executed.
- Sq
Scheduled stringQuery Execution Role Arn - The ARN for the IAM role that Timestream will assume when running the scheduled query.
- Sq
Target stringConfiguration - Configuration of target store where scheduled query results are written to.
- Arn string
- The
ARN
of the scheduled query. - Id string
- The provider-assigned unique ID for this managed resource.
- Sq
Error stringReport Configuration - Configuration for error reporting. Error reports will be generated when a problem is encountered when writing the query results.
- Sq
Kms stringKey Id - The Amazon KMS key used to encrypt the scheduled query resource, at-rest. If the Amazon KMS key is not specified, the scheduled query resource will be encrypted with a Timestream owned Amazon KMS key. To specify a KMS key, use the key ID, key ARN, alias name, or alias ARN. When using an alias name, prefix the name with alias/. If ErrorReportConfiguration uses SSE_KMS as encryption type, the same KmsKeyId is used to encrypt the error report at rest.
- Sq
Name string - The name of the scheduled query. Scheduled query names must be unique within each Region.
- Sq
Notification stringConfiguration - Notification configuration for the scheduled query. A notification is sent by Timestream when a query run finishes, when the state is updated or when you delete it.
- Sq
Query stringString - The query string to run. Parameter names can be specified in the query string @ character followed by an identifier. The named Parameter @scheduled_runtime is reserved and can be used in the query to get the time at which the query is scheduled to run. The timestamp calculated according to the ScheduleConfiguration parameter, will be the value of @scheduled_runtime paramater for each query run. For example, consider an instance of a scheduled query executing on 2021-12-01 00:00:00. For this instance, the @scheduled_runtime parameter is initialized to the timestamp 2021-12-01 00:00:00 when invoking the query.
- Sq
Schedule stringConfiguration - Configuration for when the scheduled query is executed.
- Sq
Scheduled stringQuery Execution Role Arn - The ARN for the IAM role that Timestream will assume when running the scheduled query.
- Sq
Target stringConfiguration - Configuration of target store where scheduled query results are written to.
- arn String
- The
ARN
of the scheduled query. - id String
- The provider-assigned unique ID for this managed resource.
- sq
Error StringReport Configuration - Configuration for error reporting. Error reports will be generated when a problem is encountered when writing the query results.
- sq
Kms StringKey Id - The Amazon KMS key used to encrypt the scheduled query resource, at-rest. If the Amazon KMS key is not specified, the scheduled query resource will be encrypted with a Timestream owned Amazon KMS key. To specify a KMS key, use the key ID, key ARN, alias name, or alias ARN. When using an alias name, prefix the name with alias/. If ErrorReportConfiguration uses SSE_KMS as encryption type, the same KmsKeyId is used to encrypt the error report at rest.
- sq
Name String - The name of the scheduled query. Scheduled query names must be unique within each Region.
- sq
Notification StringConfiguration - Notification configuration for the scheduled query. A notification is sent by Timestream when a query run finishes, when the state is updated or when you delete it.
- sq
Query StringString - The query string to run. Parameter names can be specified in the query string @ character followed by an identifier. The named Parameter @scheduled_runtime is reserved and can be used in the query to get the time at which the query is scheduled to run. The timestamp calculated according to the ScheduleConfiguration parameter, will be the value of @scheduled_runtime paramater for each query run. For example, consider an instance of a scheduled query executing on 2021-12-01 00:00:00. For this instance, the @scheduled_runtime parameter is initialized to the timestamp 2021-12-01 00:00:00 when invoking the query.
- sq
Schedule StringConfiguration - Configuration for when the scheduled query is executed.
- sq
Scheduled StringQuery Execution Role Arn - The ARN for the IAM role that Timestream will assume when running the scheduled query.
- sq
Target StringConfiguration - Configuration of target store where scheduled query results are written to.
- arn string
- The
ARN
of the scheduled query. - id string
- The provider-assigned unique ID for this managed resource.
- sq
Error stringReport Configuration - Configuration for error reporting. Error reports will be generated when a problem is encountered when writing the query results.
- sq
Kms stringKey Id - The Amazon KMS key used to encrypt the scheduled query resource, at-rest. If the Amazon KMS key is not specified, the scheduled query resource will be encrypted with a Timestream owned Amazon KMS key. To specify a KMS key, use the key ID, key ARN, alias name, or alias ARN. When using an alias name, prefix the name with alias/. If ErrorReportConfiguration uses SSE_KMS as encryption type, the same KmsKeyId is used to encrypt the error report at rest.
- sq
Name string - The name of the scheduled query. Scheduled query names must be unique within each Region.
- sq
Notification stringConfiguration - Notification configuration for the scheduled query. A notification is sent by Timestream when a query run finishes, when the state is updated or when you delete it.
- sq
Query stringString - The query string to run. Parameter names can be specified in the query string @ character followed by an identifier. The named Parameter @scheduled_runtime is reserved and can be used in the query to get the time at which the query is scheduled to run. The timestamp calculated according to the ScheduleConfiguration parameter, will be the value of @scheduled_runtime paramater for each query run. For example, consider an instance of a scheduled query executing on 2021-12-01 00:00:00. For this instance, the @scheduled_runtime parameter is initialized to the timestamp 2021-12-01 00:00:00 when invoking the query.
- sq
Schedule stringConfiguration - Configuration for when the scheduled query is executed.
- sq
Scheduled stringQuery Execution Role Arn - The ARN for the IAM role that Timestream will assume when running the scheduled query.
- sq
Target stringConfiguration - Configuration of target store where scheduled query results are written to.
- arn str
- The
ARN
of the scheduled query. - id str
- The provider-assigned unique ID for this managed resource.
- sq_
error_ strreport_ configuration - Configuration for error reporting. Error reports will be generated when a problem is encountered when writing the query results.
- sq_
kms_ strkey_ id - The Amazon KMS key used to encrypt the scheduled query resource, at-rest. If the Amazon KMS key is not specified, the scheduled query resource will be encrypted with a Timestream owned Amazon KMS key. To specify a KMS key, use the key ID, key ARN, alias name, or alias ARN. When using an alias name, prefix the name with alias/. If ErrorReportConfiguration uses SSE_KMS as encryption type, the same KmsKeyId is used to encrypt the error report at rest.
- sq_
name str - The name of the scheduled query. Scheduled query names must be unique within each Region.
- sq_
notification_ strconfiguration - Notification configuration for the scheduled query. A notification is sent by Timestream when a query run finishes, when the state is updated or when you delete it.
- sq_
query_ strstring - The query string to run. Parameter names can be specified in the query string @ character followed by an identifier. The named Parameter @scheduled_runtime is reserved and can be used in the query to get the time at which the query is scheduled to run. The timestamp calculated according to the ScheduleConfiguration parameter, will be the value of @scheduled_runtime paramater for each query run. For example, consider an instance of a scheduled query executing on 2021-12-01 00:00:00. For this instance, the @scheduled_runtime parameter is initialized to the timestamp 2021-12-01 00:00:00 when invoking the query.
- sq_
schedule_ strconfiguration - Configuration for when the scheduled query is executed.
- sq_
scheduled_ strquery_ execution_ role_ arn - The ARN for the IAM role that Timestream will assume when running the scheduled query.
- sq_
target_ strconfiguration - Configuration of target store where scheduled query results are written to.
- arn String
- The
ARN
of the scheduled query. - id String
- The provider-assigned unique ID for this managed resource.
- sq
Error StringReport Configuration - Configuration for error reporting. Error reports will be generated when a problem is encountered when writing the query results.
- sq
Kms StringKey Id - The Amazon KMS key used to encrypt the scheduled query resource, at-rest. If the Amazon KMS key is not specified, the scheduled query resource will be encrypted with a Timestream owned Amazon KMS key. To specify a KMS key, use the key ID, key ARN, alias name, or alias ARN. When using an alias name, prefix the name with alias/. If ErrorReportConfiguration uses SSE_KMS as encryption type, the same KmsKeyId is used to encrypt the error report at rest.
- sq
Name String - The name of the scheduled query. Scheduled query names must be unique within each Region.
- sq
Notification StringConfiguration - Notification configuration for the scheduled query. A notification is sent by Timestream when a query run finishes, when the state is updated or when you delete it.
- sq
Query StringString - The query string to run. Parameter names can be specified in the query string @ character followed by an identifier. The named Parameter @scheduled_runtime is reserved and can be used in the query to get the time at which the query is scheduled to run. The timestamp calculated according to the ScheduleConfiguration parameter, will be the value of @scheduled_runtime paramater for each query run. For example, consider an instance of a scheduled query executing on 2021-12-01 00:00:00. For this instance, the @scheduled_runtime parameter is initialized to the timestamp 2021-12-01 00:00:00 when invoking the query.
- sq
Schedule StringConfiguration - Configuration for when the scheduled query is executed.
- sq
Scheduled StringQuery Execution Role Arn - The ARN for the IAM role that Timestream will assume when running the scheduled query.
- sq
Target StringConfiguration - Configuration of target store where scheduled query results are written to.
Supporting Types
ScheduledQueryDimensionMapping, ScheduledQueryDimensionMappingArgs
- dimension
Value "VARCHAR"Type - name String
ScheduledQueryDimensionValueType, ScheduledQueryDimensionValueTypeArgs
- Varchar
- VARCHAR
- Scheduled
Query Dimension Value Type Varchar - VARCHAR
- Varchar
- VARCHAR
- Varchar
- VARCHAR
- VARCHAR
- VARCHAR
- "VARCHAR"
- VARCHAR
ScheduledQueryEncryptionOption, ScheduledQueryEncryptionOptionArgs
- Sse
S3 - SSE_S3
- Sse
Kms - SSE_KMS
- Scheduled
Query Encryption Option Sse S3 - SSE_S3
- Scheduled
Query Encryption Option Sse Kms - SSE_KMS
- Sse
S3 - SSE_S3
- Sse
Kms - SSE_KMS
- Sse
S3 - SSE_S3
- Sse
Kms - SSE_KMS
- SSE_S3
- SSE_S3
- SSE_KMS
- SSE_KMS
- "SSE_S3"
- SSE_S3
- "SSE_KMS"
- SSE_KMS
ScheduledQueryErrorReportConfiguration, ScheduledQueryErrorReportConfigurationArgs
- S3Configuration
Pulumi.
Aws Native. Timestream. Inputs. Scheduled Query S3Configuration - The S3 configuration for the error reports.
- S3Configuration
Scheduled
Query S3Configuration - The S3 configuration for the error reports.
- s3Configuration
Scheduled
Query S3Configuration - The S3 configuration for the error reports.
- s3Configuration
Scheduled
Query S3Configuration - The S3 configuration for the error reports.
- s3_
configuration ScheduledQuery S3Configuration - The S3 configuration for the error reports.
- s3Configuration Property Map
- The S3 configuration for the error reports.
ScheduledQueryMixedMeasureMapping, ScheduledQueryMixedMeasureMappingArgs
ScheduledQueryMixedMeasureMappingMeasureValueType, ScheduledQueryMixedMeasureMappingMeasureValueTypeArgs
- Bigint
- BIGINT
- Boolean
- BOOLEAN
- Double
- DOUBLE
- Varchar
- VARCHAR
- Multi
- MULTI
- Scheduled
Query Mixed Measure Mapping Measure Value Type Bigint - BIGINT
- Scheduled
Query Mixed Measure Mapping Measure Value Type Boolean - BOOLEAN
- Scheduled
Query Mixed Measure Mapping Measure Value Type Double - DOUBLE
- Scheduled
Query Mixed Measure Mapping Measure Value Type Varchar - VARCHAR
- Scheduled
Query Mixed Measure Mapping Measure Value Type Multi - MULTI
- Bigint
- BIGINT
- Boolean
- BOOLEAN
- Double
- DOUBLE
- Varchar
- VARCHAR
- Multi
- MULTI
- Bigint
- BIGINT
- Boolean
- BOOLEAN
- Double
- DOUBLE
- Varchar
- VARCHAR
- Multi
- MULTI
- BIGINT
- BIGINT
- BOOLEAN
- BOOLEAN
- DOUBLE
- DOUBLE
- VARCHAR
- VARCHAR
- MULTI
- MULTI
- "BIGINT"
- BIGINT
- "BOOLEAN"
- BOOLEAN
- "DOUBLE"
- DOUBLE
- "VARCHAR"
- VARCHAR
- "MULTI"
- MULTI
ScheduledQueryMultiMeasureAttributeMapping, ScheduledQueryMultiMeasureAttributeMappingArgs
ScheduledQueryMultiMeasureAttributeMappingMeasureValueType, ScheduledQueryMultiMeasureAttributeMappingMeasureValueTypeArgs
- Bigint
- BIGINT
- Boolean
- BOOLEAN
- Double
- DOUBLE
- Varchar
- VARCHAR
- Timestamp
- TIMESTAMP
- Scheduled
Query Multi Measure Attribute Mapping Measure Value Type Bigint - BIGINT
- Scheduled
Query Multi Measure Attribute Mapping Measure Value Type Boolean - BOOLEAN
- Scheduled
Query Multi Measure Attribute Mapping Measure Value Type Double - DOUBLE
- Scheduled
Query Multi Measure Attribute Mapping Measure Value Type Varchar - VARCHAR
- Scheduled
Query Multi Measure Attribute Mapping Measure Value Type Timestamp - TIMESTAMP
- Bigint
- BIGINT
- Boolean
- BOOLEAN
- Double
- DOUBLE
- Varchar
- VARCHAR
- Timestamp
- TIMESTAMP
- Bigint
- BIGINT
- Boolean
- BOOLEAN
- Double
- DOUBLE
- Varchar
- VARCHAR
- Timestamp
- TIMESTAMP
- BIGINT
- BIGINT
- BOOLEAN
- BOOLEAN
- DOUBLE
- DOUBLE
- VARCHAR
- VARCHAR
- TIMESTAMP
- TIMESTAMP
- "BIGINT"
- BIGINT
- "BOOLEAN"
- BOOLEAN
- "DOUBLE"
- DOUBLE
- "VARCHAR"
- VARCHAR
- "TIMESTAMP"
- TIMESTAMP
ScheduledQueryMultiMeasureMappings, ScheduledQueryMultiMeasureMappingsArgs
- Multi
Measure List<Pulumi.Attribute Mappings Aws Native. Timestream. Inputs. Scheduled Query Multi Measure Attribute Mapping> - Required. Attribute mappings to be used for mapping query results to ingest data for multi-measure attributes.
- Target
Multi stringMeasure Name - The name of the target multi-measure name in the derived table. This input is required when measureNameColumn is not provided. If MeasureNameColumn is provided, then value from that column will be used as multi-measure name.
- Multi
Measure []ScheduledAttribute Mappings Query Multi Measure Attribute Mapping - Required. Attribute mappings to be used for mapping query results to ingest data for multi-measure attributes.
- Target
Multi stringMeasure Name - The name of the target multi-measure name in the derived table. This input is required when measureNameColumn is not provided. If MeasureNameColumn is provided, then value from that column will be used as multi-measure name.
- multi
Measure List<ScheduledAttribute Mappings Query Multi Measure Attribute Mapping> - Required. Attribute mappings to be used for mapping query results to ingest data for multi-measure attributes.
- target
Multi StringMeasure Name - The name of the target multi-measure name in the derived table. This input is required when measureNameColumn is not provided. If MeasureNameColumn is provided, then value from that column will be used as multi-measure name.
- multi
Measure ScheduledAttribute Mappings Query Multi Measure Attribute Mapping[] - Required. Attribute mappings to be used for mapping query results to ingest data for multi-measure attributes.
- target
Multi stringMeasure Name - The name of the target multi-measure name in the derived table. This input is required when measureNameColumn is not provided. If MeasureNameColumn is provided, then value from that column will be used as multi-measure name.
- multi_
measure_ Sequence[Scheduledattribute_ mappings Query Multi Measure Attribute Mapping] - Required. Attribute mappings to be used for mapping query results to ingest data for multi-measure attributes.
- target_
multi_ strmeasure_ name - The name of the target multi-measure name in the derived table. This input is required when measureNameColumn is not provided. If MeasureNameColumn is provided, then value from that column will be used as multi-measure name.
- multi
Measure List<Property Map>Attribute Mappings - Required. Attribute mappings to be used for mapping query results to ingest data for multi-measure attributes.
- target
Multi StringMeasure Name - The name of the target multi-measure name in the derived table. This input is required when measureNameColumn is not provided. If MeasureNameColumn is provided, then value from that column will be used as multi-measure name.
ScheduledQueryNotificationConfiguration, ScheduledQueryNotificationConfigurationArgs
- Sns
Configuration Pulumi.Aws Native. Timestream. Inputs. Scheduled Query Sns Configuration - Details on SNS configuration.
- Sns
Configuration ScheduledQuery Sns Configuration - Details on SNS configuration.
- sns
Configuration ScheduledQuery Sns Configuration - Details on SNS configuration.
- sns
Configuration ScheduledQuery Sns Configuration - Details on SNS configuration.
- sns_
configuration ScheduledQuery Sns Configuration - Details on SNS configuration.
- sns
Configuration Property Map - Details on SNS configuration.
ScheduledQueryS3Configuration, ScheduledQueryS3ConfigurationArgs
- Bucket
Name string - Name of the S3 bucket under which error reports will be created.
- Encryption
Option Pulumi.Aws Native. Timestream. Scheduled Query Encryption Option - Encryption at rest options for the error reports. If no encryption option is specified, Timestream will choose SSE_S3 as default.
- Object
Key stringPrefix - Prefix for the error report key. Timestream by default adds the following prefix to the error report path.
- Bucket
Name string - Name of the S3 bucket under which error reports will be created.
- Encryption
Option ScheduledQuery Encryption Option - Encryption at rest options for the error reports. If no encryption option is specified, Timestream will choose SSE_S3 as default.
- Object
Key stringPrefix - Prefix for the error report key. Timestream by default adds the following prefix to the error report path.
- bucket
Name String - Name of the S3 bucket under which error reports will be created.
- encryption
Option ScheduledQuery Encryption Option - Encryption at rest options for the error reports. If no encryption option is specified, Timestream will choose SSE_S3 as default.
- object
Key StringPrefix - Prefix for the error report key. Timestream by default adds the following prefix to the error report path.
- bucket
Name string - Name of the S3 bucket under which error reports will be created.
- encryption
Option ScheduledQuery Encryption Option - Encryption at rest options for the error reports. If no encryption option is specified, Timestream will choose SSE_S3 as default.
- object
Key stringPrefix - Prefix for the error report key. Timestream by default adds the following prefix to the error report path.
- bucket_
name str - Name of the S3 bucket under which error reports will be created.
- encryption_
option ScheduledQuery Encryption Option - Encryption at rest options for the error reports. If no encryption option is specified, Timestream will choose SSE_S3 as default.
- object_
key_ strprefix - Prefix for the error report key. Timestream by default adds the following prefix to the error report path.
- bucket
Name String - Name of the S3 bucket under which error reports will be created.
- encryption
Option "SSE_S3" | "SSE_KMS" - Encryption at rest options for the error reports. If no encryption option is specified, Timestream will choose SSE_S3 as default.
- object
Key StringPrefix - Prefix for the error report key. Timestream by default adds the following prefix to the error report path.
ScheduledQueryScheduleConfiguration, ScheduledQueryScheduleConfigurationArgs
- Schedule
Expression string - An expression that denotes when to trigger the scheduled query run. This can be a cron expression or a rate expression.
- Schedule
Expression string - An expression that denotes when to trigger the scheduled query run. This can be a cron expression or a rate expression.
- schedule
Expression String - An expression that denotes when to trigger the scheduled query run. This can be a cron expression or a rate expression.
- schedule
Expression string - An expression that denotes when to trigger the scheduled query run. This can be a cron expression or a rate expression.
- schedule_
expression str - An expression that denotes when to trigger the scheduled query run. This can be a cron expression or a rate expression.
- schedule
Expression String - An expression that denotes when to trigger the scheduled query run. This can be a cron expression or a rate expression.
ScheduledQuerySnsConfiguration, ScheduledQuerySnsConfigurationArgs
- Topic
Arn string - SNS topic ARN that the scheduled query status notifications will be sent to.
- Topic
Arn string - SNS topic ARN that the scheduled query status notifications will be sent to.
- topic
Arn String - SNS topic ARN that the scheduled query status notifications will be sent to.
- topic
Arn string - SNS topic ARN that the scheduled query status notifications will be sent to.
- topic_
arn str - SNS topic ARN that the scheduled query status notifications will be sent to.
- topic
Arn String - SNS topic ARN that the scheduled query status notifications will be sent to.
ScheduledQueryTargetConfiguration, ScheduledQueryTargetConfigurationArgs
- Timestream
Configuration Pulumi.Aws Native. Timestream. Inputs. Scheduled Query Timestream Configuration - Configuration needed to write data into the Timestream database and table.
- Timestream
Configuration ScheduledQuery Timestream Configuration - Configuration needed to write data into the Timestream database and table.
- timestream
Configuration ScheduledQuery Timestream Configuration - Configuration needed to write data into the Timestream database and table.
- timestream
Configuration ScheduledQuery Timestream Configuration - Configuration needed to write data into the Timestream database and table.
- timestream_
configuration ScheduledQuery Timestream Configuration - Configuration needed to write data into the Timestream database and table.
- timestream
Configuration Property Map - Configuration needed to write data into the Timestream database and table.
ScheduledQueryTimestreamConfiguration, ScheduledQueryTimestreamConfigurationArgs
- Database
Name string - Name of Timestream database to which the query result will be written.
- Dimension
Mappings List<Pulumi.Aws Native. Timestream. Inputs. Scheduled Query Dimension Mapping> - This is to allow mapping column(s) from the query result to the dimension in the destination table.
- Table
Name string - Name of Timestream table that the query result will be written to. The table should be within the same database that is provided in Timestream configuration.
- Time
Column string - Column from query result that should be used as the time column in destination table. Column type for this should be TIMESTAMP.
- Measure
Name stringColumn - Name of the measure column. Also see
MultiMeasureMappings
andMixedMeasureMappings
for how measure name properties on those relate toMeasureNameColumn
. - Mixed
Measure List<Pulumi.Mappings Aws Native. Timestream. Inputs. Scheduled Query Mixed Measure Mapping> - Specifies how to map measures to multi-measure records.
- Multi
Measure Pulumi.Mappings Aws Native. Timestream. Inputs. Scheduled Query Multi Measure Mappings - Multi-measure mappings.
- Database
Name string - Name of Timestream database to which the query result will be written.
- Dimension
Mappings []ScheduledQuery Dimension Mapping - This is to allow mapping column(s) from the query result to the dimension in the destination table.
- Table
Name string - Name of Timestream table that the query result will be written to. The table should be within the same database that is provided in Timestream configuration.
- Time
Column string - Column from query result that should be used as the time column in destination table. Column type for this should be TIMESTAMP.
- Measure
Name stringColumn - Name of the measure column. Also see
MultiMeasureMappings
andMixedMeasureMappings
for how measure name properties on those relate toMeasureNameColumn
. - Mixed
Measure []ScheduledMappings Query Mixed Measure Mapping - Specifies how to map measures to multi-measure records.
- Multi
Measure ScheduledMappings Query Multi Measure Mappings - Multi-measure mappings.
- database
Name String - Name of Timestream database to which the query result will be written.
- dimension
Mappings List<ScheduledQuery Dimension Mapping> - This is to allow mapping column(s) from the query result to the dimension in the destination table.
- table
Name String - Name of Timestream table that the query result will be written to. The table should be within the same database that is provided in Timestream configuration.
- time
Column String - Column from query result that should be used as the time column in destination table. Column type for this should be TIMESTAMP.
- measure
Name StringColumn - Name of the measure column. Also see
MultiMeasureMappings
andMixedMeasureMappings
for how measure name properties on those relate toMeasureNameColumn
. - mixed
Measure List<ScheduledMappings Query Mixed Measure Mapping> - Specifies how to map measures to multi-measure records.
- multi
Measure ScheduledMappings Query Multi Measure Mappings - Multi-measure mappings.
- database
Name string - Name of Timestream database to which the query result will be written.
- dimension
Mappings ScheduledQuery Dimension Mapping[] - This is to allow mapping column(s) from the query result to the dimension in the destination table.
- table
Name string - Name of Timestream table that the query result will be written to. The table should be within the same database that is provided in Timestream configuration.
- time
Column string - Column from query result that should be used as the time column in destination table. Column type for this should be TIMESTAMP.
- measure
Name stringColumn - Name of the measure column. Also see
MultiMeasureMappings
andMixedMeasureMappings
for how measure name properties on those relate toMeasureNameColumn
. - mixed
Measure ScheduledMappings Query Mixed Measure Mapping[] - Specifies how to map measures to multi-measure records.
- multi
Measure ScheduledMappings Query Multi Measure Mappings - Multi-measure mappings.
- database_
name str - Name of Timestream database to which the query result will be written.
- dimension_
mappings Sequence[ScheduledQuery Dimension Mapping] - This is to allow mapping column(s) from the query result to the dimension in the destination table.
- table_
name str - Name of Timestream table that the query result will be written to. The table should be within the same database that is provided in Timestream configuration.
- time_
column str - Column from query result that should be used as the time column in destination table. Column type for this should be TIMESTAMP.
- measure_
name_ strcolumn - Name of the measure column. Also see
MultiMeasureMappings
andMixedMeasureMappings
for how measure name properties on those relate toMeasureNameColumn
. - mixed_
measure_ Sequence[Scheduledmappings Query Mixed Measure Mapping] - Specifies how to map measures to multi-measure records.
- multi_
measure_ Scheduledmappings Query Multi Measure Mappings - Multi-measure mappings.
- database
Name String - Name of Timestream database to which the query result will be written.
- dimension
Mappings List<Property Map> - This is to allow mapping column(s) from the query result to the dimension in the destination table.
- table
Name String - Name of Timestream table that the query result will be written to. The table should be within the same database that is provided in Timestream configuration.
- time
Column String - Column from query result that should be used as the time column in destination table. Column type for this should be TIMESTAMP.
- measure
Name StringColumn - Name of the measure column. Also see
MultiMeasureMappings
andMixedMeasureMappings
for how measure name properties on those relate toMeasureNameColumn
. - mixed
Measure List<Property Map>Mappings - Specifies how to map measures to multi-measure records.
- multi
Measure Property MapMappings - Multi-measure mappings.
Tag, TagArgs
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.