rootly.WorkflowActionItem
Explore with Pulumi AI
Create WorkflowActionItem Resource
new WorkflowActionItem(name: string, args?: WorkflowActionItemArgs, opts?: CustomResourceOptions);
@overload
def WorkflowActionItem(resource_name: str,
opts: Optional[ResourceOptions] = None,
command: Optional[str] = None,
description: Optional[str] = None,
enabled: Optional[bool] = None,
environment_ids: Optional[Sequence[str]] = None,
group_ids: Optional[Sequence[str]] = None,
incident_role_ids: Optional[Sequence[str]] = None,
incident_type_ids: Optional[Sequence[str]] = None,
name: Optional[str] = None,
position: Optional[int] = None,
repeat_every_duration: Optional[str] = None,
repeat_ons: Optional[Sequence[str]] = None,
service_ids: Optional[Sequence[str]] = None,
severity_ids: Optional[Sequence[str]] = None,
slug: Optional[str] = None,
trigger_params: Optional[WorkflowActionItemTriggerParamsArgs] = None,
wait: Optional[str] = None,
workflow_group_id: Optional[str] = None)
@overload
def WorkflowActionItem(resource_name: str,
args: Optional[WorkflowActionItemArgs] = None,
opts: Optional[ResourceOptions] = None)
func NewWorkflowActionItem(ctx *Context, name string, args *WorkflowActionItemArgs, opts ...ResourceOption) (*WorkflowActionItem, error)
public WorkflowActionItem(string name, WorkflowActionItemArgs? args = null, CustomResourceOptions? opts = null)
public WorkflowActionItem(String name, WorkflowActionItemArgs args)
public WorkflowActionItem(String name, WorkflowActionItemArgs args, CustomResourceOptions options)
type: rootly:WorkflowActionItem
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args WorkflowActionItemArgs
- 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 WorkflowActionItemArgs
- 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 WorkflowActionItemArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args WorkflowActionItemArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args WorkflowActionItemArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
WorkflowActionItem Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The WorkflowActionItem resource accepts the following input properties:
- Command string
Workflow command.
- Description string
The description of the workflow
- Enabled bool
- Environment
Ids List<string> - Group
Ids List<string> - Incident
Role List<string>Ids - Incident
Type List<string>Ids - Name string
The title of the workflow
- Position int
The order which the workflow should run with other workflows.
- Repeat
Every stringDuration Repeat workflow every duration.
- Repeat
Ons List<string> Value must be one of
S
,M
,T
,W
,R
,F
,U
.- Service
Ids List<string> - Severity
Ids List<string> - Slug string
The slug of the workflow
- Trigger
Params WorkflowAction Item Trigger Params - Wait string
Wait this duration before executing.
- Workflow
Group stringId The group this workflow belongs to.
- Command string
Workflow command.
- Description string
The description of the workflow
- Enabled bool
- Environment
Ids []string - Group
Ids []string - Incident
Role []stringIds - Incident
Type []stringIds - Name string
The title of the workflow
- Position int
The order which the workflow should run with other workflows.
- Repeat
Every stringDuration Repeat workflow every duration.
- Repeat
Ons []string Value must be one of
S
,M
,T
,W
,R
,F
,U
.- Service
Ids []string - Severity
Ids []string - Slug string
The slug of the workflow
- Trigger
Params WorkflowAction Item Trigger Params Args - Wait string
Wait this duration before executing.
- Workflow
Group stringId The group this workflow belongs to.
- command String
Workflow command.
- description String
The description of the workflow
- enabled Boolean
- environment
Ids List<String> - group
Ids List<String> - incident
Role List<String>Ids - incident
Type List<String>Ids - name String
The title of the workflow
- position Integer
The order which the workflow should run with other workflows.
- repeat
Every StringDuration Repeat workflow every duration.
- repeat
Ons List<String> Value must be one of
S
,M
,T
,W
,R
,F
,U
.- service
Ids List<String> - severity
Ids List<String> - slug String
The slug of the workflow
- trigger
Params WorkflowAction Item Trigger Params - wait_ String
Wait this duration before executing.
- workflow
Group StringId The group this workflow belongs to.
- command string
Workflow command.
- description string
The description of the workflow
- enabled boolean
- environment
Ids string[] - group
Ids string[] - incident
Role string[]Ids - incident
Type string[]Ids - name string
The title of the workflow
- position number
The order which the workflow should run with other workflows.
- repeat
Every stringDuration Repeat workflow every duration.
- repeat
Ons string[] Value must be one of
S
,M
,T
,W
,R
,F
,U
.- service
Ids string[] - severity
Ids string[] - slug string
The slug of the workflow
- trigger
Params WorkflowAction Item Trigger Params - wait string
Wait this duration before executing.
- workflow
Group stringId The group this workflow belongs to.
- command str
Workflow command.
- description str
The description of the workflow
- enabled bool
- environment_
ids Sequence[str] - group_
ids Sequence[str] - incident_
role_ Sequence[str]ids - incident_
type_ Sequence[str]ids - name str
The title of the workflow
- position int
The order which the workflow should run with other workflows.
- repeat_
every_ strduration Repeat workflow every duration.
- repeat_
ons Sequence[str] Value must be one of
S
,M
,T
,W
,R
,F
,U
.- service_
ids Sequence[str] - severity_
ids Sequence[str] - slug str
The slug of the workflow
- trigger_
params WorkflowAction Item Trigger Params Args - wait str
Wait this duration before executing.
- workflow_
group_ strid The group this workflow belongs to.
- command String
Workflow command.
- description String
The description of the workflow
- enabled Boolean
- environment
Ids List<String> - group
Ids List<String> - incident
Role List<String>Ids - incident
Type List<String>Ids - name String
The title of the workflow
- position Number
The order which the workflow should run with other workflows.
- repeat
Every StringDuration Repeat workflow every duration.
- repeat
Ons List<String> Value must be one of
S
,M
,T
,W
,R
,F
,U
.- service
Ids List<String> - severity
Ids List<String> - slug String
The slug of the workflow
- trigger
Params Property Map - wait String
Wait this duration before executing.
- workflow
Group StringId The group this workflow belongs to.
Outputs
All input properties are implicitly available as output properties. Additionally, the WorkflowActionItem resource produces the following output properties:
- Id string
The provider-assigned unique ID for this managed resource.
- Id string
The provider-assigned unique ID for this managed resource.
- id String
The provider-assigned unique ID for this managed resource.
- id string
The provider-assigned unique ID for this managed resource.
- id str
The provider-assigned unique ID for this managed resource.
- id String
The provider-assigned unique ID for this managed resource.
Look up Existing WorkflowActionItem Resource
Get an existing WorkflowActionItem resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: WorkflowActionItemState, opts?: CustomResourceOptions): WorkflowActionItem
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
command: Optional[str] = None,
description: Optional[str] = None,
enabled: Optional[bool] = None,
environment_ids: Optional[Sequence[str]] = None,
group_ids: Optional[Sequence[str]] = None,
incident_role_ids: Optional[Sequence[str]] = None,
incident_type_ids: Optional[Sequence[str]] = None,
name: Optional[str] = None,
position: Optional[int] = None,
repeat_every_duration: Optional[str] = None,
repeat_ons: Optional[Sequence[str]] = None,
service_ids: Optional[Sequence[str]] = None,
severity_ids: Optional[Sequence[str]] = None,
slug: Optional[str] = None,
trigger_params: Optional[WorkflowActionItemTriggerParamsArgs] = None,
wait: Optional[str] = None,
workflow_group_id: Optional[str] = None) -> WorkflowActionItem
func GetWorkflowActionItem(ctx *Context, name string, id IDInput, state *WorkflowActionItemState, opts ...ResourceOption) (*WorkflowActionItem, error)
public static WorkflowActionItem Get(string name, Input<string> id, WorkflowActionItemState? state, CustomResourceOptions? opts = null)
public static WorkflowActionItem get(String name, Output<String> id, WorkflowActionItemState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Command string
Workflow command.
- Description string
The description of the workflow
- Enabled bool
- Environment
Ids List<string> - Group
Ids List<string> - Incident
Role List<string>Ids - Incident
Type List<string>Ids - Name string
The title of the workflow
- Position int
The order which the workflow should run with other workflows.
- Repeat
Every stringDuration Repeat workflow every duration.
- Repeat
Ons List<string> Value must be one of
S
,M
,T
,W
,R
,F
,U
.- Service
Ids List<string> - Severity
Ids List<string> - Slug string
The slug of the workflow
- Trigger
Params WorkflowAction Item Trigger Params - Wait string
Wait this duration before executing.
- Workflow
Group stringId The group this workflow belongs to.
- Command string
Workflow command.
- Description string
The description of the workflow
- Enabled bool
- Environment
Ids []string - Group
Ids []string - Incident
Role []stringIds - Incident
Type []stringIds - Name string
The title of the workflow
- Position int
The order which the workflow should run with other workflows.
- Repeat
Every stringDuration Repeat workflow every duration.
- Repeat
Ons []string Value must be one of
S
,M
,T
,W
,R
,F
,U
.- Service
Ids []string - Severity
Ids []string - Slug string
The slug of the workflow
- Trigger
Params WorkflowAction Item Trigger Params Args - Wait string
Wait this duration before executing.
- Workflow
Group stringId The group this workflow belongs to.
- command String
Workflow command.
- description String
The description of the workflow
- enabled Boolean
- environment
Ids List<String> - group
Ids List<String> - incident
Role List<String>Ids - incident
Type List<String>Ids - name String
The title of the workflow
- position Integer
The order which the workflow should run with other workflows.
- repeat
Every StringDuration Repeat workflow every duration.
- repeat
Ons List<String> Value must be one of
S
,M
,T
,W
,R
,F
,U
.- service
Ids List<String> - severity
Ids List<String> - slug String
The slug of the workflow
- trigger
Params WorkflowAction Item Trigger Params - wait_ String
Wait this duration before executing.
- workflow
Group StringId The group this workflow belongs to.
- command string
Workflow command.
- description string
The description of the workflow
- enabled boolean
- environment
Ids string[] - group
Ids string[] - incident
Role string[]Ids - incident
Type string[]Ids - name string
The title of the workflow
- position number
The order which the workflow should run with other workflows.
- repeat
Every stringDuration Repeat workflow every duration.
- repeat
Ons string[] Value must be one of
S
,M
,T
,W
,R
,F
,U
.- service
Ids string[] - severity
Ids string[] - slug string
The slug of the workflow
- trigger
Params WorkflowAction Item Trigger Params - wait string
Wait this duration before executing.
- workflow
Group stringId The group this workflow belongs to.
- command str
Workflow command.
- description str
The description of the workflow
- enabled bool
- environment_
ids Sequence[str] - group_
ids Sequence[str] - incident_
role_ Sequence[str]ids - incident_
type_ Sequence[str]ids - name str
The title of the workflow
- position int
The order which the workflow should run with other workflows.
- repeat_
every_ strduration Repeat workflow every duration.
- repeat_
ons Sequence[str] Value must be one of
S
,M
,T
,W
,R
,F
,U
.- service_
ids Sequence[str] - severity_
ids Sequence[str] - slug str
The slug of the workflow
- trigger_
params WorkflowAction Item Trigger Params Args - wait str
Wait this duration before executing.
- workflow_
group_ strid The group this workflow belongs to.
- command String
Workflow command.
- description String
The description of the workflow
- enabled Boolean
- environment
Ids List<String> - group
Ids List<String> - incident
Role List<String>Ids - incident
Type List<String>Ids - name String
The title of the workflow
- position Number
The order which the workflow should run with other workflows.
- repeat
Every StringDuration Repeat workflow every duration.
- repeat
Ons List<String> Value must be one of
S
,M
,T
,W
,R
,F
,U
.- service
Ids List<String> - severity
Ids List<String> - slug String
The slug of the workflow
- trigger
Params Property Map - wait String
Wait this duration before executing.
- workflow
Group StringId The group this workflow belongs to.
Supporting Types
WorkflowActionItemTriggerParams, WorkflowActionItemTriggerParamsArgs
- Incident
Action stringItem Condition - Incident
Action stringItem Condition Group - Incident
Action stringItem Condition Kind - Incident
Action stringItem Condition Priority - Incident
Action stringItem Condition Status - Incident
Action List<string>Item Group Ids - Incident
Action List<string>Item Kinds - Incident
Action List<string>Item Priorities - Incident
Action List<string>Item Statuses - Incident
Condition string - Incident
Condition stringAcknowledged At - Incident
Condition stringDetected At - Incident
Condition stringEnvironment - Incident
Condition stringFunctionality - Incident
Condition stringGroup - Incident
Condition stringIncident Roles - Incident
Condition stringIncident Type - Incident
Condition stringKind - Incident
Condition stringMitigated At - Incident
Condition stringResolved At - Incident
Condition stringService - Incident
Condition stringSeverity - Incident
Condition stringStarted At - Incident
Condition stringStatus - Incident
Condition stringSummary - Incident
Condition stringVisibility - Incident
Conditional stringInactivity - Incident
Inactivity stringDuration - Incident
Kinds List<string> - Incident
Statuses List<string> - Incident
Visibilities List<string> - Trigger
Type string - Triggers List<string>
- Incident
Action stringItem Condition - Incident
Action stringItem Condition Group - Incident
Action stringItem Condition Kind - Incident
Action stringItem Condition Priority - Incident
Action stringItem Condition Status - Incident
Action []stringItem Group Ids - Incident
Action []stringItem Kinds - Incident
Action []stringItem Priorities - Incident
Action []stringItem Statuses - Incident
Condition string - Incident
Condition stringAcknowledged At - Incident
Condition stringDetected At - Incident
Condition stringEnvironment - Incident
Condition stringFunctionality - Incident
Condition stringGroup - Incident
Condition stringIncident Roles - Incident
Condition stringIncident Type - Incident
Condition stringKind - Incident
Condition stringMitigated At - Incident
Condition stringResolved At - Incident
Condition stringService - Incident
Condition stringSeverity - Incident
Condition stringStarted At - Incident
Condition stringStatus - Incident
Condition stringSummary - Incident
Condition stringVisibility - Incident
Conditional stringInactivity - Incident
Inactivity stringDuration - Incident
Kinds []string - Incident
Statuses []string - Incident
Visibilities []string - Trigger
Type string - Triggers []string
- incident
Action StringItem Condition - incident
Action StringItem Condition Group - incident
Action StringItem Condition Kind - incident
Action StringItem Condition Priority - incident
Action StringItem Condition Status - incident
Action List<String>Item Group Ids - incident
Action List<String>Item Kinds - incident
Action List<String>Item Priorities - incident
Action List<String>Item Statuses - incident
Condition String - incident
Condition StringAcknowledged At - incident
Condition StringDetected At - incident
Condition StringEnvironment - incident
Condition StringFunctionality - incident
Condition StringGroup - incident
Condition StringIncident Roles - incident
Condition StringIncident Type - incident
Condition StringKind - incident
Condition StringMitigated At - incident
Condition StringResolved At - incident
Condition StringService - incident
Condition StringSeverity - incident
Condition StringStarted At - incident
Condition StringStatus - incident
Condition StringSummary - incident
Condition StringVisibility - incident
Conditional StringInactivity - incident
Inactivity StringDuration - incident
Kinds List<String> - incident
Statuses List<String> - incident
Visibilities List<String> - trigger
Type String - triggers List<String>
- incident
Action stringItem Condition - incident
Action stringItem Condition Group - incident
Action stringItem Condition Kind - incident
Action stringItem Condition Priority - incident
Action stringItem Condition Status - incident
Action string[]Item Group Ids - incident
Action string[]Item Kinds - incident
Action string[]Item Priorities - incident
Action string[]Item Statuses - incident
Condition string - incident
Condition stringAcknowledged At - incident
Condition stringDetected At - incident
Condition stringEnvironment - incident
Condition stringFunctionality - incident
Condition stringGroup - incident
Condition stringIncident Roles - incident
Condition stringIncident Type - incident
Condition stringKind - incident
Condition stringMitigated At - incident
Condition stringResolved At - incident
Condition stringService - incident
Condition stringSeverity - incident
Condition stringStarted At - incident
Condition stringStatus - incident
Condition stringSummary - incident
Condition stringVisibility - incident
Conditional stringInactivity - incident
Inactivity stringDuration - incident
Kinds string[] - incident
Statuses string[] - incident
Visibilities string[] - trigger
Type string - triggers string[]
- incident_
action_ stritem_ condition - incident_
action_ stritem_ condition_ group - incident_
action_ stritem_ condition_ kind - incident_
action_ stritem_ condition_ priority - incident_
action_ stritem_ condition_ status - incident_
action_ Sequence[str]item_ group_ ids - incident_
action_ Sequence[str]item_ kinds - incident_
action_ Sequence[str]item_ priorities - incident_
action_ Sequence[str]item_ statuses - incident_
condition str - incident_
condition_ stracknowledged_ at - incident_
condition_ strdetected_ at - incident_
condition_ strenvironment - incident_
condition_ strfunctionality - incident_
condition_ strgroup - incident_
condition_ strincident_ roles - incident_
condition_ strincident_ type - incident_
condition_ strkind - incident_
condition_ strmitigated_ at - incident_
condition_ strresolved_ at - incident_
condition_ strservice - incident_
condition_ strseverity - incident_
condition_ strstarted_ at - incident_
condition_ strstatus - incident_
condition_ strsummary - incident_
condition_ strvisibility - incident_
conditional_ strinactivity - incident_
inactivity_ strduration - incident_
kinds Sequence[str] - incident_
statuses Sequence[str] - incident_
visibilities Sequence[str] - trigger_
type str - triggers Sequence[str]
- incident
Action StringItem Condition - incident
Action StringItem Condition Group - incident
Action StringItem Condition Kind - incident
Action StringItem Condition Priority - incident
Action StringItem Condition Status - incident
Action List<String>Item Group Ids - incident
Action List<String>Item Kinds - incident
Action List<String>Item Priorities - incident
Action List<String>Item Statuses - incident
Condition String - incident
Condition StringAcknowledged At - incident
Condition StringDetected At - incident
Condition StringEnvironment - incident
Condition StringFunctionality - incident
Condition StringGroup - incident
Condition StringIncident Roles - incident
Condition StringIncident Type - incident
Condition StringKind - incident
Condition StringMitigated At - incident
Condition StringResolved At - incident
Condition StringService - incident
Condition StringSeverity - incident
Condition StringStarted At - incident
Condition StringStatus - incident
Condition StringSummary - incident
Condition StringVisibility - incident
Conditional StringInactivity - incident
Inactivity StringDuration - incident
Kinds List<String> - incident
Statuses List<String> - incident
Visibilities List<String> - trigger
Type String - triggers List<String>
Package Details
- Repository
- rootly rootlyhq/pulumi-rootly
- License
- Apache-2.0
- Notes
This Pulumi package is based on the
rootly
Terraform Provider.