1. Registry
  2. Packages
  3. Pulumi Delivery
  4. API Docs
  5. manual
Viewing docs for Pulumi Delivery v0.2.0
published on Wednesday, Nov 18, 2026 by Pulumi
Pulumi Delivery
Viewing docs for Pulumi Delivery v0.2.0
published on Wednesday, Nov 18, 2026 by Pulumi

    Builds a manual rule for the when property of a Stage. A manual gate waits until someone continues it. Continue it in the console or with a POST to the continue route of the gate. It works on every plan. To require named approvers, use approval(), which needs the Approvals feature.

    Example Usage

    import * as delivery from "@pulumi/delivery";
    
    const prod = new delivery.Stage("prod", {
        pipeline,
        from: [dev],
        when: delivery.manual({ name: "dashboards", description: "Check the dashboards before you continue." }),
    });
    

    Using manual

    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 manual(args: ManualArgs, opts?: InvokeOptions): Promise<ManualResult>
    function manualOutput(args: ManualOutputArgs, opts?: InvokeOutputOptions): Output<ManualResult>
    def manual(description: Optional[str] = None,
               name: Optional[str] = None,
               opts: Optional[InvokeOptions] = None) -> ManualResult
    def manual_output(description: pulumi.Input[Optional[str]] = None,
               name: pulumi.Input[Optional[str]] = None,
               opts: Optional[InvokeOutputOptions] = None) -> Output[ManualResult]
    func Manual(ctx *Context, args *ManualArgs, opts ...InvokeOption) (*ManualResult, error)
    func ManualOutput(ctx *Context, args *ManualOutputArgs, opts ...InvokeOption) ManualResultOutput

    > Note: This function is named Manual in the Go SDK.

    public static class Manual 
    {
        public static Task<ManualResult> InvokeAsync(ManualArgs args, InvokeOptions? opts = null)
        public static Output<ManualResult> Invoke(ManualInvokeArgs args, InvokeOptions? opts = null)
        public static Output<ManualResult> Invoke(ManualInvokeArgs args, InvokeOutputOptions opts)
    }
    public static CompletableFuture<ManualResult> manual(ManualArgs args, InvokeOptions options)
    public static Output<ManualResult> manual(ManualArgs args, InvokeOptions options)
    public static Output<ManualResult> manual(ManualArgs args, InvokeOutputOptions options)
    
    fn::invoke:
      function: delivery:manual
      arguments:
        # arguments dictionary
    data "delivery_manual" "name" {
        # arguments
    }

    The following arguments are supported:

    Description string
    Text for the person who continues the gate, for example what to check first.
    Name string
    Rule name. If you omit it, Delivery uses manual. Names must be unique within a gate.
    Description string
    Text for the person who continues the gate, for example what to check first.
    Name string
    Rule name. If you omit it, Delivery uses manual. Names must be unique within a gate.
    description string
    Text for the person who continues the gate, for example what to check first.
    name string
    Rule name. If you omit it, Delivery uses manual. Names must be unique within a gate.
    description String
    Text for the person who continues the gate, for example what to check first.
    name String
    Rule name. If you omit it, Delivery uses manual. Names must be unique within a gate.
    description string
    Text for the person who continues the gate, for example what to check first.
    name string
    Rule name. If you omit it, Delivery uses manual. Names must be unique within a gate.
    description str
    Text for the person who continues the gate, for example what to check first.
    name str
    Rule name. If you omit it, Delivery uses manual. Names must be unique within a gate.
    description String
    Text for the person who continues the gate, for example what to check first.
    name String
    Rule name. If you omit it, Delivery uses manual. Names must be unique within a gate.

    manual Result

    The following output properties are available:

    Kind string
    Kind of the rule. Valid values are approval, decision, http, manual, all, and any.
    Approvers List<string>
    Pulumi usernames or team names in the organization. If the list is empty, anyone with the pipeline:approve permission on the pipeline stack can approve.
    Body string
    HTTP request body. Secret values stay secret.
    Context Dictionary<string, object>
    Optional JSON-like context for a decision rule. Delivery rejects secret values and limits its encoded size to 16 KiB. Do not use it for credentials or other secrets.
    Count int
    Number of approvals required. If you omit it or set it to zero, one approval is required. Applies to approval rules.
    Description string
    Text for the person who continues a manual gate, for example what to check first.
    Headers Dictionary<string, string>
    HTTP request headers. Secret values stay secret.
    HeadersEnvironment string
    Name of an ESC environment that exports values.headers. Delivery sends these headers first, then the headers of the rule.
    Interval string
    Time between HTTP requests, as a Go duration, such as 1m. Use a whole number of seconds. The minimum is 60 seconds.
    Method string
    HTTP request method. The default is GET.
    Name string
    Rule name. Omit it to let Delivery assign one.
    Questions Dictionary<string, DecisionQuestion>
    Named judgments and their deterministic risk thresholds for a decision rule.
    Rules List<Rule>
    Child rules for all and any rules. At least one is required.
    SuccessExpression string
    JMESPath expression that Delivery evaluates on the status, headers and body of the HTTP response. The rule passes when the result is true. Required for http rules.
    Timeout string
    Timeout of each HTTP request, as a Go duration, such as 10s. Use a whole number of seconds from 1 to 20.
    Url string
    URL to call. Required for http rules.
    Kind string
    Kind of the rule. Valid values are approval, decision, http, manual, all, and any.
    Approvers []string
    Pulumi usernames or team names in the organization. If the list is empty, anyone with the pipeline:approve permission on the pipeline stack can approve.
    Body string
    HTTP request body. Secret values stay secret.
    Context map[string]interface{}
    Optional JSON-like context for a decision rule. Delivery rejects secret values and limits its encoded size to 16 KiB. Do not use it for credentials or other secrets.
    Count int
    Number of approvals required. If you omit it or set it to zero, one approval is required. Applies to approval rules.
    Description string
    Text for the person who continues a manual gate, for example what to check first.
    Headers map[string]string
    HTTP request headers. Secret values stay secret.
    HeadersEnvironment string
    Name of an ESC environment that exports values.headers. Delivery sends these headers first, then the headers of the rule.
    Interval string
    Time between HTTP requests, as a Go duration, such as 1m. Use a whole number of seconds. The minimum is 60 seconds.
    Method string
    HTTP request method. The default is GET.
    Name string
    Rule name. Omit it to let Delivery assign one.
    Questions map[string]DecisionQuestion
    Named judgments and their deterministic risk thresholds for a decision rule.
    Rules []Rule
    Child rules for all and any rules. At least one is required.
    SuccessExpression string
    JMESPath expression that Delivery evaluates on the status, headers and body of the HTTP response. The rule passes when the result is true. Required for http rules.
    Timeout string
    Timeout of each HTTP request, as a Go duration, such as 10s. Use a whole number of seconds from 1 to 20.
    Url string
    URL to call. Required for http rules.
    kind string
    Kind of the rule. Valid values are approval, decision, http, manual, all, and any.
    approvers list(string)
    Pulumi usernames or team names in the organization. If the list is empty, anyone with the pipeline:approve permission on the pipeline stack can approve.
    body string
    HTTP request body. Secret values stay secret.
    context map(any)
    Optional JSON-like context for a decision rule. Delivery rejects secret values and limits its encoded size to 16 KiB. Do not use it for credentials or other secrets.
    count number
    Number of approvals required. If you omit it or set it to zero, one approval is required. Applies to approval rules.
    description string
    Text for the person who continues a manual gate, for example what to check first.
    headers map(string)
    HTTP request headers. Secret values stay secret.
    headers_environment string
    Name of an ESC environment that exports values.headers. Delivery sends these headers first, then the headers of the rule.
    interval string
    Time between HTTP requests, as a Go duration, such as 1m. Use a whole number of seconds. The minimum is 60 seconds.
    method string
    HTTP request method. The default is GET.
    name string
    Rule name. Omit it to let Delivery assign one.
    questions map(object)
    Named judgments and their deterministic risk thresholds for a decision rule.
    rules list(object)
    Child rules for all and any rules. At least one is required.
    success_expression string
    JMESPath expression that Delivery evaluates on the status, headers and body of the HTTP response. The rule passes when the result is true. Required for http rules.
    timeout string
    Timeout of each HTTP request, as a Go duration, such as 10s. Use a whole number of seconds from 1 to 20.
    url string
    URL to call. Required for http rules.
    kind String
    Kind of the rule. Valid values are approval, decision, http, manual, all, and any.
    approvers List<String>
    Pulumi usernames or team names in the organization. If the list is empty, anyone with the pipeline:approve permission on the pipeline stack can approve.
    body String
    HTTP request body. Secret values stay secret.
    context Map<String,Object>
    Optional JSON-like context for a decision rule. Delivery rejects secret values and limits its encoded size to 16 KiB. Do not use it for credentials or other secrets.
    count Integer
    Number of approvals required. If you omit it or set it to zero, one approval is required. Applies to approval rules.
    description String
    Text for the person who continues a manual gate, for example what to check first.
    headers Map<String,String>
    HTTP request headers. Secret values stay secret.
    headersEnvironment String
    Name of an ESC environment that exports values.headers. Delivery sends these headers first, then the headers of the rule.
    interval String
    Time between HTTP requests, as a Go duration, such as 1m. Use a whole number of seconds. The minimum is 60 seconds.
    method String
    HTTP request method. The default is GET.
    name String
    Rule name. Omit it to let Delivery assign one.
    questions Map<String,DecisionQuestion>
    Named judgments and their deterministic risk thresholds for a decision rule.
    rules List<Rule>
    Child rules for all and any rules. At least one is required.
    successExpression String
    JMESPath expression that Delivery evaluates on the status, headers and body of the HTTP response. The rule passes when the result is true. Required for http rules.
    timeout String
    Timeout of each HTTP request, as a Go duration, such as 10s. Use a whole number of seconds from 1 to 20.
    url String
    URL to call. Required for http rules.
    kind string
    Kind of the rule. Valid values are approval, decision, http, manual, all, and any.
    approvers string[]
    Pulumi usernames or team names in the organization. If the list is empty, anyone with the pipeline:approve permission on the pipeline stack can approve.
    body string
    HTTP request body. Secret values stay secret.
    context {[key: string]: any}
    Optional JSON-like context for a decision rule. Delivery rejects secret values and limits its encoded size to 16 KiB. Do not use it for credentials or other secrets.
    count number
    Number of approvals required. If you omit it or set it to zero, one approval is required. Applies to approval rules.
    description string
    Text for the person who continues a manual gate, for example what to check first.
    headers {[key: string]: string}
    HTTP request headers. Secret values stay secret.
    headersEnvironment string
    Name of an ESC environment that exports values.headers. Delivery sends these headers first, then the headers of the rule.
    interval string
    Time between HTTP requests, as a Go duration, such as 1m. Use a whole number of seconds. The minimum is 60 seconds.
    method string
    HTTP request method. The default is GET.
    name string
    Rule name. Omit it to let Delivery assign one.
    questions {[key: string]: DecisionQuestion}
    Named judgments and their deterministic risk thresholds for a decision rule.
    rules Rule[]
    Child rules for all and any rules. At least one is required.
    successExpression string
    JMESPath expression that Delivery evaluates on the status, headers and body of the HTTP response. The rule passes when the result is true. Required for http rules.
    timeout string
    Timeout of each HTTP request, as a Go duration, such as 10s. Use a whole number of seconds from 1 to 20.
    url string
    URL to call. Required for http rules.
    kind str
    Kind of the rule. Valid values are approval, decision, http, manual, all, and any.
    approvers Sequence[str]
    Pulumi usernames or team names in the organization. If the list is empty, anyone with the pipeline:approve permission on the pipeline stack can approve.
    body str
    HTTP request body. Secret values stay secret.
    context Mapping[str, Any]
    Optional JSON-like context for a decision rule. Delivery rejects secret values and limits its encoded size to 16 KiB. Do not use it for credentials or other secrets.
    count int
    Number of approvals required. If you omit it or set it to zero, one approval is required. Applies to approval rules.
    description str
    Text for the person who continues a manual gate, for example what to check first.
    headers Mapping[str, str]
    HTTP request headers. Secret values stay secret.
    headers_environment str
    Name of an ESC environment that exports values.headers. Delivery sends these headers first, then the headers of the rule.
    interval str
    Time between HTTP requests, as a Go duration, such as 1m. Use a whole number of seconds. The minimum is 60 seconds.
    method str
    HTTP request method. The default is GET.
    name str
    Rule name. Omit it to let Delivery assign one.
    questions Mapping[str, DecisionQuestion]
    Named judgments and their deterministic risk thresholds for a decision rule.
    rules Sequence[Rule]
    Child rules for all and any rules. At least one is required.
    success_expression str
    JMESPath expression that Delivery evaluates on the status, headers and body of the HTTP response. The rule passes when the result is true. Required for http rules.
    timeout str
    Timeout of each HTTP request, as a Go duration, such as 10s. Use a whole number of seconds from 1 to 20.
    url str
    URL to call. Required for http rules.
    kind String
    Kind of the rule. Valid values are approval, decision, http, manual, all, and any.
    approvers List<String>
    Pulumi usernames or team names in the organization. If the list is empty, anyone with the pipeline:approve permission on the pipeline stack can approve.
    body String
    HTTP request body. Secret values stay secret.
    context Map<Any>
    Optional JSON-like context for a decision rule. Delivery rejects secret values and limits its encoded size to 16 KiB. Do not use it for credentials or other secrets.
    count Number
    Number of approvals required. If you omit it or set it to zero, one approval is required. Applies to approval rules.
    description String
    Text for the person who continues a manual gate, for example what to check first.
    headers Map<String>
    HTTP request headers. Secret values stay secret.
    headersEnvironment String
    Name of an ESC environment that exports values.headers. Delivery sends these headers first, then the headers of the rule.
    interval String
    Time between HTTP requests, as a Go duration, such as 1m. Use a whole number of seconds. The minimum is 60 seconds.
    method String
    HTTP request method. The default is GET.
    name String
    Rule name. Omit it to let Delivery assign one.
    questions Map<Property Map>
    Named judgments and their deterministic risk thresholds for a decision rule.
    rules List<Property Map>
    Child rules for all and any rules. At least one is required.
    successExpression String
    JMESPath expression that Delivery evaluates on the status, headers and body of the HTTP response. The rule passes when the result is true. Required for http rules.
    timeout String
    Timeout of each HTTP request, as a Go duration, such as 10s. Use a whole number of seconds from 1 to 20.
    url String
    URL to call. Required for http rules.

    Supporting Types

    DecisionQuestion

    Instructions string
    Question instructions for Delivery's configured decision engine.
    MaximumRisk double
    Largest permitted probability that the judgment is true, from zero to one.
    Instructions string
    Question instructions for Delivery's configured decision engine.
    MaximumRisk float64
    Largest permitted probability that the judgment is true, from zero to one.
    instructions string
    Question instructions for Delivery's configured decision engine.
    maximum_risk number
    Largest permitted probability that the judgment is true, from zero to one.
    instructions String
    Question instructions for Delivery's configured decision engine.
    maximumRisk Double
    Largest permitted probability that the judgment is true, from zero to one.
    instructions string
    Question instructions for Delivery's configured decision engine.
    maximumRisk number
    Largest permitted probability that the judgment is true, from zero to one.
    instructions str
    Question instructions for Delivery's configured decision engine.
    maximum_risk float
    Largest permitted probability that the judgment is true, from zero to one.
    instructions String
    Question instructions for Delivery's configured decision engine.
    maximumRisk Number
    Largest permitted probability that the judgment is true, from zero to one.

    Rule

    Kind string | Pulumi.Delivery.RuleKind
    Kind of the rule. Valid values are approval, decision, http, manual, all, and any.
    Approvers List<string>
    Pulumi usernames or team names in the organization. If the list is empty, anyone with the pipeline:approve permission on the pipeline stack can approve.
    Body string
    HTTP request body. Secret values stay secret.
    Context Dictionary<string, object>
    Optional JSON-like context for a decision rule. Delivery rejects secret values and limits its encoded size to 16 KiB. Do not use it for credentials or other secrets.
    Count int
    Number of approvals required. If you omit it or set it to zero, one approval is required. Applies to approval rules.
    Description string
    Text for the person who continues a manual gate, for example what to check first.
    Headers Dictionary<string, string>
    HTTP request headers. Secret values stay secret.
    HeadersEnvironment string
    Name of an ESC environment that exports values.headers. Delivery sends these headers first, then the headers of the rule.
    Interval string
    Time between HTTP requests, as a Go duration, such as 1m. Use a whole number of seconds. The minimum is 60 seconds.
    Method string
    HTTP request method. The default is GET.
    Name string
    Rule name. Omit it to let Delivery assign one.
    Questions Dictionary<string, DecisionQuestion>
    Named judgments and their deterministic risk thresholds for a decision rule.
    Rules List<Rule>
    Child rules for all and any rules. At least one is required.
    SuccessExpression string
    JMESPath expression that Delivery evaluates on the status, headers and body of the HTTP response. The rule passes when the result is true. Required for http rules.
    Timeout string
    Timeout of each HTTP request, as a Go duration, such as 10s. Use a whole number of seconds from 1 to 20.
    Url string
    URL to call. Required for http rules.
    Kind string | RuleKind
    Kind of the rule. Valid values are approval, decision, http, manual, all, and any.
    Approvers []string
    Pulumi usernames or team names in the organization. If the list is empty, anyone with the pipeline:approve permission on the pipeline stack can approve.
    Body string
    HTTP request body. Secret values stay secret.
    Context map[string]interface{}
    Optional JSON-like context for a decision rule. Delivery rejects secret values and limits its encoded size to 16 KiB. Do not use it for credentials or other secrets.
    Count int
    Number of approvals required. If you omit it or set it to zero, one approval is required. Applies to approval rules.
    Description string
    Text for the person who continues a manual gate, for example what to check first.
    Headers map[string]string
    HTTP request headers. Secret values stay secret.
    HeadersEnvironment string
    Name of an ESC environment that exports values.headers. Delivery sends these headers first, then the headers of the rule.
    Interval string
    Time between HTTP requests, as a Go duration, such as 1m. Use a whole number of seconds. The minimum is 60 seconds.
    Method string
    HTTP request method. The default is GET.
    Name string
    Rule name. Omit it to let Delivery assign one.
    Questions map[string]DecisionQuestion
    Named judgments and their deterministic risk thresholds for a decision rule.
    Rules []Rule
    Child rules for all and any rules. At least one is required.
    SuccessExpression string
    JMESPath expression that Delivery evaluates on the status, headers and body of the HTTP response. The rule passes when the result is true. Required for http rules.
    Timeout string
    Timeout of each HTTP request, as a Go duration, such as 10s. Use a whole number of seconds from 1 to 20.
    Url string
    URL to call. Required for http rules.
    kind string | "approval" | "decision" | "http" | "manual" | "all" | "any"
    Kind of the rule. Valid values are approval, decision, http, manual, all, and any.
    approvers list(string)
    Pulumi usernames or team names in the organization. If the list is empty, anyone with the pipeline:approve permission on the pipeline stack can approve.
    body string
    HTTP request body. Secret values stay secret.
    context map(any)
    Optional JSON-like context for a decision rule. Delivery rejects secret values and limits its encoded size to 16 KiB. Do not use it for credentials or other secrets.
    count number
    Number of approvals required. If you omit it or set it to zero, one approval is required. Applies to approval rules.
    description string
    Text for the person who continues a manual gate, for example what to check first.
    headers map(string)
    HTTP request headers. Secret values stay secret.
    headers_environment string
    Name of an ESC environment that exports values.headers. Delivery sends these headers first, then the headers of the rule.
    interval string
    Time between HTTP requests, as a Go duration, such as 1m. Use a whole number of seconds. The minimum is 60 seconds.
    method string
    HTTP request method. The default is GET.
    name string
    Rule name. Omit it to let Delivery assign one.
    questions map(object)
    Named judgments and their deterministic risk thresholds for a decision rule.
    rules list(object)
    Child rules for all and any rules. At least one is required.
    success_expression string
    JMESPath expression that Delivery evaluates on the status, headers and body of the HTTP response. The rule passes when the result is true. Required for http rules.
    timeout string
    Timeout of each HTTP request, as a Go duration, such as 10s. Use a whole number of seconds from 1 to 20.
    url string
    URL to call. Required for http rules.
    kind String | RuleKind
    Kind of the rule. Valid values are approval, decision, http, manual, all, and any.
    approvers List<String>
    Pulumi usernames or team names in the organization. If the list is empty, anyone with the pipeline:approve permission on the pipeline stack can approve.
    body String
    HTTP request body. Secret values stay secret.
    context Map<String,Object>
    Optional JSON-like context for a decision rule. Delivery rejects secret values and limits its encoded size to 16 KiB. Do not use it for credentials or other secrets.
    count Integer
    Number of approvals required. If you omit it or set it to zero, one approval is required. Applies to approval rules.
    description String
    Text for the person who continues a manual gate, for example what to check first.
    headers Map<String,String>
    HTTP request headers. Secret values stay secret.
    headersEnvironment String
    Name of an ESC environment that exports values.headers. Delivery sends these headers first, then the headers of the rule.
    interval String
    Time between HTTP requests, as a Go duration, such as 1m. Use a whole number of seconds. The minimum is 60 seconds.
    method String
    HTTP request method. The default is GET.
    name String
    Rule name. Omit it to let Delivery assign one.
    questions Map<String,DecisionQuestion>
    Named judgments and their deterministic risk thresholds for a decision rule.
    rules List<Rule>
    Child rules for all and any rules. At least one is required.
    successExpression String
    JMESPath expression that Delivery evaluates on the status, headers and body of the HTTP response. The rule passes when the result is true. Required for http rules.
    timeout String
    Timeout of each HTTP request, as a Go duration, such as 10s. Use a whole number of seconds from 1 to 20.
    url String
    URL to call. Required for http rules.
    kind string | RuleKind
    Kind of the rule. Valid values are approval, decision, http, manual, all, and any.
    approvers string[]
    Pulumi usernames or team names in the organization. If the list is empty, anyone with the pipeline:approve permission on the pipeline stack can approve.
    body string
    HTTP request body. Secret values stay secret.
    context {[key: string]: any}
    Optional JSON-like context for a decision rule. Delivery rejects secret values and limits its encoded size to 16 KiB. Do not use it for credentials or other secrets.
    count number
    Number of approvals required. If you omit it or set it to zero, one approval is required. Applies to approval rules.
    description string
    Text for the person who continues a manual gate, for example what to check first.
    headers {[key: string]: string}
    HTTP request headers. Secret values stay secret.
    headersEnvironment string
    Name of an ESC environment that exports values.headers. Delivery sends these headers first, then the headers of the rule.
    interval string
    Time between HTTP requests, as a Go duration, such as 1m. Use a whole number of seconds. The minimum is 60 seconds.
    method string
    HTTP request method. The default is GET.
    name string
    Rule name. Omit it to let Delivery assign one.
    questions {[key: string]: DecisionQuestion}
    Named judgments and their deterministic risk thresholds for a decision rule.
    rules Rule[]
    Child rules for all and any rules. At least one is required.
    successExpression string
    JMESPath expression that Delivery evaluates on the status, headers and body of the HTTP response. The rule passes when the result is true. Required for http rules.
    timeout string
    Timeout of each HTTP request, as a Go duration, such as 10s. Use a whole number of seconds from 1 to 20.
    url string
    URL to call. Required for http rules.
    kind str | RuleKind
    Kind of the rule. Valid values are approval, decision, http, manual, all, and any.
    approvers Sequence[str]
    Pulumi usernames or team names in the organization. If the list is empty, anyone with the pipeline:approve permission on the pipeline stack can approve.
    body str
    HTTP request body. Secret values stay secret.
    context Mapping[str, Any]
    Optional JSON-like context for a decision rule. Delivery rejects secret values and limits its encoded size to 16 KiB. Do not use it for credentials or other secrets.
    count int
    Number of approvals required. If you omit it or set it to zero, one approval is required. Applies to approval rules.
    description str
    Text for the person who continues a manual gate, for example what to check first.
    headers Mapping[str, str]
    HTTP request headers. Secret values stay secret.
    headers_environment str
    Name of an ESC environment that exports values.headers. Delivery sends these headers first, then the headers of the rule.
    interval str
    Time between HTTP requests, as a Go duration, such as 1m. Use a whole number of seconds. The minimum is 60 seconds.
    method str
    HTTP request method. The default is GET.
    name str
    Rule name. Omit it to let Delivery assign one.
    questions Mapping[str, DecisionQuestion]
    Named judgments and their deterministic risk thresholds for a decision rule.
    rules Sequence[Rule]
    Child rules for all and any rules. At least one is required.
    success_expression str
    JMESPath expression that Delivery evaluates on the status, headers and body of the HTTP response. The rule passes when the result is true. Required for http rules.
    timeout str
    Timeout of each HTTP request, as a Go duration, such as 10s. Use a whole number of seconds from 1 to 20.
    url str
    URL to call. Required for http rules.
    kind String | "approval" | "decision" | "http" | "manual" | "all" | "any"
    Kind of the rule. Valid values are approval, decision, http, manual, all, and any.
    approvers List<String>
    Pulumi usernames or team names in the organization. If the list is empty, anyone with the pipeline:approve permission on the pipeline stack can approve.
    body String
    HTTP request body. Secret values stay secret.
    context Map<Any>
    Optional JSON-like context for a decision rule. Delivery rejects secret values and limits its encoded size to 16 KiB. Do not use it for credentials or other secrets.
    count Number
    Number of approvals required. If you omit it or set it to zero, one approval is required. Applies to approval rules.
    description String
    Text for the person who continues a manual gate, for example what to check first.
    headers Map<String>
    HTTP request headers. Secret values stay secret.
    headersEnvironment String
    Name of an ESC environment that exports values.headers. Delivery sends these headers first, then the headers of the rule.
    interval String
    Time between HTTP requests, as a Go duration, such as 1m. Use a whole number of seconds. The minimum is 60 seconds.
    method String
    HTTP request method. The default is GET.
    name String
    Rule name. Omit it to let Delivery assign one.
    questions Map<Property Map>
    Named judgments and their deterministic risk thresholds for a decision rule.
    rules List<Property Map>
    Child rules for all and any rules. At least one is required.
    successExpression String
    JMESPath expression that Delivery evaluates on the status, headers and body of the HTTP response. The rule passes when the result is true. Required for http rules.
    timeout String
    Timeout of each HTTP request, as a Go duration, such as 10s. Use a whole number of seconds from 1 to 20.
    url String
    URL to call. Required for http rules.

    RuleKind

    NameValue
    Approvalapproval
    Decisiondecision
    Httphttp
    Manualmanual
    Allall
    Anyany
    NameValue
    RuleKindApprovalapproval
    RuleKindDecisiondecision
    RuleKindHttphttp
    RuleKindManualmanual
    RuleKindAllall
    RuleKindAnyany
    Value
    approval
    decision
    http
    manual
    all
    any
    NameValue
    Approvalapproval
    Decisiondecision
    Httphttp
    Manualmanual
    Allall
    Anyany
    NameValue
    Approvalapproval
    Decisiondecision
    Httphttp
    Manualmanual
    Allall
    Anyany
    NameValue
    APPROVALapproval
    DECISIONdecision
    HTTPhttp
    MANUALmanual
    ALLall
    ANYany
    Value
    approval
    decision
    http
    manual
    all
    any

    Package Details

    Repository
    delivery pulumi/pulumi-delivery
    License
    Apache-2.0
    Pulumi Delivery
    Viewing docs for Pulumi Delivery v0.2.0
    published on Wednesday, Nov 18, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial