1. Packages
  2. Rootly
  3. API Docs
  4. WorkflowActionItem
Rootly v1.0.1 published on Friday, Jun 2, 2023 by Rootly

rootly.WorkflowActionItem

Explore with Pulumi AI

rootly logo
Rootly v1.0.1 published on Friday, Jun 2, 2023 by Rootly

    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
    EnvironmentIds List<string>
    GroupIds List<string>
    IncidentRoleIds List<string>
    IncidentTypeIds List<string>
    Name string

    The title of the workflow

    Position int

    The order which the workflow should run with other workflows.

    RepeatEveryDuration string

    Repeat workflow every duration.

    RepeatOns List<string>

    Value must be one of S, M, T, W, R, F, U.

    ServiceIds List<string>
    SeverityIds List<string>
    Slug string

    The slug of the workflow

    TriggerParams WorkflowActionItemTriggerParams
    Wait string

    Wait this duration before executing.

    WorkflowGroupId string

    The group this workflow belongs to.

    Command string

    Workflow command.

    Description string

    The description of the workflow

    Enabled bool
    EnvironmentIds []string
    GroupIds []string
    IncidentRoleIds []string
    IncidentTypeIds []string
    Name string

    The title of the workflow

    Position int

    The order which the workflow should run with other workflows.

    RepeatEveryDuration string

    Repeat workflow every duration.

    RepeatOns []string

    Value must be one of S, M, T, W, R, F, U.

    ServiceIds []string
    SeverityIds []string
    Slug string

    The slug of the workflow

    TriggerParams WorkflowActionItemTriggerParamsArgs
    Wait string

    Wait this duration before executing.

    WorkflowGroupId string

    The group this workflow belongs to.

    command String

    Workflow command.

    description String

    The description of the workflow

    enabled Boolean
    environmentIds List<String>
    groupIds List<String>
    incidentRoleIds List<String>
    incidentTypeIds List<String>
    name String

    The title of the workflow

    position Integer

    The order which the workflow should run with other workflows.

    repeatEveryDuration String

    Repeat workflow every duration.

    repeatOns List<String>

    Value must be one of S, M, T, W, R, F, U.

    serviceIds List<String>
    severityIds List<String>
    slug String

    The slug of the workflow

    triggerParams WorkflowActionItemTriggerParams
    wait_ String

    Wait this duration before executing.

    workflowGroupId String

    The group this workflow belongs to.

    command string

    Workflow command.

    description string

    The description of the workflow

    enabled boolean
    environmentIds string[]
    groupIds string[]
    incidentRoleIds string[]
    incidentTypeIds string[]
    name string

    The title of the workflow

    position number

    The order which the workflow should run with other workflows.

    repeatEveryDuration string

    Repeat workflow every duration.

    repeatOns string[]

    Value must be one of S, M, T, W, R, F, U.

    serviceIds string[]
    severityIds string[]
    slug string

    The slug of the workflow

    triggerParams WorkflowActionItemTriggerParams
    wait string

    Wait this duration before executing.

    workflowGroupId string

    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_ids Sequence[str]
    incident_type_ids Sequence[str]
    name str

    The title of the workflow

    position int

    The order which the workflow should run with other workflows.

    repeat_every_duration str

    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 WorkflowActionItemTriggerParamsArgs
    wait str

    Wait this duration before executing.

    workflow_group_id str

    The group this workflow belongs to.

    command String

    Workflow command.

    description String

    The description of the workflow

    enabled Boolean
    environmentIds List<String>
    groupIds List<String>
    incidentRoleIds List<String>
    incidentTypeIds List<String>
    name String

    The title of the workflow

    position Number

    The order which the workflow should run with other workflows.

    repeatEveryDuration String

    Repeat workflow every duration.

    repeatOns List<String>

    Value must be one of S, M, T, W, R, F, U.

    serviceIds List<String>
    severityIds List<String>
    slug String

    The slug of the workflow

    triggerParams Property Map
    wait String

    Wait this duration before executing.

    workflowGroupId String

    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.
    The following state arguments are supported:
    Command string

    Workflow command.

    Description string

    The description of the workflow

    Enabled bool
    EnvironmentIds List<string>
    GroupIds List<string>
    IncidentRoleIds List<string>
    IncidentTypeIds List<string>
    Name string

    The title of the workflow

    Position int

    The order which the workflow should run with other workflows.

    RepeatEveryDuration string

    Repeat workflow every duration.

    RepeatOns List<string>

    Value must be one of S, M, T, W, R, F, U.

    ServiceIds List<string>
    SeverityIds List<string>
    Slug string

    The slug of the workflow

    TriggerParams WorkflowActionItemTriggerParams
    Wait string

    Wait this duration before executing.

    WorkflowGroupId string

    The group this workflow belongs to.

    Command string

    Workflow command.

    Description string

    The description of the workflow

    Enabled bool
    EnvironmentIds []string
    GroupIds []string
    IncidentRoleIds []string
    IncidentTypeIds []string
    Name string

    The title of the workflow

    Position int

    The order which the workflow should run with other workflows.

    RepeatEveryDuration string

    Repeat workflow every duration.

    RepeatOns []string

    Value must be one of S, M, T, W, R, F, U.

    ServiceIds []string
    SeverityIds []string
    Slug string

    The slug of the workflow

    TriggerParams WorkflowActionItemTriggerParamsArgs
    Wait string

    Wait this duration before executing.

    WorkflowGroupId string

    The group this workflow belongs to.

    command String

    Workflow command.

    description String

    The description of the workflow

    enabled Boolean
    environmentIds List<String>
    groupIds List<String>
    incidentRoleIds List<String>
    incidentTypeIds List<String>
    name String

    The title of the workflow

    position Integer

    The order which the workflow should run with other workflows.

    repeatEveryDuration String

    Repeat workflow every duration.

    repeatOns List<String>

    Value must be one of S, M, T, W, R, F, U.

    serviceIds List<String>
    severityIds List<String>
    slug String

    The slug of the workflow

    triggerParams WorkflowActionItemTriggerParams
    wait_ String

    Wait this duration before executing.

    workflowGroupId String

    The group this workflow belongs to.

    command string

    Workflow command.

    description string

    The description of the workflow

    enabled boolean
    environmentIds string[]
    groupIds string[]
    incidentRoleIds string[]
    incidentTypeIds string[]
    name string

    The title of the workflow

    position number

    The order which the workflow should run with other workflows.

    repeatEveryDuration string

    Repeat workflow every duration.

    repeatOns string[]

    Value must be one of S, M, T, W, R, F, U.

    serviceIds string[]
    severityIds string[]
    slug string

    The slug of the workflow

    triggerParams WorkflowActionItemTriggerParams
    wait string

    Wait this duration before executing.

    workflowGroupId string

    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_ids Sequence[str]
    incident_type_ids Sequence[str]
    name str

    The title of the workflow

    position int

    The order which the workflow should run with other workflows.

    repeat_every_duration str

    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 WorkflowActionItemTriggerParamsArgs
    wait str

    Wait this duration before executing.

    workflow_group_id str

    The group this workflow belongs to.

    command String

    Workflow command.

    description String

    The description of the workflow

    enabled Boolean
    environmentIds List<String>
    groupIds List<String>
    incidentRoleIds List<String>
    incidentTypeIds List<String>
    name String

    The title of the workflow

    position Number

    The order which the workflow should run with other workflows.

    repeatEveryDuration String

    Repeat workflow every duration.

    repeatOns List<String>

    Value must be one of S, M, T, W, R, F, U.

    serviceIds List<String>
    severityIds List<String>
    slug String

    The slug of the workflow

    triggerParams Property Map
    wait String

    Wait this duration before executing.

    workflowGroupId String

    The group this workflow belongs to.

    Supporting Types

    WorkflowActionItemTriggerParams, WorkflowActionItemTriggerParamsArgs

    IncidentActionItemCondition string
    IncidentActionItemConditionGroup string
    IncidentActionItemConditionKind string
    IncidentActionItemConditionPriority string
    IncidentActionItemConditionStatus string
    IncidentActionItemGroupIds List<string>
    IncidentActionItemKinds List<string>
    IncidentActionItemPriorities List<string>
    IncidentActionItemStatuses List<string>
    IncidentCondition string
    IncidentConditionAcknowledgedAt string
    IncidentConditionDetectedAt string
    IncidentConditionEnvironment string
    IncidentConditionFunctionality string
    IncidentConditionGroup string
    IncidentConditionIncidentRoles string
    IncidentConditionIncidentType string
    IncidentConditionKind string
    IncidentConditionMitigatedAt string
    IncidentConditionResolvedAt string
    IncidentConditionService string
    IncidentConditionSeverity string
    IncidentConditionStartedAt string
    IncidentConditionStatus string
    IncidentConditionSummary string
    IncidentConditionVisibility string
    IncidentConditionalInactivity string
    IncidentInactivityDuration string
    IncidentKinds List<string>
    IncidentStatuses List<string>
    IncidentVisibilities List<string>
    TriggerType string
    Triggers List<string>
    IncidentActionItemCondition string
    IncidentActionItemConditionGroup string
    IncidentActionItemConditionKind string
    IncidentActionItemConditionPriority string
    IncidentActionItemConditionStatus string
    IncidentActionItemGroupIds []string
    IncidentActionItemKinds []string
    IncidentActionItemPriorities []string
    IncidentActionItemStatuses []string
    IncidentCondition string
    IncidentConditionAcknowledgedAt string
    IncidentConditionDetectedAt string
    IncidentConditionEnvironment string
    IncidentConditionFunctionality string
    IncidentConditionGroup string
    IncidentConditionIncidentRoles string
    IncidentConditionIncidentType string
    IncidentConditionKind string
    IncidentConditionMitigatedAt string
    IncidentConditionResolvedAt string
    IncidentConditionService string
    IncidentConditionSeverity string
    IncidentConditionStartedAt string
    IncidentConditionStatus string
    IncidentConditionSummary string
    IncidentConditionVisibility string
    IncidentConditionalInactivity string
    IncidentInactivityDuration string
    IncidentKinds []string
    IncidentStatuses []string
    IncidentVisibilities []string
    TriggerType string
    Triggers []string
    incidentActionItemCondition String
    incidentActionItemConditionGroup String
    incidentActionItemConditionKind String
    incidentActionItemConditionPriority String
    incidentActionItemConditionStatus String
    incidentActionItemGroupIds List<String>
    incidentActionItemKinds List<String>
    incidentActionItemPriorities List<String>
    incidentActionItemStatuses List<String>
    incidentCondition String
    incidentConditionAcknowledgedAt String
    incidentConditionDetectedAt String
    incidentConditionEnvironment String
    incidentConditionFunctionality String
    incidentConditionGroup String
    incidentConditionIncidentRoles String
    incidentConditionIncidentType String
    incidentConditionKind String
    incidentConditionMitigatedAt String
    incidentConditionResolvedAt String
    incidentConditionService String
    incidentConditionSeverity String
    incidentConditionStartedAt String
    incidentConditionStatus String
    incidentConditionSummary String
    incidentConditionVisibility String
    incidentConditionalInactivity String
    incidentInactivityDuration String
    incidentKinds List<String>
    incidentStatuses List<String>
    incidentVisibilities List<String>
    triggerType String
    triggers List<String>
    incidentActionItemCondition string
    incidentActionItemConditionGroup string
    incidentActionItemConditionKind string
    incidentActionItemConditionPriority string
    incidentActionItemConditionStatus string
    incidentActionItemGroupIds string[]
    incidentActionItemKinds string[]
    incidentActionItemPriorities string[]
    incidentActionItemStatuses string[]
    incidentCondition string
    incidentConditionAcknowledgedAt string
    incidentConditionDetectedAt string
    incidentConditionEnvironment string
    incidentConditionFunctionality string
    incidentConditionGroup string
    incidentConditionIncidentRoles string
    incidentConditionIncidentType string
    incidentConditionKind string
    incidentConditionMitigatedAt string
    incidentConditionResolvedAt string
    incidentConditionService string
    incidentConditionSeverity string
    incidentConditionStartedAt string
    incidentConditionStatus string
    incidentConditionSummary string
    incidentConditionVisibility string
    incidentConditionalInactivity string
    incidentInactivityDuration string
    incidentKinds string[]
    incidentStatuses string[]
    incidentVisibilities string[]
    triggerType string
    triggers string[]
    incident_action_item_condition str
    incident_action_item_condition_group str
    incident_action_item_condition_kind str
    incident_action_item_condition_priority str
    incident_action_item_condition_status str
    incident_action_item_group_ids Sequence[str]
    incident_action_item_kinds Sequence[str]
    incident_action_item_priorities Sequence[str]
    incident_action_item_statuses Sequence[str]
    incident_condition str
    incident_condition_acknowledged_at str
    incident_condition_detected_at str
    incident_condition_environment str
    incident_condition_functionality str
    incident_condition_group str
    incident_condition_incident_roles str
    incident_condition_incident_type str
    incident_condition_kind str
    incident_condition_mitigated_at str
    incident_condition_resolved_at str
    incident_condition_service str
    incident_condition_severity str
    incident_condition_started_at str
    incident_condition_status str
    incident_condition_summary str
    incident_condition_visibility str
    incident_conditional_inactivity str
    incident_inactivity_duration str
    incident_kinds Sequence[str]
    incident_statuses Sequence[str]
    incident_visibilities Sequence[str]
    trigger_type str
    triggers Sequence[str]
    incidentActionItemCondition String
    incidentActionItemConditionGroup String
    incidentActionItemConditionKind String
    incidentActionItemConditionPriority String
    incidentActionItemConditionStatus String
    incidentActionItemGroupIds List<String>
    incidentActionItemKinds List<String>
    incidentActionItemPriorities List<String>
    incidentActionItemStatuses List<String>
    incidentCondition String
    incidentConditionAcknowledgedAt String
    incidentConditionDetectedAt String
    incidentConditionEnvironment String
    incidentConditionFunctionality String
    incidentConditionGroup String
    incidentConditionIncidentRoles String
    incidentConditionIncidentType String
    incidentConditionKind String
    incidentConditionMitigatedAt String
    incidentConditionResolvedAt String
    incidentConditionService String
    incidentConditionSeverity String
    incidentConditionStartedAt String
    incidentConditionStatus String
    incidentConditionSummary String
    incidentConditionVisibility String
    incidentConditionalInactivity String
    incidentInactivityDuration String
    incidentKinds List<String>
    incidentStatuses List<String>
    incidentVisibilities List<String>
    triggerType 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.

    rootly logo
    Rootly v1.0.1 published on Friday, Jun 2, 2023 by Rootly