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:
- ErrorReport 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.
- NotificationConfiguration 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.
- QueryString string
- The query string to run. Parameter names can be specified in the query string - @character followed by an identifier. The named Parameter- @scheduled_runtimeis 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_runtimeparamater 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_runtimeparameter is initialized to the timestamp 2021-12-01 00:00:00 when invoking the query.
- ScheduleConfiguration Pulumi.Aws Native. Timestream. Inputs. Scheduled Query Schedule Configuration 
- Schedule configuration.
- ScheduledQuery stringExecution Role Arn 
- The ARN for the IAM role that Timestream will assume when running the scheduled query.
- ClientToken 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 aClientTokenon your behalf.
- After 8 hours, any request with the same ClientTokenis treated as a new request.
 
- If CreateScheduledQuery is called without a 
- KmsKey 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_KMSas encryption type, the same KmsKeyId is used to encrypt the error report at rest.
- ScheduledQuery 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.
- TargetConfiguration Pulumi.Aws Native. Timestream. Inputs. Scheduled Query Target Configuration 
- Scheduled query target store configuration.
- ErrorReport 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.
- NotificationConfiguration 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.
- QueryString string
- The query string to run. Parameter names can be specified in the query string - @character followed by an identifier. The named Parameter- @scheduled_runtimeis 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_runtimeparamater 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_runtimeparameter is initialized to the timestamp 2021-12-01 00:00:00 when invoking the query.
- ScheduleConfiguration ScheduledQuery Schedule Configuration Args 
- Schedule configuration.
- ScheduledQuery stringExecution Role Arn 
- The ARN for the IAM role that Timestream will assume when running the scheduled query.
- ClientToken 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 aClientTokenon your behalf.
- After 8 hours, any request with the same ClientTokenis treated as a new request.
 
- If CreateScheduledQuery is called without a 
- KmsKey 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_KMSas encryption type, the same KmsKeyId is used to encrypt the error report at rest.
- ScheduledQuery stringName 
- A name for the query. Scheduled query names must be unique within each Region.
- 
TagArgs 
- A list of key-value pairs to label the scheduled query.
- TargetConfiguration ScheduledQuery Target Configuration Args 
- Scheduled query target store configuration.
- errorReport ScheduledConfiguration Query Error Report Configuration 
- Configuration for error reporting. Error reports will be generated when a problem is encountered when writing the query results.
- notificationConfiguration 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.
- queryString String
- The query string to run. Parameter names can be specified in the query string - @character followed by an identifier. The named Parameter- @scheduled_runtimeis 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_runtimeparamater 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_runtimeparameter is initialized to the timestamp 2021-12-01 00:00:00 when invoking the query.
- scheduleConfiguration ScheduledQuery Schedule Configuration 
- Schedule configuration.
- scheduledQuery StringExecution Role Arn 
- The ARN for the IAM role that Timestream will assume when running the scheduled query.
- clientToken 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 aClientTokenon your behalf.
- After 8 hours, any request with the same ClientTokenis treated as a new request.
 
- If CreateScheduledQuery is called without a 
- kmsKey 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_KMSas encryption type, the same KmsKeyId is used to encrypt the error report at rest.
- scheduledQuery 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.
- targetConfiguration ScheduledQuery Target Configuration 
- Scheduled query target store configuration.
- errorReport ScheduledConfiguration Query Error Report Configuration 
- Configuration for error reporting. Error reports will be generated when a problem is encountered when writing the query results.
- notificationConfiguration 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.
- queryString string
- The query string to run. Parameter names can be specified in the query string - @character followed by an identifier. The named Parameter- @scheduled_runtimeis 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_runtimeparamater 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_runtimeparameter is initialized to the timestamp 2021-12-01 00:00:00 when invoking the query.
- scheduleConfiguration ScheduledQuery Schedule Configuration 
- Schedule configuration.
- scheduledQuery stringExecution Role Arn 
- The ARN for the IAM role that Timestream will assume when running the scheduled query.
- clientToken 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 aClientTokenon your behalf.
- After 8 hours, any request with the same ClientTokenis treated as a new request.
 
