AWS Native is in preview. AWS Classic is fully supported.
AWS Native v0.109.0 published on Wednesday, Jun 26, 2024 by Pulumi
aws-native.redshift.getScheduledAction
Explore with Pulumi AI
AWS Native is in preview. AWS Classic is fully supported.
AWS Native v0.109.0 published on Wednesday, Jun 26, 2024 by Pulumi
The AWS::Redshift::ScheduledAction
resource creates an Amazon Redshift Scheduled Action.
Using getScheduledAction
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 getScheduledAction(args: GetScheduledActionArgs, opts?: InvokeOptions): Promise<GetScheduledActionResult>
function getScheduledActionOutput(args: GetScheduledActionOutputArgs, opts?: InvokeOptions): Output<GetScheduledActionResult>
def get_scheduled_action(scheduled_action_name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetScheduledActionResult
def get_scheduled_action_output(scheduled_action_name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetScheduledActionResult]
func LookupScheduledAction(ctx *Context, args *LookupScheduledActionArgs, opts ...InvokeOption) (*LookupScheduledActionResult, error)
func LookupScheduledActionOutput(ctx *Context, args *LookupScheduledActionOutputArgs, opts ...InvokeOption) LookupScheduledActionResultOutput
> Note: This function is named LookupScheduledAction
in the Go SDK.
public static class GetScheduledAction
{
public static Task<GetScheduledActionResult> InvokeAsync(GetScheduledActionArgs args, InvokeOptions? opts = null)
public static Output<GetScheduledActionResult> Invoke(GetScheduledActionInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetScheduledActionResult> getScheduledAction(GetScheduledActionArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: aws-native:redshift:getScheduledAction
arguments:
# arguments dictionary
The following arguments are supported:
- Scheduled
Action stringName - The name of the scheduled action. The name must be unique within an account.
- Scheduled
Action stringName - The name of the scheduled action. The name must be unique within an account.
- scheduled
Action StringName - The name of the scheduled action. The name must be unique within an account.
- scheduled
Action stringName - The name of the scheduled action. The name must be unique within an account.
- scheduled_
action_ strname - The name of the scheduled action. The name must be unique within an account.
- scheduled
Action StringName - The name of the scheduled action. The name must be unique within an account.
getScheduledAction Result
The following output properties are available:
- Enable bool
- If true, the schedule is enabled. If false, the scheduled action does not trigger.
- End
Time string - The end time in UTC of the scheduled action. After this time, the scheduled action does not trigger.
- Iam
Role string - The IAM role to assume to run the target action.
- Next
Invocations List<string> - List of times when the scheduled action will run.
- Schedule string
- The schedule in
at( )
orcron( )
format. - Scheduled
Action stringDescription - The description of the scheduled action.
- Start
Time string - The start time in UTC of the scheduled action. Before this time, the scheduled action does not trigger.
- State
Pulumi.
Aws Native. Redshift. Scheduled Action State - The state of the scheduled action.
- Target
Action Pulumi.Aws Native. Redshift. Outputs. Scheduled Action Type - A JSON format string of the Amazon Redshift API operation with input parameters.
- Enable bool
- If true, the schedule is enabled. If false, the scheduled action does not trigger.
- End
Time string - The end time in UTC of the scheduled action. After this time, the scheduled action does not trigger.
- Iam
Role string - The IAM role to assume to run the target action.
- Next
Invocations []string - List of times when the scheduled action will run.
- Schedule string
- The schedule in
at( )
orcron( )
format. - Scheduled
Action stringDescription - The description of the scheduled action.
- Start
Time string - The start time in UTC of the scheduled action. Before this time, the scheduled action does not trigger.
- State
Scheduled
Action State Enum - The state of the scheduled action.
- Target
Action ScheduledAction Type - A JSON format string of the Amazon Redshift API operation with input parameters.
- enable Boolean
- If true, the schedule is enabled. If false, the scheduled action does not trigger.
- end
Time String - The end time in UTC of the scheduled action. After this time, the scheduled action does not trigger.
- iam
Role String - The IAM role to assume to run the target action.
- next
Invocations List<String> - List of times when the scheduled action will run.
- schedule String
- The schedule in
at( )
orcron( )
format. - scheduled
Action StringDescription - The description of the scheduled action.
- start
Time String - The start time in UTC of the scheduled action. Before this time, the scheduled action does not trigger.
- state
Scheduled
Action State - The state of the scheduled action.
- target
Action ScheduledAction Type - A JSON format string of the Amazon Redshift API operation with input parameters.
- enable boolean
- If true, the schedule is enabled. If false, the scheduled action does not trigger.
- end
Time string - The end time in UTC of the scheduled action. After this time, the scheduled action does not trigger.
- iam
Role string - The IAM role to assume to run the target action.
- next
Invocations string[] - List of times when the scheduled action will run.
- schedule string
- The schedule in
at( )
orcron( )
format. - scheduled
Action stringDescription - The description of the scheduled action.
- start
Time string - The start time in UTC of the scheduled action. Before this time, the scheduled action does not trigger.
- state
Scheduled
Action State - The state of the scheduled action.
- target
Action ScheduledAction Type - A JSON format string of the Amazon Redshift API operation with input parameters.
- enable bool
- If true, the schedule is enabled. If false, the scheduled action does not trigger.
- end_
time str - The end time in UTC of the scheduled action. After this time, the scheduled action does not trigger.
- iam_
role str - The IAM role to assume to run the target action.
- next_
invocations Sequence[str] - List of times when the scheduled action will run.
- schedule str
- The schedule in
at( )
orcron( )
format. - scheduled_
action_ strdescription - The description of the scheduled action.
- start_
time str - The start time in UTC of the scheduled action. Before this time, the scheduled action does not trigger.
- state
Scheduled
Action State - The state of the scheduled action.
- target_
action ScheduledAction Type - A JSON format string of the Amazon Redshift API operation with input parameters.
- enable Boolean
- If true, the schedule is enabled. If false, the scheduled action does not trigger.
- end
Time String - The end time in UTC of the scheduled action. After this time, the scheduled action does not trigger.
- iam
Role String - The IAM role to assume to run the target action.
- next
Invocations List<String> - List of times when the scheduled action will run.
- schedule String
- The schedule in
at( )
orcron( )
format. - scheduled
Action StringDescription - The description of the scheduled action.
- start
Time String - The start time in UTC of the scheduled action. Before this time, the scheduled action does not trigger.
- state "ACTIVE" | "DISABLED"
- The state of the scheduled action.
- target
Action Property Map - A JSON format string of the Amazon Redshift API operation with input parameters.
Supporting Types
ScheduledActionState
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
AWS Native is in preview. AWS Classic is fully supported.
AWS Native v0.109.0 published on Wednesday, Jun 26, 2024 by Pulumi