1. Packages
  2. Aiven Provider
  3. API Docs
  4. FlinkApplication
Viewing docs for Aiven v6.51.0
published on Tuesday, Mar 17, 2026 by Pulumi
aiven logo
Viewing docs for Aiven v6.51.0
published on Tuesday, Mar 17, 2026 by Pulumi

    Creates and manages an Aiven for Apache Flink® application. If this resource is missing (for example, after a service power off), it’s removed from the state and a new create plan is generated.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as aiven from "@pulumi/aiven";
    
    const exampleApp = new aiven.FlinkApplication("example_app", {
        project: exampleProject.project,
        serviceName: "example-flink-service",
        name: "example-app",
    });
    
    import pulumi
    import pulumi_aiven as aiven
    
    example_app = aiven.FlinkApplication("example_app",
        project=example_project["project"],
        service_name="example-flink-service",
        name="example-app")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-aiven/sdk/v6/go/aiven"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := aiven.NewFlinkApplication(ctx, "example_app", &aiven.FlinkApplicationArgs{
    			Project:     pulumi.Any(exampleProject.Project),
    			ServiceName: pulumi.String("example-flink-service"),
    			Name:        pulumi.String("example-app"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Aiven = Pulumi.Aiven;
    
    return await Deployment.RunAsync(() => 
    {
        var exampleApp = new Aiven.FlinkApplication("example_app", new()
        {
            Project = exampleProject.Project,
            ServiceName = "example-flink-service",
            Name = "example-app",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.aiven.FlinkApplication;
    import com.pulumi.aiven.FlinkApplicationArgs;
    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 exampleApp = new FlinkApplication("exampleApp", FlinkApplicationArgs.builder()
                .project(exampleProject.project())
                .serviceName("example-flink-service")
                .name("example-app")
                .build());
    
        }
    }
    
    resources:
      exampleApp:
        type: aiven:FlinkApplication
        name: example_app
        properties:
          project: ${exampleProject.project}
          serviceName: example-flink-service
          name: example-app
    

    Create FlinkApplication Resource

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

    Constructor syntax

    new FlinkApplication(name: string, args: FlinkApplicationArgs, opts?: CustomResourceOptions);
    @overload
    def FlinkApplication(resource_name: str,
                         args: FlinkApplicationArgs,
                         opts: Optional[ResourceOptions] = None)
    
    @overload
    def FlinkApplication(resource_name: str,
                         opts: Optional[ResourceOptions] = None,
                         project: Optional[str] = None,
                         service_name: Optional[str] = None,
                         name: Optional[str] = None,
                         timeouts: Optional[FlinkApplicationTimeoutsArgs] = None)
    func NewFlinkApplication(ctx *Context, name string, args FlinkApplicationArgs, opts ...ResourceOption) (*FlinkApplication, error)
    public FlinkApplication(string name, FlinkApplicationArgs args, CustomResourceOptions? opts = null)
    public FlinkApplication(String name, FlinkApplicationArgs args)
    public FlinkApplication(String name, FlinkApplicationArgs args, CustomResourceOptions options)
    
    type: aiven:FlinkApplication
    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 FlinkApplicationArgs
    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 FlinkApplicationArgs
    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 FlinkApplicationArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args FlinkApplicationArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args FlinkApplicationArgs
    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 flinkApplicationResource = new Aiven.FlinkApplication("flinkApplicationResource", new()
    {
        Project = "string",
        ServiceName = "string",
        Name = "string",
        Timeouts = new Aiven.Inputs.FlinkApplicationTimeoutsArgs
        {
            Create = "string",
            Delete = "string",
            Read = "string",
            Update = "string",
        },
    });
    
    example, err := aiven.NewFlinkApplication(ctx, "flinkApplicationResource", &aiven.FlinkApplicationArgs{
    	Project:     pulumi.String("string"),
    	ServiceName: pulumi.String("string"),
    	Name:        pulumi.String("string"),
    	Timeouts: &aiven.FlinkApplicationTimeoutsArgs{
    		Create: pulumi.String("string"),
    		Delete: pulumi.String("string"),
    		Read:   pulumi.String("string"),
    		Update: pulumi.String("string"),
    	},
    })
    
    var flinkApplicationResource = new FlinkApplication("flinkApplicationResource", FlinkApplicationArgs.builder()
        .project("string")
        .serviceName("string")
        .name("string")
        .timeouts(FlinkApplicationTimeoutsArgs.builder()
            .create("string")
            .delete("string")
            .read("string")
            .update("string")
            .build())
        .build());
    
    flink_application_resource = aiven.FlinkApplication("flinkApplicationResource",
        project="string",
        service_name="string",
        name="string",
        timeouts={
            "create": "string",
            "delete": "string",
            "read": "string",
            "update": "string",
        })
    
    const flinkApplicationResource = new aiven.FlinkApplication("flinkApplicationResource", {
        project: "string",
        serviceName: "string",
        name: "string",
        timeouts: {
            create: "string",
            "delete": "string",
            read: "string",
            update: "string",
        },
    });
    
    type: aiven:FlinkApplication
    properties:
        name: string
        project: string
        serviceName: string
        timeouts:
            create: string
            delete: string
            read: string
            update: string
    

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

    Project string
    Project name. Changing this property forces recreation of the resource.
    ServiceName string
    Service name. Changing this property forces recreation of the resource.
    Name string
    Application name. Maximum length: 128.
    Timeouts FlinkApplicationTimeouts
    Project string
    Project name. Changing this property forces recreation of the resource.
    ServiceName string
    Service name. Changing this property forces recreation of the resource.
    Name string
    Application name. Maximum length: 128.
    Timeouts FlinkApplicationTimeoutsArgs
    project String
    Project name. Changing this property forces recreation of the resource.
    serviceName String
    Service name. Changing this property forces recreation of the resource.
    name String
    Application name. Maximum length: 128.
    timeouts FlinkApplicationTimeouts
    project string
    Project name. Changing this property forces recreation of the resource.
    serviceName string
    Service name. Changing this property forces recreation of the resource.
    name string
    Application name. Maximum length: 128.
    timeouts FlinkApplicationTimeouts
    project str
    Project name. Changing this property forces recreation of the resource.
    service_name str
    Service name. Changing this property forces recreation of the resource.
    name str
    Application name. Maximum length: 128.
    timeouts FlinkApplicationTimeoutsArgs
    project String
    Project name. Changing this property forces recreation of the resource.
    serviceName String
    Service name. Changing this property forces recreation of the resource.
    name String
    Application name. Maximum length: 128.
    timeouts Property Map

    Outputs

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

    ApplicationId string
    Application ID.
    CreatedAt string
    The creation timestamp of this entity in ISO 8601 format, always in UTC.
    CreatedBy string
    The creator of this entity.
    Id string
    The provider-assigned unique ID for this managed resource.
    UpdatedAt string
    The update timestamp of this entity in ISO 8601 format, always in UTC.
    UpdatedBy string
    The latest updater of this entity.
    ApplicationId string
    Application ID.
    CreatedAt string
    The creation timestamp of this entity in ISO 8601 format, always in UTC.
    CreatedBy string
    The creator of this entity.
    Id string
    The provider-assigned unique ID for this managed resource.
    UpdatedAt string
    The update timestamp of this entity in ISO 8601 format, always in UTC.
    UpdatedBy string
    The latest updater of this entity.
    applicationId String
    Application ID.
    createdAt String
    The creation timestamp of this entity in ISO 8601 format, always in UTC.
    createdBy String
    The creator of this entity.
    id String
    The provider-assigned unique ID for this managed resource.
    updatedAt String
    The update timestamp of this entity in ISO 8601 format, always in UTC.
    updatedBy String
    The latest updater of this entity.
    applicationId string
    Application ID.
    createdAt string
    The creation timestamp of this entity in ISO 8601 format, always in UTC.
    createdBy string
    The creator of this entity.
    id string
    The provider-assigned unique ID for this managed resource.
    updatedAt string
    The update timestamp of this entity in ISO 8601 format, always in UTC.
    updatedBy string
    The latest updater of this entity.
    application_id str
    Application ID.
    created_at str
    The creation timestamp of this entity in ISO 8601 format, always in UTC.
    created_by str
    The creator of this entity.
    id str
    The provider-assigned unique ID for this managed resource.
    updated_at str
    The update timestamp of this entity in ISO 8601 format, always in UTC.
    updated_by str
    The latest updater of this entity.
    applicationId String
    Application ID.
    createdAt String
    The creation timestamp of this entity in ISO 8601 format, always in UTC.
    createdBy String
    The creator of this entity.
    id String
    The provider-assigned unique ID for this managed resource.
    updatedAt String
    The update timestamp of this entity in ISO 8601 format, always in UTC.
    updatedBy String
    The latest updater of this entity.

    Look up Existing FlinkApplication Resource

    Get an existing FlinkApplication 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?: FlinkApplicationState, opts?: CustomResourceOptions): FlinkApplication
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            application_id: Optional[str] = None,
            created_at: Optional[str] = None,
            created_by: Optional[str] = None,
            name: Optional[str] = None,
            project: Optional[str] = None,
            service_name: Optional[str] = None,
            timeouts: Optional[FlinkApplicationTimeoutsArgs] = None,
            updated_at: Optional[str] = None,
            updated_by: Optional[str] = None) -> FlinkApplication
    func GetFlinkApplication(ctx *Context, name string, id IDInput, state *FlinkApplicationState, opts ...ResourceOption) (*FlinkApplication, error)
    public static FlinkApplication Get(string name, Input<string> id, FlinkApplicationState? state, CustomResourceOptions? opts = null)
    public static FlinkApplication get(String name, Output<String> id, FlinkApplicationState state, CustomResourceOptions options)
    resources:  _:    type: aiven:FlinkApplication    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:
    ApplicationId string
    Application ID.
    CreatedAt string
    The creation timestamp of this entity in ISO 8601 format, always in UTC.
    CreatedBy string
    The creator of this entity.
    Name string
    Application name. Maximum length: 128.
    Project string
    Project name. Changing this property forces recreation of the resource.
    ServiceName string
    Service name. Changing this property forces recreation of the resource.
    Timeouts FlinkApplicationTimeouts
    UpdatedAt string
    The update timestamp of this entity in ISO 8601 format, always in UTC.
    UpdatedBy string
    The latest updater of this entity.
    ApplicationId string
    Application ID.
    CreatedAt string
    The creation timestamp of this entity in ISO 8601 format, always in UTC.
    CreatedBy string
    The creator of this entity.
    Name string
    Application name. Maximum length: 128.
    Project string
    Project name. Changing this property forces recreation of the resource.
    ServiceName string
    Service name. Changing this property forces recreation of the resource.
    Timeouts FlinkApplicationTimeoutsArgs
    UpdatedAt string
    The update timestamp of this entity in ISO 8601 format, always in UTC.
    UpdatedBy string
    The latest updater of this entity.
    applicationId String
    Application ID.
    createdAt String
    The creation timestamp of this entity in ISO 8601 format, always in UTC.
    createdBy String
    The creator of this entity.
    name String
    Application name. Maximum length: 128.
    project String
    Project name. Changing this property forces recreation of the resource.
    serviceName String
    Service name. Changing this property forces recreation of the resource.
    timeouts FlinkApplicationTimeouts
    updatedAt String
    The update timestamp of this entity in ISO 8601 format, always in UTC.
    updatedBy String
    The latest updater of this entity.
    applicationId string
    Application ID.
    createdAt string
    The creation timestamp of this entity in ISO 8601 format, always in UTC.
    createdBy string
    The creator of this entity.
    name string
    Application name. Maximum length: 128.
    project string
    Project name. Changing this property forces recreation of the resource.
    serviceName string
    Service name. Changing this property forces recreation of the resource.
    timeouts FlinkApplicationTimeouts
    updatedAt string
    The update timestamp of this entity in ISO 8601 format, always in UTC.
    updatedBy string
    The latest updater of this entity.
    application_id str
    Application ID.
    created_at str
    The creation timestamp of this entity in ISO 8601 format, always in UTC.
    created_by str
    The creator of this entity.
    name str
    Application name. Maximum length: 128.
    project str
    Project name. Changing this property forces recreation of the resource.
    service_name str
    Service name. Changing this property forces recreation of the resource.
    timeouts FlinkApplicationTimeoutsArgs
    updated_at str
    The update timestamp of this entity in ISO 8601 format, always in UTC.
    updated_by str
    The latest updater of this entity.
    applicationId String
    Application ID.
    createdAt String
    The creation timestamp of this entity in ISO 8601 format, always in UTC.
    createdBy String
    The creator of this entity.
    name String
    Application name. Maximum length: 128.
    project String
    Project name. Changing this property forces recreation of the resource.
    serviceName String
    Service name. Changing this property forces recreation of the resource.
    timeouts Property Map
    updatedAt String
    The update timestamp of this entity in ISO 8601 format, always in UTC.
    updatedBy String
    The latest updater of this entity.

    Supporting Types

    FlinkApplicationTimeouts, FlinkApplicationTimeoutsArgs

    Create string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    Default string
    Timeout for all operations. Deprecated, use operation-specific timeouts instead.

    Deprecated: Use operation-specific timeouts instead. This field will be removed in the next major version.

    Delete string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
    Read string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled.
    Update string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    Create string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    Default string
    Timeout for all operations. Deprecated, use operation-specific timeouts instead.

    Deprecated: Use operation-specific timeouts instead. This field will be removed in the next major version.

    Delete string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
    Read string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled.
    Update string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    create String
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    default_ String
    Timeout for all operations. Deprecated, use operation-specific timeouts instead.

    Deprecated: Use operation-specific timeouts instead. This field will be removed in the next major version.

    delete String
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
    read String
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled.
    update String
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    create string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    default string
    Timeout for all operations. Deprecated, use operation-specific timeouts instead.

    Deprecated: Use operation-specific timeouts instead. This field will be removed in the next major version.

    delete string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
    read string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled.
    update string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    create str
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    default str
    Timeout for all operations. Deprecated, use operation-specific timeouts instead.

    Deprecated: Use operation-specific timeouts instead. This field will be removed in the next major version.

    delete str
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
    read str
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled.
    update str
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    create String
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    default String
    Timeout for all operations. Deprecated, use operation-specific timeouts instead.

    Deprecated: Use operation-specific timeouts instead. This field will be removed in the next major version.

    delete String
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
    read String
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled.
    update String
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).

    Import

    $ pulumi import aiven:index/flinkApplication:FlinkApplication example PROJECT/SERVICE_NAME/APPLICATION_ID
    

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

    Package Details

    Repository
    Aiven pulumi/pulumi-aiven
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the aiven Terraform Provider.
    aiven logo
    Viewing docs for Aiven v6.51.0
    published on Tuesday, Mar 17, 2026 by Pulumi
      Try Pulumi Cloud free. Your team will thank you.