1. Packages
  2. Aiven Provider
  3. API Docs
  4. FlinkApplicationDeployment
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 the deployment of 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",
    });
    const main = new aiven.FlinkApplicationVersion("main", {
        project: exampleProject.project,
        serviceName: exampleFlink.serviceName,
        applicationId: exampleApp.applicationId,
        statement: "    INSERT INTO kafka_known_pizza SELECT * FROM kafka_pizza WHERE shop LIKE '%Luigis Pizza%'\n",
        sinks: [{
            createTable: `      CREATE TABLE kafka_known_pizza (
            shop STRING,
            name STRING
          ) WITH (
            'connector' = 'kafka',
            'properties.bootstrap.servers' = '',
            'scan.startup.mode' = 'earliest-offset',
            'topic' = 'sink_topic',
            'value.format' = 'json'
          )
    `,
            integrationId: flinkToKafka.integrationId,
        }],
        sources: [{
            createTable: `      CREATE TABLE kafka_pizza (
            shop STRING,
            name STRING
          ) WITH (
            'connector' = 'kafka',
            'properties.bootstrap.servers' = '',
            'scan.startup.mode' = 'earliest-offset',
            'topic' = 'source_topic',
            'value.format' = 'json'
          )
    `,
            integrationId: flinkToKafka.integrationId,
        }],
    });
    const mainFlinkApplicationDeployment = new aiven.FlinkApplicationDeployment("main", {
        project: exampleProject.project,
        serviceName: exampleFlink.serviceName,
        applicationId: exampleApp.applicationId,
        versionId: main.applicationVersionId,
    });
    
    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")
    main = aiven.FlinkApplicationVersion("main",
        project=example_project["project"],
        service_name=example_flink["serviceName"],
        application_id=example_app.application_id,
        statement="    INSERT INTO kafka_known_pizza SELECT * FROM kafka_pizza WHERE shop LIKE '%Luigis Pizza%'\n",
        sinks=[{
            "create_table": """      CREATE TABLE kafka_known_pizza (
            shop STRING,
            name STRING
          ) WITH (
            'connector' = 'kafka',
            'properties.bootstrap.servers' = '',
            'scan.startup.mode' = 'earliest-offset',
            'topic' = 'sink_topic',
            'value.format' = 'json'
          )
    """,
            "integration_id": flink_to_kafka["integrationId"],
        }],
        sources=[{
            "create_table": """      CREATE TABLE kafka_pizza (
            shop STRING,
            name STRING
          ) WITH (
            'connector' = 'kafka',
            'properties.bootstrap.servers' = '',
            'scan.startup.mode' = 'earliest-offset',
            'topic' = 'source_topic',
            'value.format' = 'json'
          )
    """,
            "integration_id": flink_to_kafka["integrationId"],
        }])
    main_flink_application_deployment = aiven.FlinkApplicationDeployment("main",
        project=example_project["project"],
        service_name=example_flink["serviceName"],
        application_id=example_app.application_id,
        version_id=main.application_version_id)
    
    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 {
    		exampleApp, 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
    		}
    		main, err := aiven.NewFlinkApplicationVersion(ctx, "main", &aiven.FlinkApplicationVersionArgs{
    			Project:       pulumi.Any(exampleProject.Project),
    			ServiceName:   pulumi.Any(exampleFlink.ServiceName),
    			ApplicationId: exampleApp.ApplicationId,
    			Statement:     pulumi.String("    INSERT INTO kafka_known_pizza SELECT * FROM kafka_pizza WHERE shop LIKE '%Luigis Pizza%'\n"),
    			Sinks: aiven.FlinkApplicationVersionSinkArray{
    				&aiven.FlinkApplicationVersionSinkArgs{
    					CreateTable: pulumi.String(`      CREATE TABLE kafka_known_pizza (
            shop STRING,
            name STRING
          ) WITH (
            'connector' = 'kafka',
            'properties.bootstrap.servers' = '',
            'scan.startup.mode' = 'earliest-offset',
            'topic' = 'sink_topic',
            'value.format' = 'json'
          )
    `),
    					IntegrationId: pulumi.Any(flinkToKafka.IntegrationId),
    				},
    			},
    			Sources: aiven.FlinkApplicationVersionSourceArray{
    				&aiven.FlinkApplicationVersionSourceArgs{
    					CreateTable: pulumi.String(`      CREATE TABLE kafka_pizza (
            shop STRING,
            name STRING
          ) WITH (
            'connector' = 'kafka',
            'properties.bootstrap.servers' = '',
            'scan.startup.mode' = 'earliest-offset',
            'topic' = 'source_topic',
            'value.format' = 'json'
          )
    `),
    					IntegrationId: pulumi.Any(flinkToKafka.IntegrationId),
    				},
    			},
    		})
    		if err != nil {
    			return err
    		}
    		_, err = aiven.NewFlinkApplicationDeployment(ctx, "main", &aiven.FlinkApplicationDeploymentArgs{
    			Project:       pulumi.Any(exampleProject.Project),
    			ServiceName:   pulumi.Any(exampleFlink.ServiceName),
    			ApplicationId: exampleApp.ApplicationId,
    			VersionId:     main.ApplicationVersionId,
    		})
    		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",
        });
    
        var main = new Aiven.FlinkApplicationVersion("main", new()
        {
            Project = exampleProject.Project,
            ServiceName = exampleFlink.ServiceName,
            ApplicationId = exampleApp.ApplicationId,
            Statement = @"    INSERT INTO kafka_known_pizza SELECT * FROM kafka_pizza WHERE shop LIKE '%Luigis Pizza%'
    ",
            Sinks = new[]
            {
                new Aiven.Inputs.FlinkApplicationVersionSinkArgs
                {
                    CreateTable = @"      CREATE TABLE kafka_known_pizza (
            shop STRING,
            name STRING
          ) WITH (
            'connector' = 'kafka',
            'properties.bootstrap.servers' = '',
            'scan.startup.mode' = 'earliest-offset',
            'topic' = 'sink_topic',
            'value.format' = 'json'
          )
    ",
                    IntegrationId = flinkToKafka.IntegrationId,
                },
            },
            Sources = new[]
            {
                new Aiven.Inputs.FlinkApplicationVersionSourceArgs
                {
                    CreateTable = @"      CREATE TABLE kafka_pizza (
            shop STRING,
            name STRING
          ) WITH (
            'connector' = 'kafka',
            'properties.bootstrap.servers' = '',
            'scan.startup.mode' = 'earliest-offset',
            'topic' = 'source_topic',
            'value.format' = 'json'
          )
    ",
                    IntegrationId = flinkToKafka.IntegrationId,
                },
            },
        });
    
        var mainFlinkApplicationDeployment = new Aiven.FlinkApplicationDeployment("main", new()
        {
            Project = exampleProject.Project,
            ServiceName = exampleFlink.ServiceName,
            ApplicationId = exampleApp.ApplicationId,
            VersionId = main.ApplicationVersionId,
        });
    
    });
    
    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 com.pulumi.aiven.FlinkApplicationVersion;
    import com.pulumi.aiven.FlinkApplicationVersionArgs;
    import com.pulumi.aiven.inputs.FlinkApplicationVersionSinkArgs;
    import com.pulumi.aiven.inputs.FlinkApplicationVersionSourceArgs;
    import com.pulumi.aiven.FlinkApplicationDeployment;
    import com.pulumi.aiven.FlinkApplicationDeploymentArgs;
    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());
    
            var main = new FlinkApplicationVersion("main", FlinkApplicationVersionArgs.builder()
                .project(exampleProject.project())
                .serviceName(exampleFlink.serviceName())
                .applicationId(exampleApp.applicationId())
                .statement("""
        INSERT INTO kafka_known_pizza SELECT * FROM kafka_pizza WHERE shop LIKE '%Luigis Pizza%'
                """)
                .sinks(FlinkApplicationVersionSinkArgs.builder()
                    .createTable("""
          CREATE TABLE kafka_known_pizza (
            shop STRING,
            name STRING
          ) WITH (
            'connector' = 'kafka',
            'properties.bootstrap.servers' = '',
            'scan.startup.mode' = 'earliest-offset',
            'topic' = 'sink_topic',
            'value.format' = 'json'
          )
                    """)
                    .integrationId(flinkToKafka.integrationId())
                    .build())
                .sources(FlinkApplicationVersionSourceArgs.builder()
                    .createTable("""
          CREATE TABLE kafka_pizza (
            shop STRING,
            name STRING
          ) WITH (
            'connector' = 'kafka',
            'properties.bootstrap.servers' = '',
            'scan.startup.mode' = 'earliest-offset',
            'topic' = 'source_topic',
            'value.format' = 'json'
          )
                    """)
                    .integrationId(flinkToKafka.integrationId())
                    .build())
                .build());
    
            var mainFlinkApplicationDeployment = new FlinkApplicationDeployment("mainFlinkApplicationDeployment", FlinkApplicationDeploymentArgs.builder()
                .project(exampleProject.project())
                .serviceName(exampleFlink.serviceName())
                .applicationId(exampleApp.applicationId())
                .versionId(main.applicationVersionId())
                .build());
    
        }
    }
    
    resources:
      exampleApp:
        type: aiven:FlinkApplication
        name: example_app
        properties:
          project: ${exampleProject.project}
          serviceName: example-flink-service
          name: example-app
      main:
        type: aiven:FlinkApplicationVersion
        properties:
          project: ${exampleProject.project}
          serviceName: ${exampleFlink.serviceName}
          applicationId: ${exampleApp.applicationId}
          statement: |2
                INSERT INTO kafka_known_pizza SELECT * FROM kafka_pizza WHERE shop LIKE '%Luigis Pizza%'
          sinks:
            - createTable: |2
                      CREATE TABLE kafka_known_pizza (
                        shop STRING,
                        name STRING
                      ) WITH (
                        'connector' = 'kafka',
                        'properties.bootstrap.servers' = '',
                        'scan.startup.mode' = 'earliest-offset',
                        'topic' = 'sink_topic',
                        'value.format' = 'json'
                      )
              integrationId: ${flinkToKafka.integrationId}
          sources:
            - createTable: |2
                      CREATE TABLE kafka_pizza (
                        shop STRING,
                        name STRING
                      ) WITH (
                        'connector' = 'kafka',
                        'properties.bootstrap.servers' = '',
                        'scan.startup.mode' = 'earliest-offset',
                        'topic' = 'source_topic',
                        'value.format' = 'json'
                      )
              integrationId: ${flinkToKafka.integrationId}
      mainFlinkApplicationDeployment:
        type: aiven:FlinkApplicationDeployment
        name: main
        properties:
          project: ${exampleProject.project}
          serviceName: ${exampleFlink.serviceName}
          applicationId: ${exampleApp.applicationId}
          versionId: ${main.applicationVersionId}
    

    Create FlinkApplicationDeployment Resource

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

    Constructor syntax

    new FlinkApplicationDeployment(name: string, args: FlinkApplicationDeploymentArgs, opts?: CustomResourceOptions);
    @overload
    def FlinkApplicationDeployment(resource_name: str,
                                   args: FlinkApplicationDeploymentArgs,
                                   opts: Optional[ResourceOptions] = None)
    
    @overload
    def FlinkApplicationDeployment(resource_name: str,
                                   opts: Optional[ResourceOptions] = None,
                                   application_id: Optional[str] = None,
                                   project: Optional[str] = None,
                                   service_name: Optional[str] = None,
                                   version_id: Optional[str] = None,
                                   parallelism: Optional[int] = None,
                                   restart_enabled: Optional[bool] = None,
                                   starting_savepoint: Optional[str] = None,
                                   timeouts: Optional[FlinkApplicationDeploymentTimeoutsArgs] = None)
    func NewFlinkApplicationDeployment(ctx *Context, name string, args FlinkApplicationDeploymentArgs, opts ...ResourceOption) (*FlinkApplicationDeployment, error)
    public FlinkApplicationDeployment(string name, FlinkApplicationDeploymentArgs args, CustomResourceOptions? opts = null)
    public FlinkApplicationDeployment(String name, FlinkApplicationDeploymentArgs args)
    public FlinkApplicationDeployment(String name, FlinkApplicationDeploymentArgs args, CustomResourceOptions options)
    
    type: aiven:FlinkApplicationDeployment
    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 FlinkApplicationDeploymentArgs
    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 FlinkApplicationDeploymentArgs
    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 FlinkApplicationDeploymentArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args FlinkApplicationDeploymentArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args FlinkApplicationDeploymentArgs
    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 flinkApplicationDeploymentResource = new Aiven.FlinkApplicationDeployment("flinkApplicationDeploymentResource", new()
    {
        ApplicationId = "string",
        Project = "string",
        ServiceName = "string",
        VersionId = "string",
        Parallelism = 0,
        RestartEnabled = false,
        StartingSavepoint = "string",
        Timeouts = new Aiven.Inputs.FlinkApplicationDeploymentTimeoutsArgs
        {
            Create = "string",
            Delete = "string",
            Read = "string",
            Update = "string",
        },
    });
    
    example, err := aiven.NewFlinkApplicationDeployment(ctx, "flinkApplicationDeploymentResource", &aiven.FlinkApplicationDeploymentArgs{
    	ApplicationId:     pulumi.String("string"),
    	Project:           pulumi.String("string"),
    	ServiceName:       pulumi.String("string"),
    	VersionId:         pulumi.String("string"),
    	Parallelism:       pulumi.Int(0),
    	RestartEnabled:    pulumi.Bool(false),
    	StartingSavepoint: pulumi.String("string"),
    	Timeouts: &aiven.FlinkApplicationDeploymentTimeoutsArgs{
    		Create: pulumi.String("string"),
    		Delete: pulumi.String("string"),
    		Read:   pulumi.String("string"),
    		Update: pulumi.String("string"),
    	},
    })
    
    var flinkApplicationDeploymentResource = new FlinkApplicationDeployment("flinkApplicationDeploymentResource", FlinkApplicationDeploymentArgs.builder()
        .applicationId("string")
        .project("string")
        .serviceName("string")
        .versionId("string")
        .parallelism(0)
        .restartEnabled(false)
        .startingSavepoint("string")
        .timeouts(FlinkApplicationDeploymentTimeoutsArgs.builder()
            .create("string")
            .delete("string")
            .read("string")
            .update("string")
            .build())
        .build());
    
    flink_application_deployment_resource = aiven.FlinkApplicationDeployment("flinkApplicationDeploymentResource",
        application_id="string",
        project="string",
        service_name="string",
        version_id="string",
        parallelism=0,
        restart_enabled=False,
        starting_savepoint="string",
        timeouts={
            "create": "string",
            "delete": "string",
            "read": "string",
            "update": "string",
        })
    
    const flinkApplicationDeploymentResource = new aiven.FlinkApplicationDeployment("flinkApplicationDeploymentResource", {
        applicationId: "string",
        project: "string",
        serviceName: "string",
        versionId: "string",
        parallelism: 0,
        restartEnabled: false,
        startingSavepoint: "string",
        timeouts: {
            create: "string",
            "delete": "string",
            read: "string",
            update: "string",
        },
    });
    
    type: aiven:FlinkApplicationDeployment
    properties:
        applicationId: string
        parallelism: 0
        project: string
        restartEnabled: false
        serviceName: string
        startingSavepoint: string
        timeouts:
            create: string
            delete: string
            read: string
            update: string
        versionId: string
    

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

    ApplicationId string
    Application Id. Changing this property forces recreation of the resource.
    Project string
    Project name. Changing this property forces recreation of the resource.
    ServiceName string
    Service name. Changing this property forces recreation of the resource.
    VersionId string
    ApplicationVersion ID. Maximum length: 36. Changing this property forces recreation of the resource.
    Parallelism int
    Reading of Flink parallel execution documentation is recommended before setting this value to other than 1. Please do not set this value higher than (total number of nodes x numberoftask_slots), or every new job created will fail. Value must be between 1 and 128. The default value is 1. Changing this property forces recreation of the resource.
    RestartEnabled bool
    Specifies whether a Flink Job is restarted in case it fails. The default value is true. Changing this property forces recreation of the resource.
    StartingSavepoint string
    Job savepoint. Maximum length: 2048. Changing this property forces recreation of the resource.
    Timeouts FlinkApplicationDeploymentTimeouts
    ApplicationId string
    Application Id. Changing this property forces recreation of the resource.
    Project string
    Project name. Changing this property forces recreation of the resource.
    ServiceName string
    Service name. Changing this property forces recreation of the resource.
    VersionId string
    ApplicationVersion ID. Maximum length: 36. Changing this property forces recreation of the resource.
    Parallelism int
    Reading of Flink parallel execution documentation is recommended before setting this value to other than 1. Please do not set this value higher than (total number of nodes x numberoftask_slots), or every new job created will fail. Value must be between 1 and 128. The default value is 1. Changing this property forces recreation of the resource.
    RestartEnabled bool
    Specifies whether a Flink Job is restarted in case it fails. The default value is true. Changing this property forces recreation of the resource.
    StartingSavepoint string
    Job savepoint. Maximum length: 2048. Changing this property forces recreation of the resource.
    Timeouts FlinkApplicationDeploymentTimeoutsArgs
    applicationId String
    Application Id. Changing this property forces recreation of the resource.
    project String
    Project name. Changing this property forces recreation of the resource.
    serviceName String
    Service name. Changing this property forces recreation of the resource.
    versionId String
    ApplicationVersion ID. Maximum length: 36. Changing this property forces recreation of the resource.
    parallelism Integer
    Reading of Flink parallel execution documentation is recommended before setting this value to other than 1. Please do not set this value higher than (total number of nodes x numberoftask_slots), or every new job created will fail. Value must be between 1 and 128. The default value is 1. Changing this property forces recreation of the resource.
    restartEnabled Boolean
    Specifies whether a Flink Job is restarted in case it fails. The default value is true. Changing this property forces recreation of the resource.
    startingSavepoint String
    Job savepoint. Maximum length: 2048. Changing this property forces recreation of the resource.
    timeouts FlinkApplicationDeploymentTimeouts
    applicationId string
    Application Id. Changing this property forces recreation of the resource.
    project string
    Project name. Changing this property forces recreation of the resource.
    serviceName string
    Service name. Changing this property forces recreation of the resource.
    versionId string
    ApplicationVersion ID. Maximum length: 36. Changing this property forces recreation of the resource.
    parallelism number
    Reading of Flink parallel execution documentation is recommended before setting this value to other than 1. Please do not set this value higher than (total number of nodes x numberoftask_slots), or every new job created will fail. Value must be between 1 and 128. The default value is 1. Changing this property forces recreation of the resource.
    restartEnabled boolean
    Specifies whether a Flink Job is restarted in case it fails. The default value is true. Changing this property forces recreation of the resource.
    startingSavepoint string
    Job savepoint. Maximum length: 2048. Changing this property forces recreation of the resource.
    timeouts FlinkApplicationDeploymentTimeouts
    application_id str
    Application Id. Changing this property forces recreation of the resource.
    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.
    version_id str
    ApplicationVersion ID. Maximum length: 36. Changing this property forces recreation of the resource.
    parallelism int
    Reading of Flink parallel execution documentation is recommended before setting this value to other than 1. Please do not set this value higher than (total number of nodes x numberoftask_slots), or every new job created will fail. Value must be between 1 and 128. The default value is 1. Changing this property forces recreation of the resource.
    restart_enabled bool
    Specifies whether a Flink Job is restarted in case it fails. The default value is true. Changing this property forces recreation of the resource.
    starting_savepoint str
    Job savepoint. Maximum length: 2048. Changing this property forces recreation of the resource.
    timeouts FlinkApplicationDeploymentTimeoutsArgs
    applicationId String
    Application Id. Changing this property forces recreation of the resource.
    project String
    Project name. Changing this property forces recreation of the resource.
    serviceName String
    Service name. Changing this property forces recreation of the resource.
    versionId String
    ApplicationVersion ID. Maximum length: 36. Changing this property forces recreation of the resource.
    parallelism Number
    Reading of Flink parallel execution documentation is recommended before setting this value to other than 1. Please do not set this value higher than (total number of nodes x numberoftask_slots), or every new job created will fail. Value must be between 1 and 128. The default value is 1. Changing this property forces recreation of the resource.
    restartEnabled Boolean
    Specifies whether a Flink Job is restarted in case it fails. The default value is true. Changing this property forces recreation of the resource.
    startingSavepoint String
    Job savepoint. Maximum length: 2048. Changing this property forces recreation of the resource.
    timeouts Property Map

    Outputs

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

    CreatedAt string
    The creation timestamp of this entity in ISO 8601 format, always in UTC.
    CreatedBy string
    The creator of this entity.
    DeploymentId string
    Deployment ID.
    Id string
    The provider-assigned unique ID for this managed resource.
    CreatedAt string
    The creation timestamp of this entity in ISO 8601 format, always in UTC.
    CreatedBy string
    The creator of this entity.
    DeploymentId string
    Deployment ID.
    Id string
    The provider-assigned unique ID for this managed resource.
    createdAt String
    The creation timestamp of this entity in ISO 8601 format, always in UTC.
    createdBy String
    The creator of this entity.
    deploymentId String
    Deployment ID.
    id String
    The provider-assigned unique ID for this managed resource.
    createdAt string
    The creation timestamp of this entity in ISO 8601 format, always in UTC.
    createdBy string
    The creator of this entity.
    deploymentId string
    Deployment ID.
    id string
    The provider-assigned unique ID for this managed resource.
    created_at str
    The creation timestamp of this entity in ISO 8601 format, always in UTC.
    created_by str
    The creator of this entity.
    deployment_id str
    Deployment ID.
    id str
    The provider-assigned unique ID for this managed resource.
    createdAt String
    The creation timestamp of this entity in ISO 8601 format, always in UTC.
    createdBy String
    The creator of this entity.
    deploymentId String
    Deployment ID.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing FlinkApplicationDeployment Resource

    Get an existing FlinkApplicationDeployment 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?: FlinkApplicationDeploymentState, opts?: CustomResourceOptions): FlinkApplicationDeployment
    @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,
            deployment_id: Optional[str] = None,
            parallelism: Optional[int] = None,
            project: Optional[str] = None,
            restart_enabled: Optional[bool] = None,
            service_name: Optional[str] = None,
            starting_savepoint: Optional[str] = None,
            timeouts: Optional[FlinkApplicationDeploymentTimeoutsArgs] = None,
            version_id: Optional[str] = None) -> FlinkApplicationDeployment
    func GetFlinkApplicationDeployment(ctx *Context, name string, id IDInput, state *FlinkApplicationDeploymentState, opts ...ResourceOption) (*FlinkApplicationDeployment, error)
    public static FlinkApplicationDeployment Get(string name, Input<string> id, FlinkApplicationDeploymentState? state, CustomResourceOptions? opts = null)
    public static FlinkApplicationDeployment get(String name, Output<String> id, FlinkApplicationDeploymentState state, CustomResourceOptions options)
    resources:  _:    type: aiven:FlinkApplicationDeployment    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. Changing this property forces recreation of the resource.
    CreatedAt string
    The creation timestamp of this entity in ISO 8601 format, always in UTC.
    CreatedBy string
    The creator of this entity.
    DeploymentId string
    Deployment ID.
    Parallelism int
    Reading of Flink parallel execution documentation is recommended before setting this value to other than 1. Please do not set this value higher than (total number of nodes x numberoftask_slots), or every new job created will fail. Value must be between 1 and 128. The default value is 1. Changing this property forces recreation of the resource.
    Project string
    Project name. Changing this property forces recreation of the resource.
    RestartEnabled bool
    Specifies whether a Flink Job is restarted in case it fails. The default value is true. Changing this property forces recreation of the resource.
    ServiceName string
    Service name. Changing this property forces recreation of the resource.
    StartingSavepoint string
    Job savepoint. Maximum length: 2048. Changing this property forces recreation of the resource.
    Timeouts FlinkApplicationDeploymentTimeouts
    VersionId string
    ApplicationVersion ID. Maximum length: 36. Changing this property forces recreation of the resource.
    ApplicationId string
    Application Id. Changing this property forces recreation of the resource.
    CreatedAt string
    The creation timestamp of this entity in ISO 8601 format, always in UTC.
    CreatedBy string
    The creator of this entity.
    DeploymentId string
    Deployment ID.
    Parallelism int
    Reading of Flink parallel execution documentation is recommended before setting this value to other than 1. Please do not set this value higher than (total number of nodes x numberoftask_slots), or every new job created will fail. Value must be between 1 and 128. The default value is 1. Changing this property forces recreation of the resource.
    Project string
    Project name. Changing this property forces recreation of the resource.
    RestartEnabled bool
    Specifies whether a Flink Job is restarted in case it fails. The default value is true. Changing this property forces recreation of the resource.
    ServiceName string
    Service name. Changing this property forces recreation of the resource.
    StartingSavepoint string
    Job savepoint. Maximum length: 2048. Changing this property forces recreation of the resource.
    Timeouts FlinkApplicationDeploymentTimeoutsArgs
    VersionId string
    ApplicationVersion ID. Maximum length: 36. Changing this property forces recreation of the resource.
    applicationId String
    Application Id. Changing this property forces recreation of the resource.
    createdAt String
    The creation timestamp of this entity in ISO 8601 format, always in UTC.
    createdBy String
    The creator of this entity.
    deploymentId String
    Deployment ID.
    parallelism Integer
    Reading of Flink parallel execution documentation is recommended before setting this value to other than 1. Please do not set this value higher than (total number of nodes x numberoftask_slots), or every new job created will fail. Value must be between 1 and 128. The default value is 1. Changing this property forces recreation of the resource.
    project String
    Project name. Changing this property forces recreation of the resource.
    restartEnabled Boolean
    Specifies whether a Flink Job is restarted in case it fails. The default value is true. Changing this property forces recreation of the resource.
    serviceName String
    Service name. Changing this property forces recreation of the resource.
    startingSavepoint String
    Job savepoint. Maximum length: 2048. Changing this property forces recreation of the resource.
    timeouts FlinkApplicationDeploymentTimeouts
    versionId String
    ApplicationVersion ID. Maximum length: 36. Changing this property forces recreation of the resource.
    applicationId string
    Application Id. Changing this property forces recreation of the resource.
    createdAt string
    The creation timestamp of this entity in ISO 8601 format, always in UTC.
    createdBy string
    The creator of this entity.
    deploymentId string
    Deployment ID.
    parallelism number
    Reading of Flink parallel execution documentation is recommended before setting this value to other than 1. Please do not set this value higher than (total number of nodes x numberoftask_slots), or every new job created will fail. Value must be between 1 and 128. The default value is 1. Changing this property forces recreation of the resource.
    project string
    Project name. Changing this property forces recreation of the resource.
    restartEnabled boolean
    Specifies whether a Flink Job is restarted in case it fails. The default value is true. Changing this property forces recreation of the resource.
    serviceName string
    Service name. Changing this property forces recreation of the resource.
    startingSavepoint string
    Job savepoint. Maximum length: 2048. Changing this property forces recreation of the resource.
    timeouts FlinkApplicationDeploymentTimeouts
    versionId string
    ApplicationVersion ID. Maximum length: 36. Changing this property forces recreation of the resource.
    application_id str
    Application Id. Changing this property forces recreation of the resource.
    created_at str
    The creation timestamp of this entity in ISO 8601 format, always in UTC.
    created_by str
    The creator of this entity.
    deployment_id str
    Deployment ID.
    parallelism int
    Reading of Flink parallel execution documentation is recommended before setting this value to other than 1. Please do not set this value higher than (total number of nodes x numberoftask_slots), or every new job created will fail. Value must be between 1 and 128. The default value is 1. Changing this property forces recreation of the resource.
    project str
    Project name. Changing this property forces recreation of the resource.
    restart_enabled bool
    Specifies whether a Flink Job is restarted in case it fails. The default value is true. Changing this property forces recreation of the resource.
    service_name str
    Service name. Changing this property forces recreation of the resource.
    starting_savepoint str
    Job savepoint. Maximum length: 2048. Changing this property forces recreation of the resource.
    timeouts FlinkApplicationDeploymentTimeoutsArgs
    version_id str
    ApplicationVersion ID. Maximum length: 36. Changing this property forces recreation of the resource.
    applicationId String
    Application Id. Changing this property forces recreation of the resource.
    createdAt String
    The creation timestamp of this entity in ISO 8601 format, always in UTC.
    createdBy String
    The creator of this entity.
    deploymentId String
    Deployment ID.
    parallelism Number
    Reading of Flink parallel execution documentation is recommended before setting this value to other than 1. Please do not set this value higher than (total number of nodes x numberoftask_slots), or every new job created will fail. Value must be between 1 and 128. The default value is 1. Changing this property forces recreation of the resource.
    project String
    Project name. Changing this property forces recreation of the resource.
    restartEnabled Boolean
    Specifies whether a Flink Job is restarted in case it fails. The default value is true. Changing this property forces recreation of the resource.
    serviceName String
    Service name. Changing this property forces recreation of the resource.
    startingSavepoint String
    Job savepoint. Maximum length: 2048. Changing this property forces recreation of the resource.
    timeouts Property Map
    versionId String
    ApplicationVersion ID. Maximum length: 36. Changing this property forces recreation of the resource.

    Supporting Types

    FlinkApplicationDeploymentTimeouts, FlinkApplicationDeploymentTimeoutsArgs

    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/flinkApplicationDeployment:FlinkApplicationDeployment example PROJECT/SERVICE_NAME/APPLICATION_ID/DEPLOYMENT_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.