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)

62 lines (61 loc) 2.22 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; import * as enums from "../types/enums"; /** * The `AWS::Redshift::ScheduledAction` resource creates an Amazon Redshift Scheduled Action. */ export declare function getScheduledAction(args: GetScheduledActionArgs, opts?: pulumi.InvokeOptions): Promise<GetScheduledActionResult>; export interface GetScheduledActionArgs { /** * The name of the scheduled action. The name must be unique within an account. */ scheduledActionName: string; } export interface GetScheduledActionResult { /** * If true, the schedule is enabled. If false, the scheduled action does not trigger. */ readonly enable?: boolean; /** * The end time in UTC of the scheduled action. After this time, the scheduled action does not trigger. */ readonly endTime?: string; /** * The IAM role to assume to run the target action. */ readonly iamRole?: string; /** * List of times when the scheduled action will run. */ readonly nextInvocations?: string[]; /** * The schedule in `at( )` or `cron( )` format. */ readonly schedule?: string; /** * The description of the scheduled action. */ readonly scheduledActionDescription?: string; /** * The start time in UTC of the scheduled action. Before this time, the scheduled action does not trigger. */ readonly startTime?: string; /** * The state of the scheduled action. */ readonly state?: enums.redshift.ScheduledActionState; /** * A JSON format string of the Amazon Redshift API operation with input parameters. */ readonly targetAction?: outputs.redshift.ScheduledActionType; } /** * The `AWS::Redshift::ScheduledAction` resource creates an Amazon Redshift Scheduled Action. */ export declare function getScheduledActionOutput(args: GetScheduledActionOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetScheduledActionResult>; export interface GetScheduledActionOutputArgs { /** * The name of the scheduled action. The name must be unique within an account. */ scheduledActionName: pulumi.Input<string>; }