1. Packages
  2. Packages
  3. Confluent Provider
  4. API Docs
  5. FlinkComputePoolConfig
Viewing docs for Confluent v2.66.0
published on Friday, Apr 24, 2026 by Pulumi
confluentcloud logo
Viewing docs for Confluent v2.66.0
published on Friday, Apr 24, 2026 by Pulumi

    General Availability

    confluentcloud.FlinkComputePoolConfig provides a Flink Compute Pool config resource that enables creating, editing, and deleting Flink Compute Pool Config on Confluent Cloud.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as confluentcloud from "@pulumi/confluentcloud";
    
    const main = new confluentcloud.FlinkComputePoolConfig("main", {
        defaultComputePoolEnabled: true,
        defaultMaxCfu: 10,
    });
    
    import pulumi
    import pulumi_confluentcloud as confluentcloud
    
    main = confluentcloud.FlinkComputePoolConfig("main",
        default_compute_pool_enabled=True,
        default_max_cfu=10)
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-confluentcloud/sdk/v2/go/confluentcloud"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := confluentcloud.NewFlinkComputePoolConfig(ctx, "main", &confluentcloud.FlinkComputePoolConfigArgs{
    			DefaultComputePoolEnabled: pulumi.Bool(true),
    			DefaultMaxCfu:             pulumi.Int(10),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using ConfluentCloud = Pulumi.ConfluentCloud;
    
    return await Deployment.RunAsync(() => 
    {
        var main = new ConfluentCloud.Index.FlinkComputePoolConfig("main", new()
        {
            DefaultComputePoolEnabled = true,
            DefaultMaxCfu = 10,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.confluentcloud.FlinkComputePoolConfig;
    import com.pulumi.confluentcloud.FlinkComputePoolConfigArgs;
    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 main = new FlinkComputePoolConfig("main", FlinkComputePoolConfigArgs.builder()
                .defaultComputePoolEnabled(true)
                .defaultMaxCfu(10)
                .build());
    
        }
    }
    
    resources:
      main:
        type: confluentcloud:FlinkComputePoolConfig
        properties:
          defaultComputePoolEnabled: true
          defaultMaxCfu: 10
    

    Create FlinkComputePoolConfig Resource

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

    Constructor syntax

    new FlinkComputePoolConfig(name: string, args?: FlinkComputePoolConfigArgs, opts?: CustomResourceOptions);
    @overload
    def FlinkComputePoolConfig(resource_name: str,
                               args: Optional[FlinkComputePoolConfigArgs] = None,
                               opts: Optional[ResourceOptions] = None)
    
    @overload
    def FlinkComputePoolConfig(resource_name: str,
                               opts: Optional[ResourceOptions] = None,
                               default_compute_pool_enabled: Optional[bool] = None,
                               default_max_cfu: Optional[int] = None)
    func NewFlinkComputePoolConfig(ctx *Context, name string, args *FlinkComputePoolConfigArgs, opts ...ResourceOption) (*FlinkComputePoolConfig, error)
    public FlinkComputePoolConfig(string name, FlinkComputePoolConfigArgs? args = null, CustomResourceOptions? opts = null)
    public FlinkComputePoolConfig(String name, FlinkComputePoolConfigArgs args)
    public FlinkComputePoolConfig(String name, FlinkComputePoolConfigArgs args, CustomResourceOptions options)
    
    type: confluentcloud:FlinkComputePoolConfig
    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 FlinkComputePoolConfigArgs
    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 FlinkComputePoolConfigArgs
    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 FlinkComputePoolConfigArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args FlinkComputePoolConfigArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args FlinkComputePoolConfigArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    FlinkComputePoolConfig 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 FlinkComputePoolConfig resource accepts the following input properties:

    DefaultComputePoolEnabled bool
    Whether default compute pools are enabled for the organization.
    DefaultMaxCfu int

    Maximum number of Confluent Flink Units (CFU).

    Note: At least one of defaultComputePoolEnabled or defaultMaxCfu is required.

    DefaultComputePoolEnabled bool
    Whether default compute pools are enabled for the organization.
    DefaultMaxCfu int

    Maximum number of Confluent Flink Units (CFU).

    Note: At least one of defaultComputePoolEnabled or defaultMaxCfu is required.

    defaultComputePoolEnabled Boolean
    Whether default compute pools are enabled for the organization.
    defaultMaxCfu Integer

    Maximum number of Confluent Flink Units (CFU).

    Note: At least one of defaultComputePoolEnabled or defaultMaxCfu is required.

    defaultComputePoolEnabled boolean
    Whether default compute pools are enabled for the organization.
    defaultMaxCfu number

    Maximum number of Confluent Flink Units (CFU).

    Note: At least one of defaultComputePoolEnabled or defaultMaxCfu is required.

    default_compute_pool_enabled bool
    Whether default compute pools are enabled for the organization.
    default_max_cfu int

    Maximum number of Confluent Flink Units (CFU).

    Note: At least one of defaultComputePoolEnabled or defaultMaxCfu is required.

    defaultComputePoolEnabled Boolean
    Whether default compute pools are enabled for the organization.
    defaultMaxCfu Number

    Maximum number of Confluent Flink Units (CFU).

    Note: At least one of defaultComputePoolEnabled or defaultMaxCfu is required.

    Outputs

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

    ApiVersion string
    (Required String) The API Version of the schema version of the Flink Compute Pool Config, for example, fcpm/v2.
    Id string
    The provider-assigned unique ID for this managed resource.
    Kind string
    (Required String) The kind of the Flink Compute Pool Config, for example, OrgComputePoolConfig.
    ApiVersion string
    (Required String) The API Version of the schema version of the Flink Compute Pool Config, for example, fcpm/v2.
    Id string
    The provider-assigned unique ID for this managed resource.
    Kind string
    (Required String) The kind of the Flink Compute Pool Config, for example, OrgComputePoolConfig.
    apiVersion String
    (Required String) The API Version of the schema version of the Flink Compute Pool Config, for example, fcpm/v2.
    id String
    The provider-assigned unique ID for this managed resource.
    kind String
    (Required String) The kind of the Flink Compute Pool Config, for example, OrgComputePoolConfig.
    apiVersion string
    (Required String) The API Version of the schema version of the Flink Compute Pool Config, for example, fcpm/v2.
    id string
    The provider-assigned unique ID for this managed resource.
    kind string
    (Required String) The kind of the Flink Compute Pool Config, for example, OrgComputePoolConfig.
    api_version str
    (Required String) The API Version of the schema version of the Flink Compute Pool Config, for example, fcpm/v2.
    id str
    The provider-assigned unique ID for this managed resource.
    kind str
    (Required String) The kind of the Flink Compute Pool Config, for example, OrgComputePoolConfig.
    apiVersion String
    (Required String) The API Version of the schema version of the Flink Compute Pool Config, for example, fcpm/v2.
    id String
    The provider-assigned unique ID for this managed resource.
    kind String
    (Required String) The kind of the Flink Compute Pool Config, for example, OrgComputePoolConfig.

    Look up Existing FlinkComputePoolConfig Resource

    Get an existing FlinkComputePoolConfig 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?: FlinkComputePoolConfigState, opts?: CustomResourceOptions): FlinkComputePoolConfig
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            api_version: Optional[str] = None,
            default_compute_pool_enabled: Optional[bool] = None,
            default_max_cfu: Optional[int] = None,
            kind: Optional[str] = None) -> FlinkComputePoolConfig
    func GetFlinkComputePoolConfig(ctx *Context, name string, id IDInput, state *FlinkComputePoolConfigState, opts ...ResourceOption) (*FlinkComputePoolConfig, error)
    public static FlinkComputePoolConfig Get(string name, Input<string> id, FlinkComputePoolConfigState? state, CustomResourceOptions? opts = null)
    public static FlinkComputePoolConfig get(String name, Output<String> id, FlinkComputePoolConfigState state, CustomResourceOptions options)
    resources:  _:    type: confluentcloud:FlinkComputePoolConfig    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.
    The following state arguments are supported:
    ApiVersion string
    (Required String) The API Version of the schema version of the Flink Compute Pool Config, for example, fcpm/v2.
    DefaultComputePoolEnabled bool
    Whether default compute pools are enabled for the organization.
    DefaultMaxCfu int

    Maximum number of Confluent Flink Units (CFU).

    Note: At least one of defaultComputePoolEnabled or defaultMaxCfu is required.

    Kind string
    (Required String) The kind of the Flink Compute Pool Config, for example, OrgComputePoolConfig.
    ApiVersion string
    (Required String) The API Version of the schema version of the Flink Compute Pool Config, for example, fcpm/v2.
    DefaultComputePoolEnabled bool
    Whether default compute pools are enabled for the organization.
    DefaultMaxCfu int

    Maximum number of Confluent Flink Units (CFU).

    Note: At least one of defaultComputePoolEnabled or defaultMaxCfu is required.

    Kind string
    (Required String) The kind of the Flink Compute Pool Config, for example, OrgComputePoolConfig.
    apiVersion String
    (Required String) The API Version of the schema version of the Flink Compute Pool Config, for example, fcpm/v2.
    defaultComputePoolEnabled Boolean
    Whether default compute pools are enabled for the organization.
    defaultMaxCfu Integer

    Maximum number of Confluent Flink Units (CFU).

    Note: At least one of defaultComputePoolEnabled or defaultMaxCfu is required.

    kind String
    (Required String) The kind of the Flink Compute Pool Config, for example, OrgComputePoolConfig.
    apiVersion string
    (Required String) The API Version of the schema version of the Flink Compute Pool Config, for example, fcpm/v2.
    defaultComputePoolEnabled boolean
    Whether default compute pools are enabled for the organization.
    defaultMaxCfu number

    Maximum number of Confluent Flink Units (CFU).

    Note: At least one of defaultComputePoolEnabled or defaultMaxCfu is required.

    kind string
    (Required String) The kind of the Flink Compute Pool Config, for example, OrgComputePoolConfig.
    api_version str
    (Required String) The API Version of the schema version of the Flink Compute Pool Config, for example, fcpm/v2.
    default_compute_pool_enabled bool
    Whether default compute pools are enabled for the organization.
    default_max_cfu int

    Maximum number of Confluent Flink Units (CFU).

    Note: At least one of defaultComputePoolEnabled or defaultMaxCfu is required.

    kind str
    (Required String) The kind of the Flink Compute Pool Config, for example, OrgComputePoolConfig.
    apiVersion String
    (Required String) The API Version of the schema version of the Flink Compute Pool Config, for example, fcpm/v2.
    defaultComputePoolEnabled Boolean
    Whether default compute pools are enabled for the organization.
    defaultMaxCfu Number

    Maximum number of Confluent Flink Units (CFU).

    Note: At least one of defaultComputePoolEnabled or defaultMaxCfu is required.

    kind String
    (Required String) The kind of the Flink Compute Pool Config, for example, OrgComputePoolConfig.

    Import

    Note: CONFLUENT_CLOUD_API_KEY and CONFLUENT_CLOUD_API_SECRET environment variables must be set before importing a Flink Compute Pool.

    You can import a Flink Compute Pool Config by using Organization ID, in the format <Organization ID>. The following example shows how to import a Flink Compute Pool Config:

    $ export CONFLUENT_CLOUD_API_KEY="<cloud_api_key>"
    $ export CONFLUENT_CLOUD_API_SECRET="<cloud_api_secret>"
    $ pulumi import confluentcloud:index/flinkComputePoolConfig:FlinkComputePoolConfig main org-123
    

    !> Warning: Do not forget to delete terminal command history afterwards for security purposes.

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

    Package Details

    Repository
    Confluent Cloud pulumi/pulumi-confluentcloud
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the confluent Terraform Provider.
    confluentcloud logo
    Viewing docs for Confluent v2.66.0
    published on Friday, Apr 24, 2026 by Pulumi
      Try Pulumi Cloud free. Your team will thank you.