1. Packages
  2. Packages
  3. Cloudflare Provider
  4. API Docs
  5. getFlagshipFlag
Viewing docs for Cloudflare v6.18.0
published on Thursday, Jul 16, 2026 by Pulumi
cloudflare logo
Viewing docs for Cloudflare v6.18.0
published on Thursday, Jul 16, 2026 by Pulumi

    Accepted Permissions

    • Flagship Read

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as cloudflare from "@pulumi/cloudflare";
    
    const exampleFlagshipFlag = cloudflare.getFlagshipFlag({
        accountId: "account_id",
        appId: "app_id",
        flagKey: "flag_key",
    });
    
    import pulumi
    import pulumi_cloudflare as cloudflare
    
    example_flagship_flag = cloudflare.get_flagship_flag(account_id="account_id",
        app_id="app_id",
        flag_key="flag_key")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-cloudflare/sdk/v6/go/cloudflare"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := cloudflare.GetFlagshipFlag(ctx, &cloudflare.LookupFlagshipFlagArgs{
    			AccountId: "account_id",
    			AppId:     "app_id",
    			FlagKey:   "flag_key",
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Cloudflare = Pulumi.Cloudflare;
    
    return await Deployment.RunAsync(() => 
    {
        var exampleFlagshipFlag = Cloudflare.GetFlagshipFlag.Invoke(new()
        {
            AccountId = "account_id",
            AppId = "app_id",
            FlagKey = "flag_key",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.cloudflare.CloudflareFunctions;
    import com.pulumi.cloudflare.inputs.GetFlagshipFlagArgs;
    import java.util.ArrayList;
    import java.util.Arrays;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            final var exampleFlagshipFlag = CloudflareFunctions.getFlagshipFlag(GetFlagshipFlagArgs.builder()
                .accountId("account_id")
                .appId("app_id")
                .flagKey("flag_key")
                .build());
    
        }
    }
    
    variables:
      exampleFlagshipFlag:
        fn::invoke:
          function: cloudflare:getFlagshipFlag
          arguments:
            accountId: account_id
            appId: app_id
            flagKey: flag_key
    
    pulumi {
      required_providers {
        cloudflare = {
          source = "pulumi/cloudflare"
        }
      }
    }
    
    data "cloudflare_getflagshipflag" "exampleFlagshipFlag" {
      account_id = "account_id"
      app_id     = "app_id"
      flag_key   = "flag_key"
    }
    

    Using getFlagshipFlag

    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 getFlagshipFlag(args: GetFlagshipFlagArgs, opts?: InvokeOptions): Promise<GetFlagshipFlagResult>
    function getFlagshipFlagOutput(args: GetFlagshipFlagOutputArgs, opts?: InvokeOptions): Output<GetFlagshipFlagResult>
    def get_flagship_flag(account_id: Optional[str] = None,
                          app_id: Optional[str] = None,
                          flag_key: Optional[str] = None,
                          opts: Optional[InvokeOptions] = None) -> GetFlagshipFlagResult
    def get_flagship_flag_output(account_id: pulumi.Input[Optional[str]] = None,
                          app_id: pulumi.Input[Optional[str]] = None,
                          flag_key: pulumi.Input[Optional[str]] = None,
                          opts: Optional[InvokeOptions] = None) -> Output[GetFlagshipFlagResult]
    func LookupFlagshipFlag(ctx *Context, args *LookupFlagshipFlagArgs, opts ...InvokeOption) (*LookupFlagshipFlagResult, error)
    func LookupFlagshipFlagOutput(ctx *Context, args *LookupFlagshipFlagOutputArgs, opts ...InvokeOption) LookupFlagshipFlagResultOutput

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

    public static class GetFlagshipFlag 
    {
        public static Task<GetFlagshipFlagResult> InvokeAsync(GetFlagshipFlagArgs args, InvokeOptions? opts = null)
        public static Output<GetFlagshipFlagResult> Invoke(GetFlagshipFlagInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetFlagshipFlagResult> getFlagshipFlag(GetFlagshipFlagArgs args, InvokeOptions options)
    public static Output<GetFlagshipFlagResult> getFlagshipFlag(GetFlagshipFlagArgs args, InvokeOptions options)
    
    fn::invoke:
      function: cloudflare:index/getFlagshipFlag:getFlagshipFlag
      arguments:
        # arguments dictionary
    data "cloudflare_get_flagship_flag" "name" {
        # arguments
    }

    The following arguments are supported:

    AccountId string
    Cloudflare account ID.
    AppId string
    App identifier.
    FlagKey string
    Flag key (slug).
    AccountId string
    Cloudflare account ID.
    AppId string
    App identifier.
    FlagKey string
    Flag key (slug).
    account_id string
    Cloudflare account ID.
    app_id string
    App identifier.
    flag_key string
    Flag key (slug).
    accountId String
    Cloudflare account ID.
    appId String
    App identifier.
    flagKey String
    Flag key (slug).
    accountId string
    Cloudflare account ID.
    appId string
    App identifier.
    flagKey string
    Flag key (slug).
    account_id str
    Cloudflare account ID.
    app_id str
    App identifier.
    flag_key str
    Flag key (slug).
    accountId String
    Cloudflare account ID.
    appId String
    App identifier.
    flagKey String
    Flag key (slug).

    getFlagshipFlag Result

    The following output properties are available:

    AccountId string
    Cloudflare account ID.
    AppId string
    App identifier.
    DefaultVariation string
    Variation served when no rule matches or the flag is disabled. Must be a key in variations.
    Description string
    Enabled bool
    When false, the flag bypasses all rules and always serves defaultVariation.
    FlagKey string
    Flag key (slug).
    Id string
    The provider-assigned unique ID for this managed resource.
    Key string
    Unique identifier for the flag within an app. Used in all evaluation and SDK calls.
    Rules List<GetFlagshipFlagRule>
    Targeting rules evaluated in ascending priority; the first matching rule wins. An empty array means the flag always serves defaultVariation.
    Type string
    Value type of the flag's variations. Inferred from the variation values on write, so it may be omitted in requests. Available values: "boolean", "string", "number", "json".
    UpdatedAt string
    UpdatedBy string
    Variations Dictionary<string, string>
    Map of variation name to value. All values must be the same type (boolean, string, number, or JSON object/array). Each serialized value must be 10KB or smaller.
    AccountId string
    Cloudflare account ID.
    AppId string
    App identifier.
    DefaultVariation string
    Variation served when no rule matches or the flag is disabled. Must be a key in variations.
    Description string
    Enabled bool
    When false, the flag bypasses all rules and always serves defaultVariation.
    FlagKey string
    Flag key (slug).
    Id string
    The provider-assigned unique ID for this managed resource.
    Key string
    Unique identifier for the flag within an app. Used in all evaluation and SDK calls.
    Rules []GetFlagshipFlagRule
    Targeting rules evaluated in ascending priority; the first matching rule wins. An empty array means the flag always serves defaultVariation.
    Type string
    Value type of the flag's variations. Inferred from the variation values on write, so it may be omitted in requests. Available values: "boolean", "string", "number", "json".
    UpdatedAt string
    UpdatedBy string
    Variations map[string]string
    Map of variation name to value. All values must be the same type (boolean, string, number, or JSON object/array). Each serialized value must be 10KB or smaller.
    account_id string
    Cloudflare account ID.
    app_id string
    App identifier.
    default_variation string
    Variation served when no rule matches or the flag is disabled. Must be a key in variations.
    description string
    enabled bool
    When false, the flag bypasses all rules and always serves defaultVariation.
    flag_key string
    Flag key (slug).
    id string
    The provider-assigned unique ID for this managed resource.
    key string
    Unique identifier for the flag within an app. Used in all evaluation and SDK calls.
    rules list(object)
    Targeting rules evaluated in ascending priority; the first matching rule wins. An empty array means the flag always serves defaultVariation.
    type string
    Value type of the flag's variations. Inferred from the variation values on write, so it may be omitted in requests. Available values: "boolean", "string", "number", "json".
    updated_at string
    updated_by string
    variations map(string)
    Map of variation name to value. All values must be the same type (boolean, string, number, or JSON object/array). Each serialized value must be 10KB or smaller.
    accountId String
    Cloudflare account ID.
    appId String
    App identifier.
    defaultVariation String
    Variation served when no rule matches or the flag is disabled. Must be a key in variations.
    description String
    enabled Boolean
    When false, the flag bypasses all rules and always serves defaultVariation.
    flagKey String
    Flag key (slug).
    id String
    The provider-assigned unique ID for this managed resource.
    key String
    Unique identifier for the flag within an app. Used in all evaluation and SDK calls.
    rules List<GetFlagshipFlagRule>
    Targeting rules evaluated in ascending priority; the first matching rule wins. An empty array means the flag always serves defaultVariation.
    type String
    Value type of the flag's variations. Inferred from the variation values on write, so it may be omitted in requests. Available values: "boolean", "string", "number", "json".
    updatedAt String
    updatedBy String
    variations Map<String,String>
    Map of variation name to value. All values must be the same type (boolean, string, number, or JSON object/array). Each serialized value must be 10KB or smaller.
    accountId string
    Cloudflare account ID.
    appId string
    App identifier.
    defaultVariation string
    Variation served when no rule matches or the flag is disabled. Must be a key in variations.
    description string
    enabled boolean
    When false, the flag bypasses all rules and always serves defaultVariation.
    flagKey string
    Flag key (slug).
    id string
    The provider-assigned unique ID for this managed resource.
    key string
    Unique identifier for the flag within an app. Used in all evaluation and SDK calls.
    rules GetFlagshipFlagRule[]
    Targeting rules evaluated in ascending priority; the first matching rule wins. An empty array means the flag always serves defaultVariation.
    type string
    Value type of the flag's variations. Inferred from the variation values on write, so it may be omitted in requests. Available values: "boolean", "string", "number", "json".
    updatedAt string
    updatedBy string
    variations {[key: string]: string}
    Map of variation name to value. All values must be the same type (boolean, string, number, or JSON object/array). Each serialized value must be 10KB or smaller.
    account_id str
    Cloudflare account ID.
    app_id str
    App identifier.
    default_variation str
    Variation served when no rule matches or the flag is disabled. Must be a key in variations.
    description str
    enabled bool
    When false, the flag bypasses all rules and always serves defaultVariation.
    flag_key str
    Flag key (slug).
    id str
    The provider-assigned unique ID for this managed resource.
    key str
    Unique identifier for the flag within an app. Used in all evaluation and SDK calls.
    rules Sequence[GetFlagshipFlagRule]
    Targeting rules evaluated in ascending priority; the first matching rule wins. An empty array means the flag always serves defaultVariation.
    type str
    Value type of the flag's variations. Inferred from the variation values on write, so it may be omitted in requests. Available values: "boolean", "string", "number", "json".
    updated_at str
    updated_by str
    variations Mapping[str, str]
    Map of variation name to value. All values must be the same type (boolean, string, number, or JSON object/array). Each serialized value must be 10KB or smaller.
    accountId String
    Cloudflare account ID.
    appId String
    App identifier.
    defaultVariation String
    Variation served when no rule matches or the flag is disabled. Must be a key in variations.
    description String
    enabled Boolean
    When false, the flag bypasses all rules and always serves defaultVariation.
    flagKey String
    Flag key (slug).
    id String
    The provider-assigned unique ID for this managed resource.
    key String
    Unique identifier for the flag within an app. Used in all evaluation and SDK calls.
    rules List<Property Map>
    Targeting rules evaluated in ascending priority; the first matching rule wins. An empty array means the flag always serves defaultVariation.
    type String
    Value type of the flag's variations. Inferred from the variation values on write, so it may be omitted in requests. Available values: "boolean", "string", "number", "json".
    updatedAt String
    updatedBy String
    variations Map<String>
    Map of variation name to value. All values must be the same type (boolean, string, number, or JSON object/array). Each serialized value must be 10KB or smaller.

    Supporting Types

    GetFlagshipFlagRule

    Conditions List<GetFlagshipFlagRuleCondition>
    Conditions the context must satisfy for this rule to match. An empty array matches all contexts.
    Priority int
    Evaluation order; lower numbers are evaluated first. Must be unique across the flag's rules.
    Rollout GetFlagshipFlagRuleRollout
    ServeVariation string
    Variation served when this rule matches. Must be a key in variations.
    Conditions []GetFlagshipFlagRuleCondition
    Conditions the context must satisfy for this rule to match. An empty array matches all contexts.
    Priority int
    Evaluation order; lower numbers are evaluated first. Must be unique across the flag's rules.
    Rollout GetFlagshipFlagRuleRollout
    ServeVariation string
    Variation served when this rule matches. Must be a key in variations.
    conditions list(object)
    Conditions the context must satisfy for this rule to match. An empty array matches all contexts.
    priority number
    Evaluation order; lower numbers are evaluated first. Must be unique across the flag's rules.
    rollout object
    serve_variation string
    Variation served when this rule matches. Must be a key in variations.
    conditions List<GetFlagshipFlagRuleCondition>
    Conditions the context must satisfy for this rule to match. An empty array matches all contexts.
    priority Integer
    Evaluation order; lower numbers are evaluated first. Must be unique across the flag's rules.
    rollout GetFlagshipFlagRuleRollout
    serveVariation String
    Variation served when this rule matches. Must be a key in variations.
    conditions GetFlagshipFlagRuleCondition[]
    Conditions the context must satisfy for this rule to match. An empty array matches all contexts.
    priority number
    Evaluation order; lower numbers are evaluated first. Must be unique across the flag's rules.
    rollout GetFlagshipFlagRuleRollout
    serveVariation string
    Variation served when this rule matches. Must be a key in variations.
    conditions Sequence[GetFlagshipFlagRuleCondition]
    Conditions the context must satisfy for this rule to match. An empty array matches all contexts.
    priority int
    Evaluation order; lower numbers are evaluated first. Must be unique across the flag's rules.
    rollout GetFlagshipFlagRuleRollout
    serve_variation str
    Variation served when this rule matches. Must be a key in variations.
    conditions List<Property Map>
    Conditions the context must satisfy for this rule to match. An empty array matches all contexts.
    priority Number
    Evaluation order; lower numbers are evaluated first. Must be unique across the flag's rules.
    rollout Property Map
    serveVariation String
    Variation served when this rule matches. Must be a key in variations.

    GetFlagshipFlagRuleCondition

    Attribute string
    Clauses List<GetFlagshipFlagRuleConditionClause>
    LogicalOperator string
    Available values: "AND", "OR".
    Operator string
    Available values: "equals", "notequals", "greaterthan", "lessthan", "greaterthanorequals", "lessthanorequals", "contains", "startswith", "endswith", "in", "notin".
    Value string
    Value to compare against the context attribute. Must be an array for in and notIn; numeric and ISO-8601 datetime strings are accepted by the ordering operators.
    Attribute string
    Clauses []GetFlagshipFlagRuleConditionClause
    LogicalOperator string
    Available values: "AND", "OR".
    Operator string
    Available values: "equals", "notequals", "greaterthan", "lessthan", "greaterthanorequals", "lessthanorequals", "contains", "startswith", "endswith", "in", "notin".
    Value string
    Value to compare against the context attribute. Must be an array for in and notIn; numeric and ISO-8601 datetime strings are accepted by the ordering operators.
    attribute string
    clauses list(object)
    logical_operator string
    Available values: "AND", "OR".
    operator string
    Available values: "equals", "notequals", "greaterthan", "lessthan", "greaterthanorequals", "lessthanorequals", "contains", "startswith", "endswith", "in", "notin".
    value string
    Value to compare against the context attribute. Must be an array for in and notIn; numeric and ISO-8601 datetime strings are accepted by the ordering operators.
    attribute String
    clauses List<GetFlagshipFlagRuleConditionClause>
    logicalOperator String
    Available values: "AND", "OR".
    operator String
    Available values: "equals", "notequals", "greaterthan", "lessthan", "greaterthanorequals", "lessthanorequals", "contains", "startswith", "endswith", "in", "notin".
    value String
    Value to compare against the context attribute. Must be an array for in and notIn; numeric and ISO-8601 datetime strings are accepted by the ordering operators.
    attribute string
    clauses GetFlagshipFlagRuleConditionClause[]
    logicalOperator string
    Available values: "AND", "OR".
    operator string
    Available values: "equals", "notequals", "greaterthan", "lessthan", "greaterthanorequals", "lessthanorequals", "contains", "startswith", "endswith", "in", "notin".
    value string
    Value to compare against the context attribute. Must be an array for in and notIn; numeric and ISO-8601 datetime strings are accepted by the ordering operators.
    attribute str
    clauses Sequence[GetFlagshipFlagRuleConditionClause]
    logical_operator str
    Available values: "AND", "OR".
    operator str
    Available values: "equals", "notequals", "greaterthan", "lessthan", "greaterthanorequals", "lessthanorequals", "contains", "startswith", "endswith", "in", "notin".
    value str
    Value to compare against the context attribute. Must be an array for in and notIn; numeric and ISO-8601 datetime strings are accepted by the ordering operators.
    attribute String
    clauses List<Property Map>
    logicalOperator String
    Available values: "AND", "OR".
    operator String
    Available values: "equals", "notequals", "greaterthan", "lessthan", "greaterthanorequals", "lessthanorequals", "contains", "startswith", "endswith", "in", "notin".
    value String
    Value to compare against the context attribute. Must be an array for in and notIn; numeric and ISO-8601 datetime strings are accepted by the ordering operators.

    GetFlagshipFlagRuleConditionClause

    Attribute string
    Clauses List<GetFlagshipFlagRuleConditionClauseClause>
    LogicalOperator string
    Available values: "AND", "OR".
    Operator string
    Available values: "equals", "notequals", "greaterthan", "lessthan", "greaterthanorequals", "lessthanorequals", "contains", "startswith", "endswith", "in", "notin".
    Value string
    Value to compare against the context attribute. Must be an array for in and notIn; numeric and ISO-8601 datetime strings are accepted by the ordering operators.
    Attribute string
    Clauses []GetFlagshipFlagRuleConditionClauseClause
    LogicalOperator string
    Available values: "AND", "OR".
    Operator string
    Available values: "equals", "notequals", "greaterthan", "lessthan", "greaterthanorequals", "lessthanorequals", "contains", "startswith", "endswith", "in", "notin".
    Value string
    Value to compare against the context attribute. Must be an array for in and notIn; numeric and ISO-8601 datetime strings are accepted by the ordering operators.
    attribute string
    clauses list(object)
    logical_operator string
    Available values: "AND", "OR".
    operator string
    Available values: "equals", "notequals", "greaterthan", "lessthan", "greaterthanorequals", "lessthanorequals", "contains", "startswith", "endswith", "in", "notin".
    value string
    Value to compare against the context attribute. Must be an array for in and notIn; numeric and ISO-8601 datetime strings are accepted by the ordering operators.
    attribute String
    clauses List<GetFlagshipFlagRuleConditionClauseClause>
    logicalOperator String
    Available values: "AND", "OR".
    operator String
    Available values: "equals", "notequals", "greaterthan", "lessthan", "greaterthanorequals", "lessthanorequals", "contains", "startswith", "endswith", "in", "notin".
    value String
    Value to compare against the context attribute. Must be an array for in and notIn; numeric and ISO-8601 datetime strings are accepted by the ordering operators.
    attribute string
    clauses GetFlagshipFlagRuleConditionClauseClause[]
    logicalOperator string
    Available values: "AND", "OR".
    operator string
    Available values: "equals", "notequals", "greaterthan", "lessthan", "greaterthanorequals", "lessthanorequals", "contains", "startswith", "endswith", "in", "notin".
    value string
    Value to compare against the context attribute. Must be an array for in and notIn; numeric and ISO-8601 datetime strings are accepted by the ordering operators.
    attribute str
    clauses Sequence[GetFlagshipFlagRuleConditionClauseClause]
    logical_operator str
    Available values: "AND", "OR".
    operator str
    Available values: "equals", "notequals", "greaterthan", "lessthan", "greaterthanorequals", "lessthanorequals", "contains", "startswith", "endswith", "in", "notin".
    value str
    Value to compare against the context attribute. Must be an array for in and notIn; numeric and ISO-8601 datetime strings are accepted by the ordering operators.
    attribute String
    clauses List<Property Map>
    logicalOperator String
    Available values: "AND", "OR".
    operator String
    Available values: "equals", "notequals", "greaterthan", "lessthan", "greaterthanorequals", "lessthanorequals", "contains", "startswith", "endswith", "in", "notin".
    value String
    Value to compare against the context attribute. Must be an array for in and notIn; numeric and ISO-8601 datetime strings are accepted by the ordering operators.

    GetFlagshipFlagRuleConditionClauseClause

    Attribute string
    Clauses List<GetFlagshipFlagRuleConditionClauseClauseClause>
    LogicalOperator string
    Available values: "AND", "OR".
    Operator string
    Available values: "equals", "notequals", "greaterthan", "lessthan", "greaterthanorequals", "lessthanorequals", "contains", "startswith", "endswith", "in", "notin".
    Value string
    Value to compare against the context attribute. Must be an array for in and notIn; numeric and ISO-8601 datetime strings are accepted by the ordering operators.
    Attribute string
    Clauses []GetFlagshipFlagRuleConditionClauseClauseClause
    LogicalOperator string
    Available values: "AND", "OR".
    Operator string
    Available values: "equals", "notequals", "greaterthan", "lessthan", "greaterthanorequals", "lessthanorequals", "contains", "startswith", "endswith", "in", "notin".
    Value string
    Value to compare against the context attribute. Must be an array for in and notIn; numeric and ISO-8601 datetime strings are accepted by the ordering operators.
    attribute string
    clauses list(object)
    logical_operator string
    Available values: "AND", "OR".
    operator string
    Available values: "equals", "notequals", "greaterthan", "lessthan", "greaterthanorequals", "lessthanorequals", "contains", "startswith", "endswith", "in", "notin".
    value string
    Value to compare against the context attribute. Must be an array for in and notIn; numeric and ISO-8601 datetime strings are accepted by the ordering operators.
    attribute String
    clauses List<GetFlagshipFlagRuleConditionClauseClauseClause>
    logicalOperator String
    Available values: "AND", "OR".
    operator String
    Available values: "equals", "notequals", "greaterthan", "lessthan", "greaterthanorequals", "lessthanorequals", "contains", "startswith", "endswith", "in", "notin".
    value String
    Value to compare against the context attribute. Must be an array for in and notIn; numeric and ISO-8601 datetime strings are accepted by the ordering operators.
    attribute string
    clauses GetFlagshipFlagRuleConditionClauseClauseClause[]
    logicalOperator string
    Available values: "AND", "OR".
    operator string
    Available values: "equals", "notequals", "greaterthan", "lessthan", "greaterthanorequals", "lessthanorequals", "contains", "startswith", "endswith", "in", "notin".
    value string
    Value to compare against the context attribute. Must be an array for in and notIn; numeric and ISO-8601 datetime strings are accepted by the ordering operators.
    attribute str
    clauses Sequence[GetFlagshipFlagRuleConditionClauseClauseClause]
    logical_operator str
    Available values: "AND", "OR".
    operator str
    Available values: "equals", "notequals", "greaterthan", "lessthan", "greaterthanorequals", "lessthanorequals", "contains", "startswith", "endswith", "in", "notin".
    value str
    Value to compare against the context attribute. Must be an array for in and notIn; numeric and ISO-8601 datetime strings are accepted by the ordering operators.
    attribute String
    clauses List<Property Map>
    logicalOperator String
    Available values: "AND", "OR".
    operator String
    Available values: "equals", "notequals", "greaterthan", "lessthan", "greaterthanorequals", "lessthanorequals", "contains", "startswith", "endswith", "in", "notin".
    value String
    Value to compare against the context attribute. Must be an array for in and notIn; numeric and ISO-8601 datetime strings are accepted by the ordering operators.

    GetFlagshipFlagRuleConditionClauseClauseClause

    Attribute string
    Clauses List<GetFlagshipFlagRuleConditionClauseClauseClauseClause>
    LogicalOperator string
    Available values: "AND", "OR".
    Operator string
    Available values: "equals", "notequals", "greaterthan", "lessthan", "greaterthanorequals", "lessthanorequals", "contains", "startswith", "endswith", "in", "notin".
    Value string
    Value to compare against the context attribute. Must be an array for in and notIn; numeric and ISO-8601 datetime strings are accepted by the ordering operators.
    Attribute string
    Clauses []GetFlagshipFlagRuleConditionClauseClauseClauseClause
    LogicalOperator string
    Available values: "AND", "OR".
    Operator string
    Available values: "equals", "notequals", "greaterthan", "lessthan", "greaterthanorequals", "lessthanorequals", "contains", "startswith", "endswith", "in", "notin".
    Value string
    Value to compare against the context attribute. Must be an array for in and notIn; numeric and ISO-8601 datetime strings are accepted by the ordering operators.
    attribute string
    clauses list(object)
    logical_operator string
    Available values: "AND", "OR".
    operator string
    Available values: "equals", "notequals", "greaterthan", "lessthan", "greaterthanorequals", "lessthanorequals", "contains", "startswith", "endswith", "in", "notin".
    value string
    Value to compare against the context attribute. Must be an array for in and notIn; numeric and ISO-8601 datetime strings are accepted by the ordering operators.
    attribute String
    clauses List<GetFlagshipFlagRuleConditionClauseClauseClauseClause>
    logicalOperator String
    Available values: "AND", "OR".
    operator String
    Available values: "equals", "notequals", "greaterthan", "lessthan", "greaterthanorequals", "lessthanorequals", "contains", "startswith", "endswith", "in", "notin".
    value String
    Value to compare against the context attribute. Must be an array for in and notIn; numeric and ISO-8601 datetime strings are accepted by the ordering operators.
    attribute string
    clauses GetFlagshipFlagRuleConditionClauseClauseClauseClause[]
    logicalOperator string
    Available values: "AND", "OR".
    operator string
    Available values: "equals", "notequals", "greaterthan", "lessthan", "greaterthanorequals", "lessthanorequals", "contains", "startswith", "endswith", "in", "notin".
    value string
    Value to compare against the context attribute. Must be an array for in and notIn; numeric and ISO-8601 datetime strings are accepted by the ordering operators.
    attribute str
    clauses Sequence[GetFlagshipFlagRuleConditionClauseClauseClauseClause]
    logical_operator str
    Available values: "AND", "OR".
    operator str
    Available values: "equals", "notequals", "greaterthan", "lessthan", "greaterthanorequals", "lessthanorequals", "contains", "startswith", "endswith", "in", "notin".
    value str
    Value to compare against the context attribute. Must be an array for in and notIn; numeric and ISO-8601 datetime strings are accepted by the ordering operators.
    attribute String
    clauses List<Property Map>
    logicalOperator String
    Available values: "AND", "OR".
    operator String
    Available values: "equals", "notequals", "greaterthan", "lessthan", "greaterthanorequals", "lessthanorequals", "contains", "startswith", "endswith", "in", "notin".
    value String
    Value to compare against the context attribute. Must be an array for in and notIn; numeric and ISO-8601 datetime strings are accepted by the ordering operators.

    GetFlagshipFlagRuleConditionClauseClauseClauseClause

    Attribute string
    Clauses List<GetFlagshipFlagRuleConditionClauseClauseClauseClauseClause>
    LogicalOperator string
    Available values: "AND", "OR".
    Operator string
    Available values: "equals", "notequals", "greaterthan", "lessthan", "greaterthanorequals", "lessthanorequals", "contains", "startswith", "endswith", "in", "notin".
    Value string
    Value to compare against the context attribute. Must be an array for in and notIn; numeric and ISO-8601 datetime strings are accepted by the ordering operators.
    Attribute string
    Clauses []GetFlagshipFlagRuleConditionClauseClauseClauseClauseClause
    LogicalOperator string
    Available values: "AND", "OR".
    Operator string
    Available values: "equals", "notequals", "greaterthan", "lessthan", "greaterthanorequals", "lessthanorequals", "contains", "startswith", "endswith", "in", "notin".
    Value string
    Value to compare against the context attribute. Must be an array for in and notIn; numeric and ISO-8601 datetime strings are accepted by the ordering operators.
    attribute string
    clauses list(object)
    logical_operator string
    Available values: "AND", "OR".
    operator string
    Available values: "equals", "notequals", "greaterthan", "lessthan", "greaterthanorequals", "lessthanorequals", "contains", "startswith", "endswith", "in", "notin".
    value string
    Value to compare against the context attribute. Must be an array for in and notIn; numeric and ISO-8601 datetime strings are accepted by the ordering operators.
    attribute String
    clauses List<GetFlagshipFlagRuleConditionClauseClauseClauseClauseClause>
    logicalOperator String
    Available values: "AND", "OR".
    operator String
    Available values: "equals", "notequals", "greaterthan", "lessthan", "greaterthanorequals", "lessthanorequals", "contains", "startswith", "endswith", "in", "notin".
    value String
    Value to compare against the context attribute. Must be an array for in and notIn; numeric and ISO-8601 datetime strings are accepted by the ordering operators.
    attribute string
    clauses GetFlagshipFlagRuleConditionClauseClauseClauseClauseClause[]
    logicalOperator string
    Available values: "AND", "OR".
    operator string
    Available values: "equals", "notequals", "greaterthan", "lessthan", "greaterthanorequals", "lessthanorequals", "contains", "startswith", "endswith", "in", "notin".
    value string
    Value to compare against the context attribute. Must be an array for in and notIn; numeric and ISO-8601 datetime strings are accepted by the ordering operators.
    attribute str
    clauses Sequence[GetFlagshipFlagRuleConditionClauseClauseClauseClauseClause]
    logical_operator str
    Available values: "AND", "OR".
    operator str
    Available values: "equals", "notequals", "greaterthan", "lessthan", "greaterthanorequals", "lessthanorequals", "contains", "startswith", "endswith", "in", "notin".
    value str
    Value to compare against the context attribute. Must be an array for in and notIn; numeric and ISO-8601 datetime strings are accepted by the ordering operators.
    attribute String
    clauses List<Property Map>
    logicalOperator String
    Available values: "AND", "OR".
    operator String
    Available values: "equals", "notequals", "greaterthan", "lessthan", "greaterthanorequals", "lessthanorequals", "contains", "startswith", "endswith", "in", "notin".
    value String
    Value to compare against the context attribute. Must be an array for in and notIn; numeric and ISO-8601 datetime strings are accepted by the ordering operators.

    GetFlagshipFlagRuleConditionClauseClauseClauseClauseClause

    Attribute string
    Clauses List<string>
    LogicalOperator string
    Available values: "AND", "OR".
    Operator string
    Available values: "equals", "notequals", "greaterthan", "lessthan", "greaterthanorequals", "lessthanorequals", "contains", "startswith", "endswith", "in", "notin".
    Value string
    Value to compare against the context attribute. Must be an array for in and notIn; numeric and ISO-8601 datetime strings are accepted by the ordering operators.
    Attribute string
    Clauses []string
    LogicalOperator string
    Available values: "AND", "OR".
    Operator string
    Available values: "equals", "notequals", "greaterthan", "lessthan", "greaterthanorequals", "lessthanorequals", "contains", "startswith", "endswith", "in", "notin".
    Value string
    Value to compare against the context attribute. Must be an array for in and notIn; numeric and ISO-8601 datetime strings are accepted by the ordering operators.
    attribute string
    clauses list(string)
    logical_operator string
    Available values: "AND", "OR".
    operator string
    Available values: "equals", "notequals", "greaterthan", "lessthan", "greaterthanorequals", "lessthanorequals", "contains", "startswith", "endswith", "in", "notin".
    value string
    Value to compare against the context attribute. Must be an array for in and notIn; numeric and ISO-8601 datetime strings are accepted by the ordering operators.
    attribute String
    clauses List<String>
    logicalOperator String
    Available values: "AND", "OR".
    operator String
    Available values: "equals", "notequals", "greaterthan", "lessthan", "greaterthanorequals", "lessthanorequals", "contains", "startswith", "endswith", "in", "notin".
    value String
    Value to compare against the context attribute. Must be an array for in and notIn; numeric and ISO-8601 datetime strings are accepted by the ordering operators.
    attribute string
    clauses string[]
    logicalOperator string
    Available values: "AND", "OR".
    operator string
    Available values: "equals", "notequals", "greaterthan", "lessthan", "greaterthanorequals", "lessthanorequals", "contains", "startswith", "endswith", "in", "notin".
    value string
    Value to compare against the context attribute. Must be an array for in and notIn; numeric and ISO-8601 datetime strings are accepted by the ordering operators.
    attribute str
    clauses Sequence[str]
    logical_operator str
    Available values: "AND", "OR".
    operator str
    Available values: "equals", "notequals", "greaterthan", "lessthan", "greaterthanorequals", "lessthanorequals", "contains", "startswith", "endswith", "in", "notin".
    value str
    Value to compare against the context attribute. Must be an array for in and notIn; numeric and ISO-8601 datetime strings are accepted by the ordering operators.
    attribute String
    clauses List<String>
    logicalOperator String
    Available values: "AND", "OR".
    operator String
    Available values: "equals", "notequals", "greaterthan", "lessthan", "greaterthanorequals", "lessthanorequals", "contains", "startswith", "endswith", "in", "notin".
    value String
    Value to compare against the context attribute. Must be an array for in and notIn; numeric and ISO-8601 datetime strings are accepted by the ordering operators.

    GetFlagshipFlagRuleRollout

    Attribute string
    Context attribute used for sticky bucketing. Defaults to targetingKey. If absent at evaluation time, bucketing is random per request.
    Percentage double
    Percentage of matching traffic (0–100) served this variation. For multi-way splits, use cumulative upper bounds across rules (e.g. 30, 70, 100).
    Attribute string
    Context attribute used for sticky bucketing. Defaults to targetingKey. If absent at evaluation time, bucketing is random per request.
    Percentage float64
    Percentage of matching traffic (0–100) served this variation. For multi-way splits, use cumulative upper bounds across rules (e.g. 30, 70, 100).
    attribute string
    Context attribute used for sticky bucketing. Defaults to targetingKey. If absent at evaluation time, bucketing is random per request.
    percentage number
    Percentage of matching traffic (0–100) served this variation. For multi-way splits, use cumulative upper bounds across rules (e.g. 30, 70, 100).
    attribute String
    Context attribute used for sticky bucketing. Defaults to targetingKey. If absent at evaluation time, bucketing is random per request.
    percentage Double
    Percentage of matching traffic (0–100) served this variation. For multi-way splits, use cumulative upper bounds across rules (e.g. 30, 70, 100).
    attribute string
    Context attribute used for sticky bucketing. Defaults to targetingKey. If absent at evaluation time, bucketing is random per request.
    percentage number
    Percentage of matching traffic (0–100) served this variation. For multi-way splits, use cumulative upper bounds across rules (e.g. 30, 70, 100).
    attribute str
    Context attribute used for sticky bucketing. Defaults to targetingKey. If absent at evaluation time, bucketing is random per request.
    percentage float
    Percentage of matching traffic (0–100) served this variation. For multi-way splits, use cumulative upper bounds across rules (e.g. 30, 70, 100).
    attribute String
    Context attribute used for sticky bucketing. Defaults to targetingKey. If absent at evaluation time, bucketing is random per request.
    percentage Number
    Percentage of matching traffic (0–100) served this variation. For multi-way splits, use cumulative upper bounds across rules (e.g. 30, 70, 100).

    Package Details

    Repository
    Cloudflare pulumi/pulumi-cloudflare
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the cloudflare Terraform Provider.
    cloudflare logo
    Viewing docs for Cloudflare v6.18.0
    published on Thursday, Jul 16, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial