published on Thursday, Jul 16, 2026 by Pulumi
published on Thursday, Jul 16, 2026 by Pulumi
Accepted Permissions
Flagship ReadFlagship 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:
- 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<Flagship
Flag Rule> - Targeting rules evaluated in ascending
priority; the first matching rule wins. An empty array means the flag always servesdefaultVariation. - 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
- 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".
- 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
[]Flagship
Flag Rule Args - Targeting rules evaluated in ascending
priority; the first matching rule wins. An empty array means the flag always servesdefaultVariation. - 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
- 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".
- 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 servesdefaultVariation. - 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".
- 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 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<Flagship
Flag Rule> - Targeting rules evaluated in ascending
priority; the first matching rule wins. An empty array means the flag always servesdefaultVariation. - 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
- 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".
- 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 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
Flagship
Flag Rule[] - Targeting rules evaluated in ascending
priority; the first matching rule wins. An empty array means the flag always servesdefaultVariation. - 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
- 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".
- 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[Flagship
Flag Rule Args] - Targeting rules evaluated in ascending
priority; the first matching rule wins. An empty array means the flag always servesdefaultVariation. - 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".
- 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 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 servesdefaultVariation. - 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".
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.
- updated_
at string - updated_
by string
- id str
- The provider-assigned unique ID for this managed resource.
- updated_
at str - updated_
by str
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) -> FlagshipFlagfunc 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.
- 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<Flagship
Flag Rule> - Targeting rules evaluated in ascending
priority; the first matching rule wins. An empty array means the flag always servesdefaultVariation. - 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 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.
- 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
[]Flagship
Flag Rule Args - Targeting rules evaluated in ascending
priority; the first matching rule wins. An empty array means the flag always servesdefaultVariation. - 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]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 servesdefaultVariation. - 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.
- 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 Boolean
- 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<Flagship
Flag Rule> - Targeting rules evaluated in ascending
priority; the first matching rule wins. An empty array means the flag always servesdefaultVariation. - 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,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 boolean
- 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
Flagship
Flag Rule[] - Targeting rules evaluated in ascending
priority; the first matching rule wins. An empty array means the flag always servesdefaultVariation. - 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 {[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[Flagship
Flag Rule Args] - Targeting rules evaluated in ascending
priority; the first matching rule wins. An empty array means the flag always servesdefaultVariation. - 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.
- 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 Boolean
- 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<Property Map>
- Targeting rules evaluated in ascending
priority; the first matching rule wins. An empty array means the flag always servesdefaultVariation. - 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.
Supporting Types
FlagshipFlagRule, FlagshipFlagRuleArgs
- Conditions
List<Flagship
Flag Rule Condition> - 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 string - Variation served when this rule matches. Must be a key in
variations. - Rollout
Flagship
Flag Rule Rollout
- Conditions
[]Flagship
Flag Rule Condition - 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 string - Variation served when this rule matches. Must be a key in
variations. - Rollout
Flagship
Flag Rule Rollout
- 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<Flagship
Flag Rule Condition> - 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.
- serve
Variation String - Variation served when this rule matches. Must be a key in
variations. - rollout
Flagship
Flag Rule Rollout
- conditions
Flagship
Flag Rule Condition[] - 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
Flagship
Flag Rule Rollout
- conditions
Sequence[Flagship
Flag Rule Condition] - 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
Flagship
Flag Rule Rollout
- 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.
- serve
Variation String - Variation served when this rule matches. Must be a key in
variations. - rollout Property Map
FlagshipFlagRuleCondition, FlagshipFlagRuleConditionArgs
- Attribute string
- Clauses
List<Flagship
Flag Rule Condition Clause> - 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
inandnotIn; numeric and ISO-8601 datetime strings are accepted by the ordering operators.
- Attribute string
- Clauses
[]Flagship
Flag Rule Condition Clause - 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
inandnotIn; 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
inandnotIn; numeric and ISO-8601 datetime strings are accepted by the ordering operators.
- attribute String
- clauses
List<Flagship
Flag Rule Condition Clause> - 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
inandnotIn; numeric and ISO-8601 datetime strings are accepted by the ordering operators.
- attribute string
- clauses
Flagship
Flag Rule Condition Clause[] - 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
inandnotIn; numeric and ISO-8601 datetime strings are accepted by the ordering operators.
- attribute str
- clauses
Sequence[Flagship
Flag Rule Condition Clause] - 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
inandnotIn; numeric and ISO-8601 datetime strings are accepted by the ordering operators.
- attribute String
- clauses List<Property Map>
- 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
inandnotIn; numeric and ISO-8601 datetime strings are accepted by the ordering operators.
FlagshipFlagRuleConditionClause, FlagshipFlagRuleConditionClauseArgs
- Attribute string
- Clauses
List<Flagship
Flag Rule Condition Clause Clause> - 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
inandnotIn; numeric and ISO-8601 datetime strings are accepted by the ordering operators.
- Attribute string
- Clauses
[]Flagship
Flag Rule Condition Clause Clause - 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
inandnotIn; 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
inandnotIn; numeric and ISO-8601 datetime strings are accepted by the ordering operators.
- attribute String
- clauses
List<Flagship
Flag Rule Condition Clause Clause> - 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
inandnotIn; numeric and ISO-8601 datetime strings are accepted by the ordering operators.
- attribute string
- clauses
Flagship
Flag Rule Condition Clause Clause[] - 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
inandnotIn; numeric and ISO-8601 datetime strings are accepted by the ordering operators.
- attribute str
- clauses
Sequence[Flagship
Flag Rule Condition Clause Clause] - 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
inandnotIn; numeric and ISO-8601 datetime strings are accepted by the ordering operators.
- attribute String
- clauses List<Property Map>
- 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
inandnotIn; numeric and ISO-8601 datetime strings are accepted by the ordering operators.
FlagshipFlagRuleConditionClauseClause, FlagshipFlagRuleConditionClauseClauseArgs
- Attribute string
- Clauses
List<Flagship
Flag Rule Condition Clause Clause Clause> - 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
inandnotIn; numeric and ISO-8601 datetime strings are accepted by the ordering operators.
- Attribute string
- Clauses
[]Flagship
Flag Rule Condition Clause Clause Clause - 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
inandnotIn; 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
inandnotIn; numeric and ISO-8601 datetime strings are accepted by the ordering operators.
- attribute String
- clauses
List<Flagship
Flag Rule Condition Clause Clause Clause> - 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
inandnotIn; numeric and ISO-8601 datetime strings are accepted by the ordering operators.
- attribute string
- clauses
Flagship
Flag Rule Condition Clause Clause Clause[] - 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
inandnotIn; numeric and ISO-8601 datetime strings are accepted by the ordering operators.
- attribute str
- clauses
Sequence[Flagship
Flag Rule Condition Clause Clause Clause] - 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
inandnotIn; numeric and ISO-8601 datetime strings are accepted by the ordering operators.
- attribute String
- clauses List<Property Map>
- 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
inandnotIn; numeric and ISO-8601 datetime strings are accepted by the ordering operators.
FlagshipFlagRuleConditionClauseClauseClause, FlagshipFlagRuleConditionClauseClauseClauseArgs
- Attribute string
- Clauses
List<Flagship
Flag Rule Condition Clause Clause Clause Clause> - 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
inandnotIn; numeric and ISO-8601 datetime strings are accepted by the ordering operators.
- Attribute string
- Clauses
[]Flagship
Flag Rule Condition Clause Clause Clause Clause - 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
inandnotIn; 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
inandnotIn; numeric and ISO-8601 datetime strings are accepted by the ordering operators.
- attribute String
- clauses
List<Flagship
Flag Rule Condition Clause Clause Clause Clause> - 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
inandnotIn; numeric and ISO-8601 datetime strings are accepted by the ordering operators.
- attribute string
- clauses
Flagship
Flag Rule Condition Clause Clause Clause Clause[] - 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
inandnotIn; numeric and ISO-8601 datetime strings are accepted by the ordering operators.
- attribute str
- clauses
Sequence[Flagship
Flag Rule Condition Clause Clause Clause Clause] - 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
inandnotIn; numeric and ISO-8601 datetime strings are accepted by the ordering operators.
- attribute String
- clauses List<Property Map>
- 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
inandnotIn; numeric and ISO-8601 datetime strings are accepted by the ordering operators.
FlagshipFlagRuleConditionClauseClauseClauseClause, FlagshipFlagRuleConditionClauseClauseClauseClauseArgs
- Attribute string
- Clauses
List<Flagship
Flag Rule Condition Clause Clause Clause Clause Clause> - 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
inandnotIn; numeric and ISO-8601 datetime strings are accepted by the ordering operators.
- Attribute string
- Clauses
[]Flagship
Flag Rule Condition Clause Clause Clause Clause Clause - 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
inandnotIn; 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
inandnotIn; numeric and ISO-8601 datetime strings are accepted by the ordering operators.
- attribute String
- clauses
List<Flagship
Flag Rule Condition Clause Clause Clause Clause Clause> - 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
inandnotIn; numeric and ISO-8601 datetime strings are accepted by the ordering operators.
- attribute string
- clauses
Flagship
Flag Rule Condition Clause Clause Clause Clause Clause[] - 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
inandnotIn; numeric and ISO-8601 datetime strings are accepted by the ordering operators.
- attribute str
- clauses
Sequence[Flagship
Flag Rule Condition Clause Clause Clause Clause Clause] - 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
inandnotIn; numeric and ISO-8601 datetime strings are accepted by the ordering operators.
- attribute String
- clauses List<Property Map>
- 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
inandnotIn; numeric and ISO-8601 datetime strings are accepted by the ordering operators.
FlagshipFlagRuleConditionClauseClauseClauseClauseClause, FlagshipFlagRuleConditionClauseClauseClauseClauseClauseArgs
- 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
inandnotIn; numeric and ISO-8601 datetime strings are accepted by the ordering operators.
- Attribute string
- Clauses []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
inandnotIn; 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
inandnotIn; 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
inandnotIn; numeric and ISO-8601 datetime strings are accepted by the ordering operators.
- attribute string
- clauses 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
inandnotIn; 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
inandnotIn; 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
inandnotIn; 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
cloudflareTerraform Provider.
published on Thursday, Jul 16, 2026 by Pulumi