We recommend new projects start with resources from the AWS provider.
aws-native.redshift.ScheduledAction
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
The AWS::Redshift::ScheduledAction
resource creates an Amazon Redshift Scheduled Action.
Create ScheduledAction Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ScheduledAction(name: string, args?: ScheduledActionArgs, opts?: CustomResourceOptions);
@overload
def ScheduledAction(resource_name: str,
args: Optional[ScheduledActionArgs] = None,
opts: Optional[ResourceOptions] = None)
@overload
def ScheduledAction(resource_name: str,
opts: Optional[ResourceOptions] = None,
enable: Optional[bool] = None,
end_time: Optional[str] = None,
iam_role: Optional[str] = None,
schedule: Optional[str] = None,
scheduled_action_description: Optional[str] = None,
scheduled_action_name: Optional[str] = None,
start_time: Optional[str] = None,
target_action: Optional[ScheduledActionTypeArgs] = None)
func NewScheduledAction(ctx *Context, name string, args *ScheduledActionArgs, opts ...ResourceOption) (*ScheduledAction, error)
public ScheduledAction(string name, ScheduledActionArgs? args = null, CustomResourceOptions? opts = null)
public ScheduledAction(String name, ScheduledActionArgs args)
public ScheduledAction(String name, ScheduledActionArgs args, CustomResourceOptions options)
type: aws-native:redshift:ScheduledAction
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 ScheduledActionArgs
- 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 ScheduledActionArgs
- 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 ScheduledActionArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ScheduledActionArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ScheduledActionArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
ScheduledAction 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 ScheduledAction resource accepts the following input properties:
- 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.
- Schedule string
- The schedule in
at( )
orcron( )
format. - Scheduled
Action stringDescription - The description of the scheduled action.
- Scheduled
Action stringName - The name of the scheduled action. The name must be unique within an account.
- Start
Time string - The start time in UTC of the scheduled action. Before this time, the scheduled action does not trigger.
- Target
Action Pulumi.Aws Native. Redshift. Inputs. 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.
- Schedule string
- The schedule in
at( )
orcron( )
format. - Scheduled
Action stringDescription - The description of the scheduled action.
- Scheduled
Action stringName - The name of the scheduled action. The name must be unique within an account.
- Start
Time string - The start time in UTC of the scheduled action. Before this time, the scheduled action does not trigger.
- Target
Action ScheduledAction Type Args - 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.
- schedule String
- The schedule in
at( )
orcron( )
format. - scheduled
Action StringDescription - The description of the scheduled action.
- scheduled
Action StringName - The name of the scheduled action. The name must be unique within an account.
- start
Time String - The start time in UTC of the scheduled action. Before this time, the scheduled action does not trigger.
- 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.
- schedule string
- The schedule in
at( )
orcron( )
format. - scheduled
Action stringDescription - The description of the scheduled action.
- scheduled
Action stringName - The name of the scheduled action. The name must be unique within an account.
- start
Time string - The start time in UTC of the scheduled action. Before this time, the scheduled action does not trigger.
- 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.
- schedule str
- The schedule in
at( )
orcron( )
format. - scheduled_
action_ strdescription - The description of the scheduled action.
- scheduled_
action_ strname - The name of the scheduled action. The name must be unique within an account.
- start_
time str - The start time in UTC of the scheduled action. Before this time, the scheduled action does not trigger.
- target_
action ScheduledAction Type Args - 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.
- schedule String
- The schedule in
at( )
orcron( )
format. - scheduled
Action StringDescription - The description of the scheduled action.
- scheduled
Action StringName - The name of the scheduled action. The name must be unique within an account.
- start
Time String - The start time in UTC of the scheduled action. Before this time, the scheduled action does not trigger.
- target
Action Property Map - A JSON format string of the Amazon Redshift API operation with input parameters.
Outputs
All input properties are implicitly available as output properties. Additionally, the ScheduledAction resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Next
Invocations List<string> - List of times when the scheduled action will run.
- State
Pulumi.
Aws Native. Redshift. Scheduled Action State - The state of the scheduled action.
- Id string
- The provider-assigned unique ID for this managed resource.
- Next
Invocations []string - List of times when the scheduled action will run.
- State
Scheduled
Action State Enum - The state of the scheduled action.
- id String
- The provider-assigned unique ID for this managed resource.
- next
Invocations List<String> - List of times when the scheduled action will run.
- state
Scheduled
Action State - The state of the scheduled action.
- id string
- The provider-assigned unique ID for this managed resource.
- next
Invocations string[] - List of times when the scheduled action will run.
- state
Scheduled
Action State - The state of the scheduled action.
- id str
- The provider-assigned unique ID for this managed resource.
- next_
invocations Sequence[str] - List of times when the scheduled action will run.
- state
Scheduled
Action State - The state of the scheduled action.
- id String
- The provider-assigned unique ID for this managed resource.
- next
Invocations List<String> - List of times when the scheduled action will run.
- state "ACTIVE" | "DISABLED"
- The state of the scheduled action.
Supporting Types
ScheduledActionState, ScheduledActionStateArgs
- Active
- ACTIVE
- Disabled
- DISABLED
- Scheduled
Action State Active - ACTIVE
- Scheduled
Action State Disabled - DISABLED
- Active
- ACTIVE
- Disabled
- DISABLED
- Active
- ACTIVE
- Disabled
- DISABLED
- ACTIVE
- ACTIVE
- DISABLED
- DISABLED
- "ACTIVE"
- ACTIVE
- "DISABLED"
- DISABLED
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.