Viewing docs for Pulumi Delivery v0.2.0
published on Wednesday, Nov 18, 2026 by Pulumi
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
published on Wednesday, Nov 18, 2026 by Pulumi
Builds an any rule for the when property of a Stage. The rule passes when one child rule passes.
Example Usage
import * as delivery from "@pulumi/delivery";
const prod = new delivery.Stage("prod", {
pipeline,
from: [dev],
when: delivery.anyOfOutput({
rules: [delivery.approvalOutput({ approvers: ["your-username"] }), delivery.manualOutput()],
}),
});
Using anyOf
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 anyOf(args: AnyOfArgs, opts?: InvokeOptions): Promise<AnyOfResult>
function anyOfOutput(args: AnyOfOutputArgs, opts?: InvokeOutputOptions): Output<AnyOfResult>def any_of(name: Optional[str] = None,
rules: Optional[Sequence[Rule]] = None,
opts: Optional[InvokeOptions] = None) -> AnyOfResult
def any_of_output(name: pulumi.Input[Optional[str]] = None,
rules: pulumi.Input[Optional[Sequence[pulumi.Input[RuleArgs]]]] = None,
opts: Optional[InvokeOutputOptions] = None) -> Output[AnyOfResult]func AnyOf(ctx *Context, args *AnyOfArgs, opts ...InvokeOption) (*AnyOfResult, error)
func AnyOfOutput(ctx *Context, args *AnyOfOutputArgs, opts ...InvokeOption) AnyOfResultOutput> Note: This function is named AnyOf in the Go SDK.
public static class AnyOf
{
public static Task<AnyOfResult> InvokeAsync(AnyOfArgs args, InvokeOptions? opts = null)
public static Output<AnyOfResult> Invoke(AnyOfInvokeArgs args, InvokeOptions? opts = null)
public static Output<AnyOfResult> Invoke(AnyOfInvokeArgs args, InvokeOutputOptions opts)
}public static CompletableFuture<AnyOfResult> anyOf(AnyOfArgs args, InvokeOptions options)
public static Output<AnyOfResult> anyOf(AnyOfArgs args, InvokeOptions options)
public static Output<AnyOfResult> anyOf(AnyOfArgs args, InvokeOutputOptions options)
fn::invoke:
function: delivery:anyOf
arguments:
# arguments dictionarydata "delivery_any_of" "name" {
# arguments
}The following arguments are supported:
- Rules List<Rule>
- Child rules. At least one is required. A rule can contain other rules, up to three levels deep.
- Name string
- Rule name. Omit it to let Delivery assign one.
- rules list(object)
- Child rules. At least one is required. A rule can contain other rules, up to three levels deep.
- name string
- Rule name. Omit it to let Delivery assign one.
- rules List<Rule>
- Child rules. At least one is required. A rule can contain other rules, up to three levels deep.
- name String
- Rule name. Omit it to let Delivery assign one.
- rules Sequence[Rule]
- Child rules. At least one is required. A rule can contain other rules, up to three levels deep.
- name str
- Rule name. Omit it to let Delivery assign one.
- rules List<Property Map>
- Child rules. At least one is required. A rule can contain other rules, up to three levels deep.
- name String
- Rule name. Omit it to let Delivery assign one.
anyOf 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.
- 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
Dictionary<string, Decision
Question> - 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.
- 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 []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.
- 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[string]Decision
Question - 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.
- 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(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.
- 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<String,Decision
Question> - 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.
- 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 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.
- 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
{[key: string]: Decision
Question} - 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.
- 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 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, Decision
Question] - 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.
- 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<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.
- 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.
Supporting Types
DecisionQuestion
- Instructions string
- Question instructions for Delivery's configured decision engine.
- Maximum
Risk double - Largest permitted probability that the judgment is true, from zero to one.
- Instructions string
- Question instructions for Delivery's configured decision engine.
- Maximum
Risk 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.
- maximum
Risk Double - 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 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.
- maximum
Risk Number - Largest permitted probability that the judgment is true, from zero to one.
Rule
- Kind
string | Pulumi.
Delivery. Rule Kind - 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.
- 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
Dictionary<string, Decision
Question> - 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.
- 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 | Rule
Kind - 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.
- 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[string]Decision
Question - 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.
- 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 | "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 | Rule
Kind - 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.
- 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<String,Decision
Question> - 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.
- 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 | Rule
Kind - 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.
- 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
{[key: string]: Decision
Question} - 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.
- 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
str | Rule
Kind - 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, Decision
Question] - 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.
- 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<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.
- 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.
RuleKind
| Name | Value |
|---|---|
| Approval | approval |
| Decision | decision |
| Http | http |
| Manual | manual |
| All | all |
| Any | any |
| Name | Value |
|---|---|
| Rule | approval |
| Rule | decision |
| Rule | http |
| Rule | manual |
| Rule | all |
| Rule | any |
| Value |
|---|
approval |
decision |
http |
manual |
all |
any |
| Name | Value |
|---|---|
| Approval | approval |
| Decision | decision |
| Http | http |
| Manual | manual |
| All | all |
| Any | any |
| Name | Value |
|---|---|
| Approval | approval |
| Decision | decision |
| Http | http |
| Manual | manual |
| All | all |
| Any | any |
| Name | Value |
|---|---|
| APPROVAL | approval |
| DECISION | decision |
| HTTP | http |
| MANUAL | manual |
| ALL | all |
| ANY | any |
| 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
published on Wednesday, Nov 18, 2026 by Pulumi