We recommend new projects start with resources from the AWS provider.
AWS Cloud Control v1.9.0 published on Monday, Nov 18, 2024 by Pulumi
aws-native.timestream.getScheduledQuery
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
AWS Cloud Control v1.9.0 published on Monday, Nov 18, 2024 by Pulumi
The AWS::Timestream::ScheduledQuery resource creates a Timestream Scheduled Query.
Using getScheduledQuery
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getScheduledQuery(args: GetScheduledQueryArgs, opts?: InvokeOptions): Promise<GetScheduledQueryResult>
function getScheduledQueryOutput(args: GetScheduledQueryOutputArgs, opts?: InvokeOptions): Output<GetScheduledQueryResult>
def get_scheduled_query(arn: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetScheduledQueryResult
def get_scheduled_query_output(arn: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetScheduledQueryResult]
func LookupScheduledQuery(ctx *Context, args *LookupScheduledQueryArgs, opts ...InvokeOption) (*LookupScheduledQueryResult, error)
func LookupScheduledQueryOutput(ctx *Context, args *LookupScheduledQueryOutputArgs, opts ...InvokeOption) LookupScheduledQueryResultOutput
> Note: This function is named LookupScheduledQuery
in the Go SDK.
public static class GetScheduledQuery
{
public static Task<GetScheduledQueryResult> InvokeAsync(GetScheduledQueryArgs args, InvokeOptions? opts = null)
public static Output<GetScheduledQueryResult> Invoke(GetScheduledQueryInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetScheduledQueryResult> getScheduledQuery(GetScheduledQueryArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: aws-native:timestream:getScheduledQuery
arguments:
# arguments dictionary
The following arguments are supported:
- Arn string
- The
ARN
of the scheduled query.
- Arn string
- The
ARN
of the scheduled query.
- arn String
- The
ARN
of the scheduled query.
- arn string
- The
ARN
of the scheduled query.
- arn str
- The
ARN
of the scheduled query.
- arn String
- The
ARN
of the scheduled query.
getScheduledQuery Result
The following output properties are available:
- Arn string
- The
ARN
of the scheduled query. - 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.
- List<Pulumi.
Aws Native. Outputs. Tag> - A list of key-value pairs to label the scheduled query.
- Arn string
- The
ARN
of the scheduled query. - 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.
- Tag
- A list of key-value pairs to label the scheduled query.
- arn String
- The
ARN
of the scheduled query. - 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.
- List<Tag>
- A list of key-value pairs to label the scheduled query.
- arn string
- The
ARN
of the scheduled query. - 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.
- Tag[]
- A list of key-value pairs to label the scheduled query.
- arn str
- The
ARN
of the scheduled query. - 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.
- Sequence[root_Tag]
- A list of key-value pairs to label the scheduled query.
- arn String
- The
ARN
of the scheduled query. - 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.
- List<Property Map>
- A list of key-value pairs to label the scheduled query.
Supporting Types
Tag
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.
AWS Cloud Control v1.9.0 published on Monday, Nov 18, 2024 by Pulumi