published on Saturday, May 2, 2026 by Pulumi
published on Saturday, May 2, 2026 by Pulumi
Accepted Permissions
AI Gateway ReadAI Gateway Write
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as cloudflare from "@pulumi/cloudflare";
const exampleAiGateway = new cloudflare.AiGateway("example_ai_gateway", {
accountId: "3ebbcb006d4d46d7bb6a8c7f14676cb0",
aiGatewayId: "my-gateway",
cacheInvalidateOnUpdate: true,
cacheTtl: 0,
collectLogs: true,
rateLimitingInterval: 0,
rateLimitingLimit: 0,
authentication: true,
logManagement: 10000,
logManagementStrategy: "STOP_INSERTING",
logpush: true,
logpushPublicKey: "xxxxxxxxxxxxxxxx",
rateLimitingTechnique: "fixed",
retryBackoff: "constant",
retryDelay: 0,
retryMaxAttempts: 1,
workersAiBillingMode: "postpaid",
zdr: true,
});
import pulumi
import pulumi_cloudflare as cloudflare
example_ai_gateway = cloudflare.AiGateway("example_ai_gateway",
account_id="3ebbcb006d4d46d7bb6a8c7f14676cb0",
ai_gateway_id="my-gateway",
cache_invalidate_on_update=True,
cache_ttl=0,
collect_logs=True,
rate_limiting_interval=0,
rate_limiting_limit=0,
authentication=True,
log_management=10000,
log_management_strategy="STOP_INSERTING",
logpush=True,
logpush_public_key="xxxxxxxxxxxxxxxx",
rate_limiting_technique="fixed",
retry_backoff="constant",
retry_delay=0,
retry_max_attempts=1,
workers_ai_billing_mode="postpaid",
zdr=True)
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.NewAiGateway(ctx, "example_ai_gateway", &cloudflare.AiGatewayArgs{
AccountId: pulumi.String("3ebbcb006d4d46d7bb6a8c7f14676cb0"),
AiGatewayId: pulumi.String("my-gateway"),
CacheInvalidateOnUpdate: pulumi.Bool(true),
CacheTtl: pulumi.Int(0),
CollectLogs: pulumi.Bool(true),
RateLimitingInterval: pulumi.Int(0),
RateLimitingLimit: pulumi.Int(0),
Authentication: pulumi.Bool(true),
LogManagement: pulumi.Int(10000),
LogManagementStrategy: pulumi.String("STOP_INSERTING"),
Logpush: pulumi.Bool(true),
LogpushPublicKey: pulumi.String("xxxxxxxxxxxxxxxx"),
RateLimitingTechnique: pulumi.String("fixed"),
RetryBackoff: pulumi.String("constant"),
RetryDelay: pulumi.Int(0),
RetryMaxAttempts: pulumi.Int(1),
WorkersAiBillingMode: pulumi.String("postpaid"),
Zdr: pulumi.Bool(true),
})
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 exampleAiGateway = new Cloudflare.Index.AiGateway("example_ai_gateway", new()
{
AccountId = "3ebbcb006d4d46d7bb6a8c7f14676cb0",
AiGatewayId = "my-gateway",
CacheInvalidateOnUpdate = true,
CacheTtl = 0,
CollectLogs = true,
RateLimitingInterval = 0,
RateLimitingLimit = 0,
Authentication = true,
LogManagement = 10000,
LogManagementStrategy = "STOP_INSERTING",
Logpush = true,
LogpushPublicKey = "xxxxxxxxxxxxxxxx",
RateLimitingTechnique = "fixed",
RetryBackoff = "constant",
RetryDelay = 0,
RetryMaxAttempts = 1,
WorkersAiBillingMode = "postpaid",
Zdr = true,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.cloudflare.AiGateway;
import com.pulumi.cloudflare.AiGatewayArgs;
import java.util.List;
import java.util.ArrayList;
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 exampleAiGateway = new AiGateway("exampleAiGateway", AiGatewayArgs.builder()
.accountId("3ebbcb006d4d46d7bb6a8c7f14676cb0")
.aiGatewayId("my-gateway")
.cacheInvalidateOnUpdate(true)
.cacheTtl(0)
.collectLogs(true)
.rateLimitingInterval(0)
.rateLimitingLimit(0)
.authentication(true)
.logManagement(10000)
.logManagementStrategy("STOP_INSERTING")
.logpush(true)
.logpushPublicKey("xxxxxxxxxxxxxxxx")
.rateLimitingTechnique("fixed")
.retryBackoff("constant")
.retryDelay(0)
.retryMaxAttempts(1)
.workersAiBillingMode("postpaid")
.zdr(true)
.build());
}
}
resources:
exampleAiGateway:
type: cloudflare:AiGateway
name: example_ai_gateway
properties:
accountId: 3ebbcb006d4d46d7bb6a8c7f14676cb0
aiGatewayId: my-gateway
cacheInvalidateOnUpdate: true
cacheTtl: 0
collectLogs: true
rateLimitingInterval: 0
rateLimitingLimit: 0
authentication: true
logManagement: 10000
logManagementStrategy: STOP_INSERTING
logpush: true
logpushPublicKey: xxxxxxxxxxxxxxxx
rateLimitingTechnique: fixed
retryBackoff: constant
retryDelay: 0
retryMaxAttempts: 1
workersAiBillingMode: postpaid
zdr: true
Create AiGateway Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new AiGateway(name: string, args: AiGatewayArgs, opts?: CustomResourceOptions);@overload
def AiGateway(resource_name: str,
args: AiGatewayArgs,
opts: Optional[ResourceOptions] = None)
@overload
def AiGateway(resource_name: str,
opts: Optional[ResourceOptions] = None,
rate_limiting_interval: Optional[int] = None,
ai_gateway_id: Optional[str] = None,
rate_limiting_limit: Optional[int] = None,
cache_invalidate_on_update: Optional[bool] = None,
cache_ttl: Optional[int] = None,
collect_logs: Optional[bool] = None,
logpush_public_key: Optional[str] = None,
authentication: Optional[bool] = None,
log_management_strategy: Optional[str] = None,
logpush: Optional[bool] = None,
account_id: Optional[str] = None,
otels: Optional[Sequence[AiGatewayOtelArgs]] = None,
dlp: Optional[AiGatewayDlpArgs] = None,
log_management: Optional[int] = None,
rate_limiting_technique: Optional[str] = None,
retry_backoff: Optional[str] = None,
retry_delay: Optional[int] = None,
retry_max_attempts: Optional[int] = None,
store_id: Optional[str] = None,
stripe: Optional[AiGatewayStripeArgs] = None,
workers_ai_billing_mode: Optional[str] = None,
zdr: Optional[bool] = None)func NewAiGateway(ctx *Context, name string, args AiGatewayArgs, opts ...ResourceOption) (*AiGateway, error)public AiGateway(string name, AiGatewayArgs args, CustomResourceOptions? opts = null)
public AiGateway(String name, AiGatewayArgs args)
public AiGateway(String name, AiGatewayArgs args, CustomResourceOptions options)
type: cloudflare:AiGateway
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args AiGatewayArgs
- 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 AiGatewayArgs
- 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 AiGatewayArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args AiGatewayArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args AiGatewayArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
AiGateway 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 AiGateway resource accepts the following input properties:
- Ai
Gateway stringId - gateway id
- Cache
Invalidate boolOn Update - Cache
Ttl int - Collect
Logs bool - Rate
Limiting intInterval - Rate
Limiting intLimit - Account
Id string - Authentication bool
- Dlp
Ai
Gateway Dlp - Log
Management int - Log
Management stringStrategy - Available values: "STOPINSERTING", "DELETEOLDEST".
- Logpush bool
- Logpush
Public stringKey - Otels
List<Ai
Gateway Otel> - Rate
Limiting stringTechnique - Available values: "fixed", "sliding".
- Retry
Backoff string - Backoff strategy for retry delays Available values: "constant", "linear", "exponential".
- Retry
Delay int - Delay between retry attempts in milliseconds (0-5000)
- Retry
Max intAttempts - Maximum number of retry attempts for failed requests (1-5)
- Store
Id string - Stripe
Ai
Gateway Stripe - Workers
Ai stringBilling Mode - Controls how Workers AI inference calls routed through this gateway are billed. Only 'postpaid' is currently supported. Available values: "postpaid".
- Zdr bool
- Ai
Gateway stringId - gateway id
- Cache
Invalidate boolOn Update - Cache
Ttl int - Collect
Logs bool - Rate
Limiting intInterval - Rate
Limiting intLimit - Account
Id string - Authentication bool
- Dlp
Ai
Gateway Dlp Args - Log
Management int - Log
Management stringStrategy - Available values: "STOPINSERTING", "DELETEOLDEST".
- Logpush bool
- Logpush
Public stringKey - Otels
[]Ai
Gateway Otel Args - Rate
Limiting stringTechnique - Available values: "fixed", "sliding".
- Retry
Backoff string - Backoff strategy for retry delays Available values: "constant", "linear", "exponential".
- Retry
Delay int - Delay between retry attempts in milliseconds (0-5000)
- Retry
Max intAttempts - Maximum number of retry attempts for failed requests (1-5)
- Store
Id string - Stripe
Ai
Gateway Stripe Args - Workers
Ai stringBilling Mode - Controls how Workers AI inference calls routed through this gateway are billed. Only 'postpaid' is currently supported. Available values: "postpaid".
- Zdr bool
- ai
Gateway StringId - gateway id
- cache
Invalidate BooleanOn Update - cache
Ttl Integer - collect
Logs Boolean - rate
Limiting IntegerInterval - rate
Limiting IntegerLimit - account
Id String - authentication Boolean
- dlp
Ai
Gateway Dlp - log
Management Integer - log
Management StringStrategy - Available values: "STOPINSERTING", "DELETEOLDEST".
- logpush Boolean
- logpush
Public StringKey - otels
List<Ai
Gateway Otel> - rate
Limiting StringTechnique - Available values: "fixed", "sliding".
- retry
Backoff String - Backoff strategy for retry delays Available values: "constant", "linear", "exponential".
- retry
Delay Integer - Delay between retry attempts in milliseconds (0-5000)
- retry
Max IntegerAttempts - Maximum number of retry attempts for failed requests (1-5)
- store
Id String - stripe
Ai
Gateway Stripe - workers
Ai StringBilling Mode - Controls how Workers AI inference calls routed through this gateway are billed. Only 'postpaid' is currently supported. Available values: "postpaid".
- zdr Boolean
- ai
Gateway stringId - gateway id
- cache
Invalidate booleanOn Update - cache
Ttl number - collect
Logs boolean - rate
Limiting numberInterval - rate
Limiting numberLimit - account
Id string - authentication boolean
- dlp
Ai
Gateway Dlp - log
Management number - log
Management stringStrategy - Available values: "STOPINSERTING", "DELETEOLDEST".
- logpush boolean
- logpush
Public stringKey - otels
Ai
Gateway Otel[] - rate
Limiting stringTechnique - Available values: "fixed", "sliding".
- retry
Backoff string - Backoff strategy for retry delays Available values: "constant", "linear", "exponential".
- retry
Delay number - Delay between retry attempts in milliseconds (0-5000)
- retry
Max numberAttempts - Maximum number of retry attempts for failed requests (1-5)
- store
Id string - stripe
Ai
Gateway Stripe - workers
Ai stringBilling Mode - Controls how Workers AI inference calls routed through this gateway are billed. Only 'postpaid' is currently supported. Available values: "postpaid".
- zdr boolean
- ai_
gateway_ strid - gateway id
- cache_
invalidate_ boolon_ update - cache_
ttl int - collect_
logs bool - rate_
limiting_ intinterval - rate_
limiting_ intlimit - account_
id str - authentication bool
- dlp
Ai
Gateway Dlp Args - log_
management int - log_
management_ strstrategy - Available values: "STOPINSERTING", "DELETEOLDEST".
- logpush bool
- logpush_
public_ strkey - otels
Sequence[Ai
Gateway Otel Args] - rate_
limiting_ strtechnique - Available values: "fixed", "sliding".
- retry_
backoff str - Backoff strategy for retry delays Available values: "constant", "linear", "exponential".
- retry_
delay int - Delay between retry attempts in milliseconds (0-5000)
- retry_
max_ intattempts - Maximum number of retry attempts for failed requests (1-5)
- store_
id str - stripe
Ai
Gateway Stripe Args - workers_
ai_ strbilling_ mode - Controls how Workers AI inference calls routed through this gateway are billed. Only 'postpaid' is currently supported. Available values: "postpaid".
- zdr bool
- ai
Gateway StringId - gateway id
- cache
Invalidate BooleanOn Update - cache
Ttl Number - collect
Logs Boolean - rate
Limiting NumberInterval - rate
Limiting NumberLimit - account
Id String - authentication Boolean
- dlp Property Map
- log
Management Number - log
Management StringStrategy - Available values: "STOPINSERTING", "DELETEOLDEST".
- logpush Boolean
- logpush
Public StringKey - otels List<Property Map>
- rate
Limiting StringTechnique - Available values: "fixed", "sliding".
- retry
Backoff String - Backoff strategy for retry delays Available values: "constant", "linear", "exponential".
- retry
Delay Number - Delay between retry attempts in milliseconds (0-5000)
- retry
Max NumberAttempts - Maximum number of retry attempts for failed requests (1-5)
- store
Id String - stripe Property Map
- workers
Ai StringBilling Mode - Controls how Workers AI inference calls routed through this gateway are billed. Only 'postpaid' is currently supported. Available values: "postpaid".
- zdr Boolean
Outputs
All input properties are implicitly available as output properties. Additionally, the AiGateway resource produces the following output properties:
- Created
At string - Id string
- The provider-assigned unique ID for this managed resource.
- Is
Default bool - Modified
At string
- Created
At string - Id string
- The provider-assigned unique ID for this managed resource.
- Is
Default bool - Modified
At string
- created
At String - id String
- The provider-assigned unique ID for this managed resource.
- is
Default Boolean - modified
At String
- created
At string - id string
- The provider-assigned unique ID for this managed resource.
- is
Default boolean - modified
At string
- created_
at str - id str
- The provider-assigned unique ID for this managed resource.
- is_
default bool - modified_
at str
- created
At String - id String
- The provider-assigned unique ID for this managed resource.
- is
Default Boolean - modified
At String
Look up Existing AiGateway Resource
Get an existing AiGateway 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?: AiGatewayState, opts?: CustomResourceOptions): AiGateway@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
account_id: Optional[str] = None,
ai_gateway_id: Optional[str] = None,
authentication: Optional[bool] = None,
cache_invalidate_on_update: Optional[bool] = None,
cache_ttl: Optional[int] = None,
collect_logs: Optional[bool] = None,
created_at: Optional[str] = None,
dlp: Optional[AiGatewayDlpArgs] = None,
is_default: Optional[bool] = None,
log_management: Optional[int] = None,
log_management_strategy: Optional[str] = None,
logpush: Optional[bool] = None,
logpush_public_key: Optional[str] = None,
modified_at: Optional[str] = None,
otels: Optional[Sequence[AiGatewayOtelArgs]] = None,
rate_limiting_interval: Optional[int] = None,
rate_limiting_limit: Optional[int] = None,
rate_limiting_technique: Optional[str] = None,
retry_backoff: Optional[str] = None,
retry_delay: Optional[int] = None,
retry_max_attempts: Optional[int] = None,
store_id: Optional[str] = None,
stripe: Optional[AiGatewayStripeArgs] = None,
workers_ai_billing_mode: Optional[str] = None,
zdr: Optional[bool] = None) -> AiGatewayfunc GetAiGateway(ctx *Context, name string, id IDInput, state *AiGatewayState, opts ...ResourceOption) (*AiGateway, error)public static AiGateway Get(string name, Input<string> id, AiGatewayState? state, CustomResourceOptions? opts = null)public static AiGateway get(String name, Output<String> id, AiGatewayState state, CustomResourceOptions options)resources: _: type: cloudflare:AiGateway get: 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 - Ai
Gateway stringId - gateway id
- Authentication bool
- Cache
Invalidate boolOn Update - Cache
Ttl int - Collect
Logs bool - Created
At string - Dlp
Ai
Gateway Dlp - Is
Default bool - Log
Management int - Log
Management stringStrategy - Available values: "STOPINSERTING", "DELETEOLDEST".
- Logpush bool
- Logpush
Public stringKey - Modified
At string - Otels
List<Ai
Gateway Otel> - Rate
Limiting intInterval - Rate
Limiting intLimit - Rate
Limiting stringTechnique - Available values: "fixed", "sliding".
- Retry
Backoff string - Backoff strategy for retry delays Available values: "constant", "linear", "exponential".
- Retry
Delay int - Delay between retry attempts in milliseconds (0-5000)
- Retry
Max intAttempts - Maximum number of retry attempts for failed requests (1-5)
- Store
Id string - Stripe
Ai
Gateway Stripe - Workers
Ai stringBilling Mode - Controls how Workers AI inference calls routed through this gateway are billed. Only 'postpaid' is currently supported. Available values: "postpaid".
- Zdr bool
- Account
Id string - Ai
Gateway stringId - gateway id
- Authentication bool
- Cache
Invalidate boolOn Update - Cache
Ttl int - Collect
Logs bool - Created
At string - Dlp
Ai
Gateway Dlp Args - Is
Default bool - Log
Management int - Log
Management stringStrategy - Available values: "STOPINSERTING", "DELETEOLDEST".
- Logpush bool
- Logpush
Public stringKey - Modified
At string - Otels
[]Ai
Gateway Otel Args - Rate
Limiting intInterval - Rate
Limiting intLimit - Rate
Limiting stringTechnique - Available values: "fixed", "sliding".
- Retry
Backoff string - Backoff strategy for retry delays Available values: "constant", "linear", "exponential".
- Retry
Delay int - Delay between retry attempts in milliseconds (0-5000)
- Retry
Max intAttempts - Maximum number of retry attempts for failed requests (1-5)
- Store
Id string - Stripe
Ai
Gateway Stripe Args - Workers
Ai stringBilling Mode - Controls how Workers AI inference calls routed through this gateway are billed. Only 'postpaid' is currently supported. Available values: "postpaid".
- Zdr bool
- account
Id String - ai
Gateway StringId - gateway id
- authentication Boolean
- cache
Invalidate BooleanOn Update - cache
Ttl Integer - collect
Logs Boolean - created
At String - dlp
Ai
Gateway Dlp - is
Default Boolean - log
Management Integer - log
Management StringStrategy - Available values: "STOPINSERTING", "DELETEOLDEST".
- logpush Boolean
- logpush
Public StringKey - modified
At String - otels
List<Ai
Gateway Otel> - rate
Limiting IntegerInterval - rate
Limiting IntegerLimit - rate
Limiting StringTechnique - Available values: "fixed", "sliding".
- retry
Backoff String - Backoff strategy for retry delays Available values: "constant", "linear", "exponential".
- retry
Delay Integer - Delay between retry attempts in milliseconds (0-5000)
- retry
Max IntegerAttempts - Maximum number of retry attempts for failed requests (1-5)
- store
Id String - stripe
Ai
Gateway Stripe - workers
Ai StringBilling Mode - Controls how Workers AI inference calls routed through this gateway are billed. Only 'postpaid' is currently supported. Available values: "postpaid".
- zdr Boolean
- account
Id string - ai
Gateway stringId - gateway id
- authentication boolean
- cache
Invalidate booleanOn Update - cache
Ttl number - collect
Logs boolean - created
At string - dlp
Ai
Gateway Dlp - is
Default boolean - log
Management number - log
Management stringStrategy - Available values: "STOPINSERTING", "DELETEOLDEST".
- logpush boolean
- logpush
Public stringKey - modified
At string - otels
Ai
Gateway Otel[] - rate
Limiting numberInterval - rate
Limiting numberLimit - rate
Limiting stringTechnique - Available values: "fixed", "sliding".
- retry
Backoff string - Backoff strategy for retry delays Available values: "constant", "linear", "exponential".
- retry
Delay number - Delay between retry attempts in milliseconds (0-5000)
- retry
Max numberAttempts - Maximum number of retry attempts for failed requests (1-5)
- store
Id string - stripe
Ai
Gateway Stripe - workers
Ai stringBilling Mode - Controls how Workers AI inference calls routed through this gateway are billed. Only 'postpaid' is currently supported. Available values: "postpaid".
- zdr boolean
- account_
id str - ai_
gateway_ strid - gateway id
- authentication bool
- cache_
invalidate_ boolon_ update - cache_
ttl int - collect_
logs bool - created_
at str - dlp
Ai
Gateway Dlp Args - is_
default bool - log_
management int - log_
management_ strstrategy - Available values: "STOPINSERTING", "DELETEOLDEST".
- logpush bool
- logpush_
public_ strkey - modified_
at str - otels
Sequence[Ai
Gateway Otel Args] - rate_
limiting_ intinterval - rate_
limiting_ intlimit - rate_
limiting_ strtechnique - Available values: "fixed", "sliding".
- retry_
backoff str - Backoff strategy for retry delays Available values: "constant", "linear", "exponential".
- retry_
delay int - Delay between retry attempts in milliseconds (0-5000)
- retry_
max_ intattempts - Maximum number of retry attempts for failed requests (1-5)
- store_
id str - stripe
Ai
Gateway Stripe Args - workers_
ai_ strbilling_ mode - Controls how Workers AI inference calls routed through this gateway are billed. Only 'postpaid' is currently supported. Available values: "postpaid".
- zdr bool
- account
Id String - ai
Gateway StringId - gateway id
- authentication Boolean
- cache
Invalidate BooleanOn Update - cache
Ttl Number - collect
Logs Boolean - created
At String - dlp Property Map
- is
Default Boolean - log
Management Number - log
Management StringStrategy - Available values: "STOPINSERTING", "DELETEOLDEST".
- logpush Boolean
- logpush
Public StringKey - modified
At String - otels List<Property Map>
- rate
Limiting NumberInterval - rate
Limiting NumberLimit - rate
Limiting StringTechnique - Available values: "fixed", "sliding".
- retry
Backoff String - Backoff strategy for retry delays Available values: "constant", "linear", "exponential".
- retry
Delay Number - Delay between retry attempts in milliseconds (0-5000)
- retry
Max NumberAttempts - Maximum number of retry attempts for failed requests (1-5)
- store
Id String - stripe Property Map
- workers
Ai StringBilling Mode - Controls how Workers AI inference calls routed through this gateway are billed. Only 'postpaid' is currently supported. Available values: "postpaid".
- zdr Boolean
Supporting Types
AiGatewayDlp, AiGatewayDlpArgs
- Enabled bool
- Action string
- Available values: "BLOCK", "FLAG".
- Policies
List<Ai
Gateway Dlp Policy> - Profiles List<string>
- Enabled bool
- Action string
- Available values: "BLOCK", "FLAG".
- Policies
[]Ai
Gateway Dlp Policy - Profiles []string
- enabled Boolean
- action String
- Available values: "BLOCK", "FLAG".
- policies
List<Ai
Gateway Dlp Policy> - profiles List<String>
- enabled boolean
- action string
- Available values: "BLOCK", "FLAG".
- policies
Ai
Gateway Dlp Policy[] - profiles string[]
- enabled bool
- action str
- Available values: "BLOCK", "FLAG".
- policies
Sequence[Ai
Gateway Dlp Policy] - profiles Sequence[str]
- enabled Boolean
- action String
- Available values: "BLOCK", "FLAG".
- policies List<Property Map>
- profiles List<String>
AiGatewayDlpPolicy, AiGatewayDlpPolicyArgs
AiGatewayOtel, AiGatewayOtelArgs
- string
- Headers Dictionary<string, string>
- Url string
- Content
Type string - Available values: "json", "protobuf".
- string
- Headers map[string]string
- Url string
- Content
Type string - Available values: "json", "protobuf".
- String
- headers Map<String,String>
- url String
- content
Type String - Available values: "json", "protobuf".
- string
- headers {[key: string]: string}
- url string
- content
Type string - Available values: "json", "protobuf".
- str
- headers Mapping[str, str]
- url str
- content_
type str - Available values: "json", "protobuf".
- String
- headers Map<String>
- url String
- content
Type String - Available values: "json", "protobuf".
AiGatewayStripe, AiGatewayStripeArgs
AiGatewayStripeUsageEvent, AiGatewayStripeUsageEventArgs
- Payload string
- Payload string
- payload String
- payload string
- payload str
- payload String
Import
$ pulumi import cloudflare:index/aiGateway:AiGateway example '<account_id>/<id>'
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 Saturday, May 2, 2026 by Pulumi
