UNPKG

@pulumi/aws-native

Version:

The Pulumi AWS Cloud Control Provider enables you to build, deploy, and manage [any AWS resource that's supported by the AWS Cloud Control API](https://github.com/pulumi/pulumi-aws-native/blob/master/provider/cmd/pulumi-gen-aws-native/supported-types.txt)

38 lines (37 loc) 1.78 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; import * as enums from "../types/enums"; /** * Creates a new Scheduled Query that allows you to define a Logs Insights query that will run on a schedule and configure actions to take with the query results. */ export declare function getScheduledQuery(args: GetScheduledQueryArgs, opts?: pulumi.InvokeOptions): Promise<GetScheduledQueryResult>; export interface GetScheduledQueryArgs { scheduledQueryArn: string; } export interface GetScheduledQueryResult { readonly creationTime?: number; readonly description?: string; readonly destinationConfiguration?: outputs.logs.ScheduledQueryDestinationConfiguration; readonly executionRoleArn?: string; readonly lastExecutionStatus?: enums.logs.ScheduledQueryLastExecutionStatus; readonly lastTriggeredTime?: number; readonly lastUpdatedTime?: number; readonly logGroupIdentifiers?: string[]; readonly queryLanguage?: string; readonly queryString?: string; readonly scheduleEndTime?: number; readonly scheduleExpression?: string; readonly scheduleStartTime?: number; readonly scheduledQueryArn?: string; readonly startTimeOffset?: number; readonly state?: enums.logs.ScheduledQueryState; readonly tags?: outputs.Tag[]; readonly timezone?: string; } /** * Creates a new Scheduled Query that allows you to define a Logs Insights query that will run on a schedule and configure actions to take with the query results. */ export declare function getScheduledQueryOutput(args: GetScheduledQueryOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetScheduledQueryResult>; export interface GetScheduledQueryOutputArgs { scheduledQueryArn: pulumi.Input<string>; }