1. Packages
  2. Packages
  3. Cloudflare Provider
  4. API Docs
  5. FlagshipFlag
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
    • Flagship Write

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as cloudflare from "@pulumi/cloudflare";
    
    const exampleFlagshipFlag = new cloudflare.FlagshipFlag("example_flagship_flag", {
        accountId: "account_id",
        appId: "app_id",
        defaultVariation: "x",
        enabled: true,
        key: "x",
        rules: [{
            conditions: [{
                attribute: "x",
                operator: "equals",
                value: {},
            }],
            priority: 1,
            serveVariation: "x",
            rollout: {
                percentage: 0,
                attribute: "x",
            },
        }],
        variations: {
            foo: "string",
        },
        description: "description",
        type: "boolean",
    });
    
    import pulumi
    import pulumi_cloudflare as cloudflare
    
    example_flagship_flag = cloudflare.FlagshipFlag("example_flagship_flag",
        account_id="account_id",
        app_id="app_id",
        default_variation="x",
        enabled=True,
        key="x",
        rules=[{
            "conditions": [{
                "attribute": "x",
                "operator": "equals",
                "value": {},
            }],
            "priority": 1,
            "serve_variation": "x",
            "rollout": {
                "percentage": float(0),
                "attribute": "x",
            },
        }],
        variations={
            "foo": "string",
        },
        description="description",
        type="boolean")
    
    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.NewFlagshipFlag(ctx, "example_flagship_flag", &cloudflare.FlagshipFlagArgs{
    			AccountId:        pulumi.String("account_id"),
    			AppId:            pulumi.String("app_id"),
    			DefaultVariation: pulumi.String("x"),
    			Enabled:          pulumi.Bool(true),
    			Key:              pulumi.String("x"),
    			Rules: cloudflare.FlagshipFlagRuleArray{
    				&cloudflare.FlagshipFlagRuleArgs{
    					Conditions: cloudflare.FlagshipFlagRuleConditionArray{
    						&cloudflare.FlagshipFlagRuleConditionArgs{
    							Attribute: pulumi.String("x"),
    							Operator:  pulumi.String("equals"),
    							Value:     pulumi.String{},
    						},
    					},
    					Priority:       pulumi.Int(1),
    					ServeVariation: pulumi.String("x"),
    					Rollout: &cloudflare.FlagshipFlagRuleRolloutArgs{
    						Percentage: pulumi.Float64(0),
    						Attribute:  pulumi.String("x"),
    					},
    				},
    			},
    			Variations: pulumi.StringMap{
    				"foo": pulumi.String("string"),
    			},
    			Description: pulumi.String("description"),
    			Type:        pulumi.String("boolean"),
    		})
    		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 = new Cloudflare.FlagshipFlag("example_flagship_flag", new()
        {
            AccountId = "account_id",
            AppId = "app_id",
            DefaultVariation = "x",
            Enabled = true,
            Key = "x",
            Rules = new[]
            {
                new Cloudflare.Inputs.FlagshipFlagRuleArgs
                {
                    Conditions = new[]
                    {
                        new Cloudflare.Inputs.FlagshipFlagRuleConditionArgs
                        {
                            Attribute = "x",
                            Operator = "equals",
                            Value = null,
                        },
                    },
                    Priority = 1,
                    ServeVariation = "x",
                    Rollout = new Cloudflare.Inputs.FlagshipFlagRuleRolloutArgs
                    {
                        Percentage = 0,
                        Attribute = "x",
                    },
                },
            },
            Variations = 
            {
                { "foo", "string" },
            },
            Description = "description",
            Type = "boolean",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.cloudflare.FlagshipFlag;
    import com.pulumi.cloudflare.FlagshipFlagArgs;
    import com.pulumi.cloudflare.inputs.FlagshipFlagRuleArgs;
    import com.pulumi.cloudflare.inputs.FlagshipFlagRuleConditionArgs;
    import com.pulumi.cloudflare.inputs.FlagshipFlagRuleRolloutArgs;
    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) {
            var exampleFlagshipFlag = new FlagshipFlag("exampleFlagshipFlag", FlagshipFlagArgs.builder()
                .accountId("account_id")
                .appId("app_id")
                .defaultVariation("x")
                .enabled(true)
                .key("x")
                .rules(FlagshipFlagRuleArgs.builder()
                    .conditions(FlagshipFlagRuleConditionArgs.builder()
                        .attribute("x")
                        .operator("equals")
                        .value(Map.ofEntries(
                        ))
                        .build())
                    .priority(1)
                    .serveVariation("x")
                    .rollout(FlagshipFlagRuleRolloutArgs.builder()
                        .percentage(0.0)
                        .attribute("x")
                        .build())
                    .build())
                .variations(Map.of("foo", "string"))
                .description("description")
                .type("boolean")
                .build());
    
        }
    }
    
    resources:
      exampleFlagshipFlag:
        type: cloudflare:FlagshipFlag
        name: example_flagship_flag
        properties:
          accountId: account_id
          appId: app_id
          defaultVariation: x
          enabled: true
          key: x
          rules:
            - conditions:
                - attribute: x
                  operator: equals
                  value: {}
              priority: 1
              serveVariation: x
              rollout:
                percentage: 0
                attribute: x
          variations:
            foo: string
          description: description
          type: boolean
    
    pulumi {
      required_providers {
        cloudflare = {
          source = "pulumi/cloudflare"
        }
      }
    }
    
    resource "cloudflare_flagshipflag" "example_flagship_flag" {
      account_id        = "account_id"
      app_id            = "app_id"
      default_variation = "x"
      enabled           = true
      key               = "x"
      rules {
        conditions {
          attribute = "x"
          operator  = "equals"
          value     = {}
        }
        priority        = 1
        serve_variation = "x"
        rollout = {
          percentage = 0
          attribute  = "x"
        }
      }
      variations = {
        "foo" = "string"
      }
      description = "description"
      type        = "boolean"
    }
    

    Create FlagshipFlag Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new FlagshipFlag(name: string, args: FlagshipFlagArgs, opts?: CustomResourceOptions);
    @overload
    def FlagshipFlag(resource_name: str,
                     args: FlagshipFlagArgs,
                     opts: Optional[ResourceOptions] = None)
    
    @overload
    def FlagshipFlag(resource_name: str,
                     opts: Optional[ResourceOptions] = None,
                     account_id: Optional[str] = None,
                     app_id: Optional[str] = None,
                     default_variation: Optional[str] = None,
                     enabled: Optional[bool] = None,
                     key: Optional[str] = None,
                     rules: Optional[Sequence[FlagshipFlagRuleArgs]] = None,
                     variations: Optional[Mapping[str, str]] = None,
                     description: Optional[str] = None,
                     flag_key: Optional[str] = None,
                     type: Optional[str] = None)
    func NewFlagshipFlag(ctx *Context, name string, args FlagshipFlagArgs, opts ...ResourceOption) (*FlagshipFlag, error)
    public FlagshipFlag(string name, FlagshipFlagArgs args, CustomResourceOptions? opts = null)
    public FlagshipFlag(String name, FlagshipFlagArgs args)
    public FlagshipFlag(String name, FlagshipFlagArgs args, CustomResourceOptions options)
    
    type: cloudflare:FlagshipFlag
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "cloudflare_flagship_flag" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args FlagshipFlagArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args FlagshipFlagArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args FlagshipFlagArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args FlagshipFlagArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args FlagshipFlagArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var flagshipFlagResource = new Cloudflare.FlagshipFlag("flagshipFlagResource", new()
    {
        AccountId = "string",
        AppId = "string",
        DefaultVariation = "string",
        Enabled = false,
        Key = "string",
        Rules = new[]
        {
            new Cloudflare.Inputs.FlagshipFlagRuleArgs
            {
                Conditions = new[]
                {
                    new Cloudflare.Inputs.FlagshipFlagRuleConditionArgs
                    {
                        Attribute = "string",
                        Clauses = new[]
                        {
                            new Cloudflare.Inputs.FlagshipFlagRuleConditionClauseArgs
                            {
                                Attribute = "string",
                                Clauses = new[]
                                {
                                    new Cloudflare.Inputs.FlagshipFlagRuleConditionClauseClauseArgs
                                    {
                                        Attribute = "string",
                                        Clauses = new[]
                                        {
                                            new Cloudflare.Inputs.FlagshipFlagRuleConditionClauseClauseClauseArgs
                                            {
                                                Attribute = "string",
                                                Clauses = new[]
                                                {
                                                    new Cloudflare.Inputs.FlagshipFlagRuleConditionClauseClauseClauseClauseArgs
                                                    {
                                                        Attribute = "string",
                                                        Clauses = new[]
                                                        {
                                                            new Cloudflare.Inputs.FlagshipFlagRuleConditionClauseClauseClauseClauseClauseArgs
                                                            {
                                                                Attribute = "string",
                                                                Clauses = new[]
                                                                {
                                                                    "string",
                                                                },
                                                                LogicalOperator = "string",
                                                                Operator = "string",
                                                                Value = "string",
                                                            },
                                                        },
                                                        LogicalOperator = "string",
                                                        Operator = "string",
                                                        Value = "string",
                                                    },
                                                },
                                                LogicalOperator = "string",
                                                Operator = "string",
                                                Value = "string",
                                            },
                                        },
                                        LogicalOperator = "string",
                                        Operator = "string",
                                        Value = "string",
                                    },
                                },
                                LogicalOperator = "string",
                                Operator = "string",
                                Value = "string",
                            },
                        },
                        LogicalOperator = "string",
                        Operator = "string",
                        Value = "string",
                    },
                },
                Priority = 0,
                ServeVariation = "string",
                Rollout = new Cloudflare.Inputs.FlagshipFlagRuleRolloutArgs
                {
                    Percentage = 0,
                    Attribute = "string",
                },
            },
        },
        Variations = 
        {
            { "string", "string" },
        },
        Description = "string",
        FlagKey = "string",
        Type = "string",
    });
    
    example, err := cloudflare.NewFlagshipFlag(ctx, "flagshipFlagResource", &cloudflare.FlagshipFlagArgs{
    	AccountId:        pulumi.String("string"),
    	AppId:            pulumi.String("string"),
    	DefaultVariation: pulumi.String("string"),
    	Enabled:          pulumi.Bool(false),
    	Key:              pulumi.String("string"),
    	Rules: cloudflare.FlagshipFlagRuleArray{
    		&cloudflare.FlagshipFlagRuleArgs{
    			Conditions: cloudflare.FlagshipFlagRuleConditionArray{
    				&cloudflare.FlagshipFlagRuleConditionArgs{
    					Attribute: pulumi.String("string"),
    					Clauses: cloudflare.FlagshipFlagRuleConditionClauseArray{
    						&cloudflare.FlagshipFlagRuleConditionClauseArgs{
    							Attribute: pulumi.String("string"),
    							Clauses: cloudflare.FlagshipFlagRuleConditionClauseClauseArray{
    								&cloudflare.FlagshipFlagRuleConditionClauseClauseArgs{
    									Attribute: pulumi.String("string"),
    									Clauses: cloudflare.FlagshipFlagRuleConditionClauseClauseClauseArray{
    										&cloudflare.FlagshipFlagRuleConditionClauseClauseClauseArgs{
    											Attribute: pulumi.String("string"),
    											Clauses: cloudflare.FlagshipFlagRuleConditionClauseClauseClauseClauseArray{
    												&cloudflare.FlagshipFlagRuleConditionClauseClauseClauseClauseArgs{
    													Attribute: pulumi.String("string"),
    													Clauses: cloudflare.FlagshipFlagRuleConditionClauseClauseClauseClauseClauseArray{
    														&cloudflare.FlagshipFlagRuleConditionClauseClauseClauseClauseClauseArgs{
    															Attribute: pulumi.String("string"),
    															Clauses: pulumi.StringArray{
    																pulumi.String("string"),
    															},
    															LogicalOperator: pulumi.String("string"),
    															Operator:        pulumi.String("string"),
    															Value:           pulumi.String("string"),
    														},
    													},
    													LogicalOperator: pulumi.String("string"),
    													Operator:        pulumi.String("string"),
    													Value:           pulumi.String("string"),
    												},
    											},
    											LogicalOperator: pulumi.String("string"),
    											Operator:        pulumi.String("string"),
    											Value:           pulumi.String("string"),
    										},
    									},
    									LogicalOperator: pulumi.String("string"),
    									Operator:        pulumi.String("string"),
    									Value:           pulumi.String("string"),
    								},
    							},
    							LogicalOperator: pulumi.String("string"),
    							Operator:        pulumi.String("string"),
    							Value:           pulumi.String("string"),
    						},
    					},
    					LogicalOperator: pulumi.String("string"),
    					Operator:        pulumi.String("string"),
    					Value:           pulumi.String("string"),
    				},
    			},
    			Priority:       pulumi.Int(0),
    			ServeVariation: pulumi.String("string"),
    			Rollout: &cloudflare.FlagshipFlagRuleRolloutArgs{
    				Percentage: pulumi.Float64(0),
    				Attribute:  pulumi.String("string"),
    			},
    		},
    	},
    	Variations: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	Description: pulumi.String("string"),
    	FlagKey:     pulumi.String("string"),
    	Type:        pulumi.String("string"),
    })
    
    resource "cloudflare_flagship_flag" "flagshipFlagResource" {
      lifecycle {
        create_before_destroy = true
      }
      account_id        = "string"
      app_id            = "string"
      default_variation = "string"
      enabled           = false
      key               = "string"
      rules {
        conditions {
          attribute = "string"
          clauses {
            attribute = "string"
            clauses {
              attribute = "string"
              clauses {
                attribute = "string"
                clauses {
                  attribute = "string"
                  clauses {
                    attribute        = "string"
                    clauses          = ["string"]
                    logical_operator = "string"
                    operator         = "string"
                    value            = "string"
                  }
                  logical_operator = "string"
                  operator         = "string"
                  value            = "string"
                }
                logical_operator = "string"
                operator         = "string"
                value            = "string"
              }
              logical_operator = "string"
              operator         = "string"
              value            = "string"
            }
            logical_operator = "string"
            operator         = "string"
            value            = "string"
          }
          logical_operator = "string"
          operator         = "string"
          value            = "string"
        }
        priority        = 0
        serve_variation = "string"
        rollout = {
          percentage = 0
          attribute  = "string"
        }
      }
      variations = {
        "string" = "string"
      }
      description = "string"
      flag_key    = "string"
      type        = "string"
    }
    
    var flagshipFlagResource = new FlagshipFlag("flagshipFlagResource", FlagshipFlagArgs.builder()
        .accountId("string")
        .appId("string")
        .defaultVariation("string")
        .enabled(false)
        .key("string")
        .rules(FlagshipFlagRuleArgs.builder()
            .conditions(FlagshipFlagRuleConditionArgs.builder()
                .attribute("string")
                .clauses(FlagshipFlagRuleConditionClauseArgs.builder()
                    .attribute("string")
                    .clauses(FlagshipFlagRuleConditionClauseClauseArgs.builder()
                        .attribute("string")
                        .clauses(FlagshipFlagRuleConditionClauseClauseClauseArgs.builder()
                            .attribute("string")
                            .clauses(FlagshipFlagRuleConditionClauseClauseClauseClauseArgs.builder()
                                .attribute("string")
                                .clauses(FlagshipFlagRuleConditionClauseClauseClauseClauseClauseArgs.builder()
                                    .attribute("string")
                                    .clauses("string")
                                    .logicalOperator("string")
                                    .operator("string")
                                    .value("string")
                                    .build())
                                .logicalOperator("string")
                                .operator("string")
                                .value("string")
                                .build())
                            .logicalOperator("string")
                            .operator("string")
                            .value("string")
                            .build())
                        .logicalOperator("string")
                        .operator("string")
                        .value("string")
                        .build())
                    .logicalOperator("string")
                    .operator("string")
                    .value("string")
                    .build())
                .logicalOperator("string")
                .operator("string")
                .value("string")
                .build())
            .priority(0)
            .serveVariation("string")
            .rollout(FlagshipFlagRuleRolloutArgs.builder()
                .percentage(0.0)
                .attribute("string")
                .build())
            .build())
        .variations(Map.of("string", "string"))
        .description("string")
        .flagKey("string")
        .type("string")
        .build());
    
    flagship_flag_resource = cloudflare.FlagshipFlag("flagshipFlagResource",
        account_id="string",
        app_id="string",
        default_variation="string",
        enabled=False,
        key="string",
        rules=[{
            "conditions": [{
                "attribute": "string",
                "clauses": [{
                    "attribute": "string",
                    "clauses": [{
                        "attribute": "string",
                        "clauses": [{
                            "attribute": "string",
                            "clauses": [{
                                "attribute": "string",
                                "clauses": [{
                                    "attribute": "string",
                                    "clauses": ["string"],
                                    "logical_operator": "string",
                                    "operator": "string",
                                    "value": "string",
                                }],
                                "logical_operator": "string",
                                "operator": "string",
                                "value": "string",
                            }],
                            "logical_operator": "string",
                            "operator": "string",
                            "value": "string",
                        }],
                        "logical_operator": "string",
                        "operator": "string",
                        "value": "string",
                    }],
                    "logical_operator": "string",
                    "operator": "string",
                    "value": "string",
                }],
                "logical_operator": "string",
                "operator": "string",
                "value": "string",
            }],
            "priority": 0,
            "serve_variation": "string",
            "rollout": {
                "percentage": float(0),
                "attribute": "string",
            },
        }],
        variations={
            "string": "string",
        },
        description="string",
        flag_key="string",
        type="string")
    
    const flagshipFlagResource = new cloudflare.FlagshipFlag("flagshipFlagResource", {
        accountId: "string",
        appId: "string",
        defaultVariation: "string",
        enabled: false,
        key: "string",
        rules: [{
            conditions: [{
                attribute: "string",
                clauses: [{
                    attribute: "string",
                    clauses: [{
                        attribute: "string",
                        clauses: [{
                            attribute: "string",
                            clauses: [{
                                attribute: "string",
                                clauses: [{
                                    attribute: "string",
                                    clauses: ["string"],
                                    logicalOperator: "string",
                                    operator: "string",
                                    value: "string",
                                }],
                                logicalOperator: "string",
                                operator: "string",
                                value: "string",
                            }],
                            logicalOperator: "string",
                            operator: "string",
                            value: "string",
                        }],
                        logicalOperator: "string",
                        operator: "string",
                        value: "string",
                    }],
                    logicalOperator: "string",
                    operator: "string",
                    value: "string",
                }],
                logicalOperator: "string",
                operator: "string",
                value: "string",
            }],
            priority: 0,
            serveVariation: "string",
            rollout: {
                percentage: 0,
                attribute: "string",
            },
        }],
        variations: {
            string: "string",
        },
        description: "string",
        flagKey: "string",
        type: "string",
    });
    
    type: cloudflare:FlagshipFlag
    properties:
        accountId: string
        appId: string
        defaultVariation: string
        description: string
        enabled: false
        flagKey: string
        key: string
        rules:
            - conditions:
                - attribute: string
                  clauses:
                    - attribute: string
                      clauses:
                        - attribute: string
                          clauses:
                            - attribute: string
                              clauses:
                                - attribute: string
                                  clauses:
                                    - attribute: string
                                      clauses:
                                        - string
                                      logicalOperator: string
                                      operator: string
                                      value: string
                                  logicalOperator: string
                                  operator: string
                                  value: string
                              logicalOperator: string
                              operator: string
                              value: string
                          logicalOperator: string
                          operator: string
                          value: string
                      logicalOperator: string
                      operator: string
                      value: string
                  logicalOperator: string
                  operator: string
                  value: string
              priority: 0
              rollout:
                attribute: string
                percentage: 0
              serveVariation: string
        type: string
        variations:
            string: string
    

    FlagshipFlag Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The FlagshipFlag resource accepts the following input properties:

    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.
    Enabled bool
    When false, the flag bypasses all rules and always serves defaultVariation.
    Key string
    Unique identifier for the flag within an app. Used in all evaluation and SDK calls.
    Rules List<FlagshipFlagRule>
    Targeting rules evaluated in ascending priority; the first matching rule wins. An empty array means the flag always serves defaultVariation.
    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.
    Description string
    FlagKey string
    Flag key (slug).
    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".
    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.
    Enabled bool
    When false, the flag bypasses all rules and always serves defaultVariation.
    Key string
    Unique identifier for the flag within an app. Used in all evaluation and SDK calls.
    Rules []FlagshipFlagRuleArgs
    Targeting rules evaluated in ascending priority; the first matching rule wins. An empty array means the flag always serves defaultVariation.
    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.
    Description string
    FlagKey string
    Flag key (slug).
    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".
    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.
    enabled bool
    When false, the flag bypasses all rules and always serves defaultVariation.
    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.
    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.
    description string
    flag_key string
    Flag key (slug).
    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".
    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.
    enabled Boolean
    When false, the flag bypasses all rules and always serves defaultVariation.
    key String
    Unique identifier for the flag within an app. Used in all evaluation and SDK calls.
    rules List<FlagshipFlagRule>
    Targeting rules evaluated in ascending priority; the first matching rule wins. An empty array means the flag always serves defaultVariation.
    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.
    description String
    flagKey String
    Flag key (slug).
    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".
    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.
    enabled boolean
    When false, the flag bypasses all rules and always serves defaultVariation.
    key string
    Unique identifier for the flag within an app. Used in all evaluation and SDK calls.
    rules FlagshipFlagRule[]
    Targeting rules evaluated in ascending priority; the first matching rule wins. An empty array means the flag always serves defaultVariation.
    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.
    description string
    flagKey string
    Flag key (slug).
    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".
    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.
    enabled bool
    When false, the flag bypasses all rules and always serves defaultVariation.
    key str
    Unique identifier for the flag within an app. Used in all evaluation and SDK calls.
    rules Sequence[FlagshipFlagRuleArgs]
    Targeting rules evaluated in ascending priority; the first matching rule wins. An empty array means the flag always serves defaultVariation.
    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.
    description str
    flag_key str
    Flag key (slug).
    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".
    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.
    enabled Boolean
    When false, the flag bypasses all rules and always serves defaultVariation.
    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.
    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.
    description String
    flagKey String
    Flag key (slug).
    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".

    Outputs

    All input properties are implicitly available as output properties. Additionally, the FlagshipFlag resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    UpdatedAt string
    UpdatedBy string
    Id string
    The provider-assigned unique ID for this managed resource.
    UpdatedAt string
    UpdatedBy string
    id string
    The provider-assigned unique ID for this managed resource.
    updated_at string
    updated_by string
    id String
    The provider-assigned unique ID for this managed resource.
    updatedAt String
    updatedBy String
    id string
    The provider-assigned unique ID for this managed resource.
    updatedAt string
    updatedBy string
    id str
    The provider-assigned unique ID for this managed resource.
    updated_at str
    updated_by str
    id String
    The provider-assigned unique ID for this managed resource.
    updatedAt String
    updatedBy String

    Look up Existing FlagshipFlag Resource

    Get an existing FlagshipFlag resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: FlagshipFlagState, opts?: CustomResourceOptions): FlagshipFlag
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            account_id: Optional[str] = None,
            app_id: Optional[str] = None,
            default_variation: Optional[str] = None,
            description: Optional[str] = None,
            enabled: Optional[bool] = None,
            flag_key: Optional[str] = None,
            key: Optional[str] = None,
            rules: Optional[Sequence[FlagshipFlagRuleArgs]] = None,
            type: Optional[str] = None,
            updated_at: Optional[str] = None,
            updated_by: Optional[str] = None,
            variations: Optional[Mapping[str, str]] = None) -> FlagshipFlag
    func GetFlagshipFlag(ctx *Context, name string, id IDInput, state *FlagshipFlagState, opts ...ResourceOption) (*FlagshipFlag, error)
    public static FlagshipFlag Get(string name, Input<string> id, FlagshipFlagState? state, CustomResourceOptions? opts = null)
    public static FlagshipFlag get(String name, Output<String> id, FlagshipFlagState state, CustomResourceOptions options)
    resources:  _:    type: cloudflare:FlagshipFlag    get:      id: ${id}
    import {
      to = cloudflare_flagship_flag.example
      id = "${id}"
    }
    
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    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).
    Key string
    Unique identifier for the flag within an app. Used in all evaluation and SDK calls.
    Rules List<FlagshipFlagRule>
    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).
    Key string
    Unique identifier for the flag within an app. Used in all evaluation and SDK calls.
    Rules []FlagshipFlagRuleArgs
    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).
    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).
    key String
    Unique identifier for the flag within an app. Used in all evaluation and SDK calls.
    rules List<FlagshipFlagRule>
    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).
    key string
    Unique identifier for the flag within an app. Used in all evaluation and SDK calls.
    rules FlagshipFlagRule[]
    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).
    key str
    Unique identifier for the flag within an app. Used in all evaluation and SDK calls.
    rules Sequence[FlagshipFlagRuleArgs]
    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).
    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

    FlagshipFlagRule, FlagshipFlagRuleArgs

    Conditions List<FlagshipFlagRuleCondition>
    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.
    ServeVariation string
    Variation served when this rule matches. Must be a key in variations.
    Rollout FlagshipFlagRuleRollout
    Conditions []FlagshipFlagRuleCondition
    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.
    ServeVariation string
    Variation served when this rule matches. Must be a key in variations.
    Rollout FlagshipFlagRuleRollout
    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.
    serve_variation string
    Variation served when this rule matches. Must be a key in variations.
    rollout object
    conditions List<FlagshipFlagRuleCondition>
    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.
    serveVariation String
    Variation served when this rule matches. Must be a key in variations.
    rollout FlagshipFlagRuleRollout
    conditions FlagshipFlagRuleCondition[]
    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.
    serveVariation string
    Variation served when this rule matches. Must be a key in variations.
    rollout FlagshipFlagRuleRollout
    conditions Sequence[FlagshipFlagRuleCondition]
    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.
    serve_variation str
    Variation served when this rule matches. Must be a key in variations.
    rollout FlagshipFlagRuleRollout
    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.
    serveVariation String
    Variation served when this rule matches. Must be a key in variations.
    rollout Property Map

    FlagshipFlagRuleCondition, FlagshipFlagRuleConditionArgs

    Attribute string
    Clauses List<FlagshipFlagRuleConditionClause>
    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 []FlagshipFlagRuleConditionClause
    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<FlagshipFlagRuleConditionClause>
    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 FlagshipFlagRuleConditionClause[]
    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[FlagshipFlagRuleConditionClause]
    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.

    FlagshipFlagRuleConditionClause, FlagshipFlagRuleConditionClauseArgs

    Attribute string
    Clauses List<FlagshipFlagRuleConditionClauseClause>
    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 []FlagshipFlagRuleConditionClauseClause
    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<FlagshipFlagRuleConditionClauseClause>
    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 FlagshipFlagRuleConditionClauseClause[]
    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[FlagshipFlagRuleConditionClauseClause]
    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.

    FlagshipFlagRuleConditionClauseClause, FlagshipFlagRuleConditionClauseClauseArgs

    Attribute string
    Clauses List<FlagshipFlagRuleConditionClauseClauseClause>
    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 []FlagshipFlagRuleConditionClauseClauseClause
    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<FlagshipFlagRuleConditionClauseClauseClause>
    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 FlagshipFlagRuleConditionClauseClauseClause[]
    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[FlagshipFlagRuleConditionClauseClauseClause]
    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.

    FlagshipFlagRuleConditionClauseClauseClause, FlagshipFlagRuleConditionClauseClauseClauseArgs

    Attribute string
    Clauses List<FlagshipFlagRuleConditionClauseClauseClauseClause>
    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 []FlagshipFlagRuleConditionClauseClauseClauseClause
    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<FlagshipFlagRuleConditionClauseClauseClauseClause>
    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 FlagshipFlagRuleConditionClauseClauseClauseClause[]
    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[FlagshipFlagRuleConditionClauseClauseClauseClause]
    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.

    FlagshipFlagRuleConditionClauseClauseClauseClause, FlagshipFlagRuleConditionClauseClauseClauseClauseArgs

    Attribute string
    Clauses List<FlagshipFlagRuleConditionClauseClauseClauseClauseClause>
    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 []FlagshipFlagRuleConditionClauseClauseClauseClauseClause
    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<FlagshipFlagRuleConditionClauseClauseClauseClauseClause>
    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 FlagshipFlagRuleConditionClauseClauseClauseClauseClause[]
    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[FlagshipFlagRuleConditionClauseClauseClauseClauseClause]
    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.

    FlagshipFlagRuleConditionClauseClauseClauseClauseClause, FlagshipFlagRuleConditionClauseClauseClauseClauseClauseArgs

    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.

    FlagshipFlagRuleRollout, FlagshipFlagRuleRolloutArgs

    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 string
    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 str
    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.

    Import

    This resource does not currently support pulumi import.

    To learn more about importing existing cloud resources, see Importing resources.

    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