- If CreateScheduledQuery is called without a 
- kmsKey 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_KMSas encryption type, the same KmsKeyId is used to encrypt the error report at rest.
- scheduledQuery 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.
- targetConfiguration 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_runtimeis 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_runtimeparamater 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_runtimeparameter 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 aClientTokenon your behalf.
- After 8 hours, any request with the same ClientTokenis 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_KMSas 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[TagArgs] 
- A list of key-value pairs to label the scheduled query.
- target_configuration ScheduledQuery Target Configuration Args 
- Scheduled query target store configuration.
- errorReport Property MapConfiguration 
- Configuration for error reporting. Error reports will be generated when a problem is encountered when writing the query results.
- notificationConfiguration 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.
- queryString String
- The query string to run. Parameter names can be specified in the query string - @character followed by an identifier. The named Parameter- @scheduled_runtimeis 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_runtimeparamater 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_runtimeparameter is initialized to the timestamp 2021-12-01 00:00:00 when invoking the query.
- scheduleConfiguration Property Map
- Schedule configuration.
- scheduledQuery StringExecution Role Arn 
- The ARN for the IAM role that Timestream will assume when running the scheduled query.
- clientToken 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 aClientTokenon your behalf.
- After 8 hours, any request with the same ClientTokenis treated as a new request.
 
- If CreateScheduledQuery is called without a 
- kmsKey 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_KMSas encryption type, the same KmsKeyId is used to encrypt the error report at rest.
- scheduledQuery 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.
- targetConfiguration 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 ARNof the scheduled query.
- Id string
- The provider-assigned unique ID for this managed resource.
- SqError stringReport Configuration 
- Configuration for error reporting. Error reports will be generated when a problem is encountered when writing the query results.
- SqKms 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.
- SqName string
- The name of the scheduled query. Scheduled query names must be unique within each Region.
- SqNotification 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.
- SqQuery 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.
- SqSchedule stringConfiguration 
- Configuration for when the scheduled query is executed.
- SqScheduled stringQuery Execution Role Arn 
- The ARN for the IAM role that Timestream will assume when running the scheduled query.
- SqTarget stringConfiguration 
- Configuration of target store where scheduled query results are written to.
- Arn string
- The ARNof the scheduled query.
- Id string
- The provider-assigned unique ID for this managed resource.
- SqError stringReport Configuration 
- Configuration for error reporting. Error reports will be generated when a problem is encountered when writing the query results.
- SqKms 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.
- SqName string
- The name of the scheduled query. Scheduled query names must be unique within each Region.
- SqNotification 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.
- SqQuery 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.
- SqSchedule stringConfiguration 
- Configuration for when the scheduled query is executed.
- SqScheduled stringQuery Execution Role Arn 
- The ARN for the IAM role that Timestream will assume when running the scheduled query.
- SqTarget stringConfiguration 
- Configuration of target store where scheduled query results are written to.
- arn String
- The ARNof the scheduled query.
- id String
- The provider-assigned unique ID for this managed resource.
- sqError StringReport Configuration 
- Configuration for error reporting. Error reports will be generated when a problem is encountered when writing the query results.
- sqKms 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.
- sqName String
- The name of the scheduled query. Scheduled query names must be unique within each Region.
- sqNotification 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.
- sqQuery 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.
- sqSchedule StringConfiguration 
- Configuration for when the scheduled query is executed.
- sqScheduled StringQuery Execution Role Arn 
- The ARN for the IAM role that Timestream will assume when running the scheduled query.
- sqTarget StringConfiguration 
- Configuration of target store where scheduled query results are written to.
- arn string
- The ARNof the scheduled query.
- id string
- The provider-assigned unique ID for this managed resource.
- sqError stringReport Configuration 
- Configuration for error reporting. Error reports will be generated when a problem is encountered when writing the query results.
- sqKms 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.
- sqName string
- The name of the scheduled query. Scheduled query names must be unique within each Region.
- sqNotification 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.
- sqQuery 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.
- sqSchedule stringConfiguration 
- Configuration for when the scheduled query is executed.
- sqScheduled stringQuery Execution Role Arn 
- The ARN for the IAM role that Timestream will assume when running the scheduled query.
- sqTarget stringConfiguration 
- Configuration of target store where scheduled query results are written to.
- arn str
- The ARNof 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 ARNof the scheduled query.
- id String
- The provider-assigned unique ID for this managed resource.
- sqError StringReport Configuration 
- Configuration for error reporting. Error reports will be generated when a problem is encountered when writing the query results.
- sqKms 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.
- sqName String
- The name of the scheduled query. Scheduled query names must be unique within each Region.
- sqNotification 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.
- sqQuery 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.
- sqSchedule StringConfiguration 
- Configuration for when the scheduled query is executed.
- sqScheduled StringQuery Execution Role Arn 
- The ARN for the IAM role that Timestream will assume when running the scheduled query.
- sqTarget StringConfiguration 
- Configuration of target store where scheduled query results are written to.
Supporting Types
ScheduledQueryDimensionMapping, ScheduledQueryDimensionMappingArgs        
- dimensionValue "VARCHAR"Type 
- name String
ScheduledQueryDimensionValueType, ScheduledQueryDimensionValueTypeArgs          
- Varchar
- VARCHAR
- ScheduledQuery Dimension Value Type Varchar 
- VARCHAR
- Varchar
- VARCHAR
- Varchar
- VARCHAR
- VARCHAR
- VARCHAR
- "VARCHAR"
- VARCHAR
ScheduledQueryEncryptionOption, ScheduledQueryEncryptionOptionArgs        
- SseS3 
- SSE_S3
- SseKms 
- SSE_KMS
- ScheduledQuery Encryption Option Sse S3 
- SSE_S3
- ScheduledQuery Encryption Option Sse Kms 
- SSE_KMS
- SseS3 
- SSE_S3
- SseKms 
- SSE_KMS
- SseS3 
- SSE_S3
- SseKms 
- 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
ScheduledQuery S3Configuration 
- The S3 configuration for the error reports.
- s3Configuration
ScheduledQuery S3Configuration 
- The S3 configuration for the error reports.
- s3Configuration
ScheduledQuery 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
- ScheduledQuery Mixed Measure Mapping Measure Value Type Bigint 
- BIGINT
- ScheduledQuery Mixed Measure Mapping Measure Value Type Boolean 
- BOOLEAN
- ScheduledQuery Mixed Measure Mapping Measure Value Type Double 
- DOUBLE
- ScheduledQuery Mixed Measure Mapping Measure Value Type Varchar 
- VARCHAR
- ScheduledQuery 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
- ScheduledQuery Multi Measure Attribute Mapping Measure Value Type Bigint 
- BIGINT
- ScheduledQuery Multi Measure Attribute Mapping Measure Value Type Boolean 
- BOOLEAN
- ScheduledQuery Multi Measure Attribute Mapping Measure Value Type Double 
- DOUBLE
- ScheduledQuery Multi Measure Attribute Mapping Measure Value Type Varchar 
- VARCHAR
- ScheduledQuery 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          
- MultiMeasure 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.
- TargetMulti 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.
- MultiMeasure []ScheduledAttribute Mappings Query Multi Measure Attribute Mapping 
- Required. Attribute mappings to be used for mapping query results to ingest data for multi-measure attributes.
- TargetMulti 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.
- multiMeasure 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.
- targetMulti 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.
- multiMeasure ScheduledAttribute Mappings Query Multi Measure Attribute Mapping[] 
- Required. Attribute mappings to be used for mapping query results to ingest data for multi-measure attributes.
- targetMulti 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.
- multiMeasure List<Property Map>Attribute Mappings 
- Required. Attribute mappings to be used for mapping query results to ingest data for multi-measure attributes.
- targetMulti 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        
- SnsConfiguration Pulumi.Aws Native. Timestream. Inputs. Scheduled Query Sns Configuration 
- Details on SNS configuration.
- SnsConfiguration ScheduledQuery Sns Configuration 
- Details on SNS configuration.
- snsConfiguration ScheduledQuery Sns Configuration 
- Details on SNS configuration.
- snsConfiguration ScheduledQuery Sns Configuration 
- Details on SNS configuration.
- sns_configuration ScheduledQuery Sns Configuration 
- Details on SNS configuration.
- snsConfiguration Property Map
- Details on SNS configuration.
ScheduledQueryS3Configuration, ScheduledQueryS3ConfigurationArgs      
- BucketName string
- Name of the S3 bucket under which error reports will be created.
- EncryptionOption 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.
- ObjectKey stringPrefix 
- Prefix for the error report key. Timestream by default adds the following prefix to the error report path.
- BucketName string
- Name of the S3 bucket under which error reports will be created.
- EncryptionOption ScheduledQuery Encryption Option 
- Encryption at rest options for the error reports. If no encryption option is specified, Timestream will choose SSE_S3 as default.
- ObjectKey stringPrefix 
- Prefix for the error report key. Timestream by default adds the following prefix to the error report path.
- bucketName String
- Name of the S3 bucket under which error reports will be created.
- encryptionOption ScheduledQuery Encryption Option 
- Encryption at rest options for the error reports. If no encryption option is specified, Timestream will choose SSE_S3 as default.
- objectKey StringPrefix 
- Prefix for the error report key. Timestream by default adds the following prefix to the error report path.
- bucketName string
- Name of the S3 bucket under which error reports will be created.
- encryptionOption ScheduledQuery Encryption Option 
- Encryption at rest options for the error reports. If no encryption option is specified, Timestream will choose SSE_S3 as default.
- objectKey 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.
- bucketName String
- Name of the S3 bucket under which error reports will be created.
- encryptionOption "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.
- objectKey StringPrefix 
- Prefix for the error report key. Timestream by default adds the following prefix to the error report path.
ScheduledQueryScheduleConfiguration, ScheduledQueryScheduleConfigurationArgs        
- ScheduleExpression string
- An expression that denotes when to trigger the scheduled query run. This can be a cron expression or a rate expression.
- ScheduleExpression string
- An expression that denotes when to trigger the scheduled query run. This can be a cron expression or a rate expression.
- scheduleExpression String
- An expression that denotes when to trigger the scheduled query run. This can be a cron expression or a rate expression.
- scheduleExpression 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.
- scheduleExpression String
- An expression that denotes when to trigger the scheduled query run. This can be a cron expression or a rate expression.
ScheduledQuerySnsConfiguration, ScheduledQuerySnsConfigurationArgs        
- TopicArn string
- SNS topic ARN that the scheduled query status notifications will be sent to.
- TopicArn string
- SNS topic ARN that the scheduled query status notifications will be sent to.
- topicArn String
- SNS topic ARN that the scheduled query status notifications will be sent to.
- topicArn 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.
- topicArn String
- SNS topic ARN that the scheduled query status notifications will be sent to.
ScheduledQueryTargetConfiguration, ScheduledQueryTargetConfigurationArgs        
- TimestreamConfiguration Pulumi.Aws Native. Timestream. Inputs. Scheduled Query Timestream Configuration 
- Configuration needed to write data into the Timestream database and table.
- TimestreamConfiguration ScheduledQuery Timestream Configuration 
- Configuration needed to write data into the Timestream database and table.
- timestreamConfiguration ScheduledQuery Timestream Configuration 
- Configuration needed to write data into the Timestream database and table.
- timestreamConfiguration 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.
- timestreamConfiguration Property Map
- Configuration needed to write data into the Timestream database and table.
ScheduledQueryTimestreamConfiguration, ScheduledQueryTimestreamConfigurationArgs        
- DatabaseName string
- Name of Timestream database to which the query result will be written.
- DimensionMappings 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.
- TableName 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.
- TimeColumn string
- Column from query result that should be used as the time column in destination table. Column type for this should be TIMESTAMP.
- MeasureName stringColumn 
- Name of the measure column. Also see MultiMeasureMappingsandMixedMeasureMappingsfor how measure name properties on those relate toMeasureNameColumn.
- MixedMeasure List<Pulumi.Mappings Aws Native. Timestream. Inputs. Scheduled Query Mixed Measure Mapping> 
- Specifies how to map measures to multi-measure records.
- MultiMeasure Pulumi.Mappings Aws Native. Timestream. Inputs. Scheduled Query Multi Measure Mappings 
- Multi-measure mappings.
- DatabaseName string
- Name of Timestream database to which the query result will be written.
- DimensionMappings []ScheduledQuery Dimension Mapping 
- This is to allow mapping column(s) from the query result to the dimension in the destination table.
- TableName 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.
- TimeColumn string
- Column from query result that should be used as the time column in destination table. Column type for this should be TIMESTAMP.
- MeasureName stringColumn 
- Name of the measure column. Also see MultiMeasureMappingsandMixedMeasureMappingsfor how measure name properties on those relate toMeasureNameColumn.
- MixedMeasure []ScheduledMappings Query Mixed Measure Mapping 
- Specifies how to map measures to multi-measure records.
- MultiMeasure ScheduledMappings Query Multi Measure Mappings 
- Multi-measure mappings.
- databaseName String
- Name of Timestream database to which the query result will be written.
- dimensionMappings List<ScheduledQuery Dimension Mapping> 
- This is to allow mapping column(s) from the query result to the dimension in the destination table.
- tableName 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.
- timeColumn String
- Column from query result that should be used as the time column in destination table. Column type for this should be TIMESTAMP.
- measureName StringColumn 
- Name of the measure column. Also see MultiMeasureMappingsandMixedMeasureMappingsfor how measure name properties on those relate toMeasureNameColumn.
- mixedMeasure List<ScheduledMappings Query Mixed Measure Mapping> 
- Specifies how to map measures to multi-measure records.
- multiMeasure ScheduledMappings Query Multi Measure Mappings 
- Multi-measure mappings.
- databaseName string
- Name of Timestream database to which the query result will be written.
- dimensionMappings ScheduledQuery Dimension Mapping[] 
- This is to allow mapping column(s) from the query result to the dimension in the destination table.
- tableName 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.
- timeColumn string
- Column from query result that should be used as the time column in destination table. Column type for this should be TIMESTAMP.
- measureName stringColumn 
- Name of the measure column. Also see MultiMeasureMappingsandMixedMeasureMappingsfor how measure name properties on those relate toMeasureNameColumn.
- mixedMeasure ScheduledMappings Query Mixed Measure Mapping[] 
- Specifies how to map measures to multi-measure records.
- multiMeasure 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 MultiMeasureMappingsandMixedMeasureMappingsfor 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.
- databaseName String
- Name of Timestream database to which the query result will be written.
- dimensionMappings List<Property Map>
- This is to allow mapping column(s) from the query result to the dimension in the destination table.
- tableName 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.
- timeColumn String
- Column from query result that should be used as the time column in destination table. Column type for this should be TIMESTAMP.
- measureName StringColumn 
- Name of the measure column. Also see MultiMeasureMappingsandMixedMeasureMappingsfor how measure name properties on those relate toMeasureNameColumn.
- mixedMeasure List<Property Map>Mappings 
- Specifies how to map measures to multi-measure records.
- multiMeasure 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.