1. Packages
  2. Aiven Provider
  3. API Docs
  4. FlinkJarApplicationDeployment
Aiven v6.37.0 published on Thursday, Apr 10, 2025 by Pulumi

aiven.FlinkJarApplicationDeployment

Explore with Pulumi AI

Creates and manages the deployment of an Aiven for Apache Flink® application.

This resource is in the beta stage and may change without notice. Set the PROVIDER_AIVEN_ENABLE_BETA environment variable to use the resource.

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as aiven from "@pulumi/aiven";

const example = new aiven.Flink("example", {
    project: exampleAivenProject.project,
    serviceName: "example-flink-service",
    cloudName: "google-europe-west1",
    plan: "business-4",
    maintenanceWindowDow: "monday",
    maintenanceWindowTime: "04:00:00",
    flinkUserConfig: {
        customCode: true,
    },
});
const exampleFlinkJarApplication = new aiven.FlinkJarApplication("example", {
    project: example.project,
    serviceName: example.serviceName,
    name: "example-app-jar",
});
const exampleFlinkJarApplicationVersion = new aiven.FlinkJarApplicationVersion("example", {
    project: example.project,
    serviceName: example.serviceName,
    applicationId: exampleFlinkJarApplication.applicationId,
    source: "./example.jar",
});
const exampleFlinkJarApplicationDeployment = new aiven.FlinkJarApplicationDeployment("example", {
    project: example.project,
    serviceName: example.serviceName,
    applicationId: exampleFlinkJarApplication.applicationId,
    versionId: exampleFlinkJarApplicationVersion.applicationVersionId,
});
Copy
import pulumi
import pulumi_aiven as aiven

example = aiven.Flink("example",
    project=example_aiven_project["project"],
    service_name="example-flink-service",
    cloud_name="google-europe-west1",
    plan="business-4",
    maintenance_window_dow="monday",
    maintenance_window_time="04:00:00",
    flink_user_config={
        "custom_code": True,
    })
example_flink_jar_application = aiven.FlinkJarApplication("example",
    project=example.project,
    service_name=example.service_name,
    name="example-app-jar")
example_flink_jar_application_version = aiven.FlinkJarApplicationVersion("example",
    project=example.project,
    service_name=example.service_name,
    application_id=example_flink_jar_application.application_id,
    source="./example.jar")
example_flink_jar_application_deployment = aiven.FlinkJarApplicationDeployment("example",
    project=example.project,
    service_name=example.service_name,
    application_id=example_flink_jar_application.application_id,
    version_id=example_flink_jar_application_version.application_version_id)
Copy
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 {
		example, err := aiven.NewFlink(ctx, "example", &aiven.FlinkArgs{
			Project:               pulumi.Any(exampleAivenProject.Project),
			ServiceName:           pulumi.String("example-flink-service"),
			CloudName:             pulumi.String("google-europe-west1"),
			Plan:                  pulumi.String("business-4"),
			MaintenanceWindowDow:  pulumi.String("monday"),
			MaintenanceWindowTime: pulumi.String("04:00:00"),
			FlinkUserConfig: &aiven.FlinkFlinkUserConfigArgs{
				CustomCode: pulumi.Bool(true),
			},
		})
		if err != nil {
			return err
		}
		exampleFlinkJarApplication, err := aiven.NewFlinkJarApplication(ctx, "example", &aiven.FlinkJarApplicationArgs{
			Project:     example.Project,
			ServiceName: example.ServiceName,
			Name:        pulumi.String("example-app-jar"),
		})
		if err != nil {
			return err
		}
		exampleFlinkJarApplicationVersion, err := aiven.NewFlinkJarApplicationVersion(ctx, "example", &aiven.FlinkJarApplicationVersionArgs{
			Project:       example.Project,
			ServiceName:   example.ServiceName,
			ApplicationId: exampleFlinkJarApplication.ApplicationId,
			Source:        pulumi.String("./example.jar"),
		})
		if err != nil {
			return err
		}
		_, err = aiven.NewFlinkJarApplicationDeployment(ctx, "example", &aiven.FlinkJarApplicationDeploymentArgs{
			Project:       example.Project,
			ServiceName:   example.ServiceName,
			ApplicationId: exampleFlinkJarApplication.ApplicationId,
			VersionId:     exampleFlinkJarApplicationVersion.ApplicationVersionId,
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aiven = Pulumi.Aiven;

return await Deployment.RunAsync(() => 
{
    var example = new Aiven.Flink("example", new()
    {
        Project = exampleAivenProject.Project,
        ServiceName = "example-flink-service",
        CloudName = "google-europe-west1",
        Plan = "business-4",
        MaintenanceWindowDow = "monday",
        MaintenanceWindowTime = "04:00:00",
        FlinkUserConfig = new Aiven.Inputs.FlinkFlinkUserConfigArgs
        {
            CustomCode = true,
        },
    });

    var exampleFlinkJarApplication = new Aiven.FlinkJarApplication("example", new()
    {
        Project = example.Project,
        ServiceName = example.ServiceName,
        Name = "example-app-jar",
    });

    var exampleFlinkJarApplicationVersion = new Aiven.FlinkJarApplicationVersion("example", new()
    {
        Project = example.Project,
        ServiceName = example.ServiceName,
        ApplicationId = exampleFlinkJarApplication.ApplicationId,
        Source = "./example.jar",
    });

    var exampleFlinkJarApplicationDeployment = new Aiven.FlinkJarApplicationDeployment("example", new()
    {
        Project = example.Project,
        ServiceName = example.ServiceName,
        ApplicationId = exampleFlinkJarApplication.ApplicationId,
        VersionId = exampleFlinkJarApplicationVersion.ApplicationVersionId,
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aiven.Flink;
import com.pulumi.aiven.FlinkArgs;
import com.pulumi.aiven.inputs.FlinkFlinkUserConfigArgs;
import com.pulumi.aiven.FlinkJarApplication;
import com.pulumi.aiven.FlinkJarApplicationArgs;
import com.pulumi.aiven.FlinkJarApplicationVersion;
import com.pulumi.aiven.FlinkJarApplicationVersionArgs;
import com.pulumi.aiven.FlinkJarApplicationDeployment;
import com.pulumi.aiven.FlinkJarApplicationDeploymentArgs;
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 example = new Flink("example", FlinkArgs.builder()
            .project(exampleAivenProject.project())
            .serviceName("example-flink-service")
            .cloudName("google-europe-west1")
            .plan("business-4")
            .maintenanceWindowDow("monday")
            .maintenanceWindowTime("04:00:00")
            .flinkUserConfig(FlinkFlinkUserConfigArgs.builder()
                .customCode(true)
                .build())
            .build());

        var exampleFlinkJarApplication = new FlinkJarApplication("exampleFlinkJarApplication", FlinkJarApplicationArgs.builder()
            .project(example.project())
            .serviceName(example.serviceName())
            .name("example-app-jar")
            .build());

        var exampleFlinkJarApplicationVersion = new FlinkJarApplicationVersion("exampleFlinkJarApplicationVersion", FlinkJarApplicationVersionArgs.builder()
            .project(example.project())
            .serviceName(example.serviceName())
            .applicationId(exampleFlinkJarApplication.applicationId())
            .source("./example.jar")
            .build());

        var exampleFlinkJarApplicationDeployment = new FlinkJarApplicationDeployment("exampleFlinkJarApplicationDeployment", FlinkJarApplicationDeploymentArgs.builder()
            .project(example.project())
            .serviceName(example.serviceName())
            .applicationId(exampleFlinkJarApplication.applicationId())
            .versionId(exampleFlinkJarApplicationVersion.applicationVersionId())
            .build());

    }
}
Copy
resources:
  example:
    type: aiven:Flink
    properties:
      project: ${exampleAivenProject.project}
      serviceName: example-flink-service
      cloudName: google-europe-west1
      plan: business-4
      maintenanceWindowDow: monday
      maintenanceWindowTime: 04:00:00
      flinkUserConfig:
        customCode: true
  exampleFlinkJarApplication:
    type: aiven:FlinkJarApplication
    name: example
    properties:
      project: ${example.project}
      serviceName: ${example.serviceName}
      name: example-app-jar
  exampleFlinkJarApplicationVersion:
    type: aiven:FlinkJarApplicationVersion
    name: example
    properties:
      project: ${example.project}
      serviceName: ${example.serviceName}
      applicationId: ${exampleFlinkJarApplication.applicationId}
      source: ./example.jar
  exampleFlinkJarApplicationDeployment:
    type: aiven:FlinkJarApplicationDeployment
    name: example
    properties:
      project: ${example.project}
      serviceName: ${example.serviceName}
      applicationId: ${exampleFlinkJarApplication.applicationId}
      versionId: ${exampleFlinkJarApplicationVersion.applicationVersionId}
Copy

Create FlinkJarApplicationDeployment Resource

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

Constructor syntax

new FlinkJarApplicationDeployment(name: string, args: FlinkJarApplicationDeploymentArgs, opts?: CustomResourceOptions);
@overload
def FlinkJarApplicationDeployment(resource_name: str,
                                  args: FlinkJarApplicationDeploymentArgs,
                                  opts: Optional[ResourceOptions] = None)

@overload
def FlinkJarApplicationDeployment(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,
                                  entry_class: Optional[str] = None,
                                  parallelism: Optional[int] = None,
                                  program_args: Optional[Sequence[str]] = None,
                                  restart_enabled: Optional[bool] = None,
                                  starting_savepoint: Optional[str] = None)
func NewFlinkJarApplicationDeployment(ctx *Context, name string, args FlinkJarApplicationDeploymentArgs, opts ...ResourceOption) (*FlinkJarApplicationDeployment, error)
public FlinkJarApplicationDeployment(string name, FlinkJarApplicationDeploymentArgs args, CustomResourceOptions? opts = null)
public FlinkJarApplicationDeployment(String name, FlinkJarApplicationDeploymentArgs args)
public FlinkJarApplicationDeployment(String name, FlinkJarApplicationDeploymentArgs args, CustomResourceOptions options)
type: aiven:FlinkJarApplicationDeployment
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. FlinkJarApplicationDeploymentArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. FlinkJarApplicationDeploymentArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. FlinkJarApplicationDeploymentArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. FlinkJarApplicationDeploymentArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. FlinkJarApplicationDeploymentArgs
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 flinkJarApplicationDeploymentResource = new Aiven.FlinkJarApplicationDeployment("flinkJarApplicationDeploymentResource", new()
{
    ApplicationId = "string",
    Project = "string",
    ServiceName = "string",
    VersionId = "string",
    EntryClass = "string",
    Parallelism = 0,
    ProgramArgs = new[]
    {
        "string",
    },
    RestartEnabled = false,
    StartingSavepoint = "string",
});
Copy
example, err := aiven.NewFlinkJarApplicationDeployment(ctx, "flinkJarApplicationDeploymentResource", &aiven.FlinkJarApplicationDeploymentArgs{
	ApplicationId: pulumi.String("string"),
	Project:       pulumi.String("string"),
	ServiceName:   pulumi.String("string"),
	VersionId:     pulumi.String("string"),
	EntryClass:    pulumi.String("string"),
	Parallelism:   pulumi.Int(0),
	ProgramArgs: pulumi.StringArray{
		pulumi.String("string"),
	},
	RestartEnabled:    pulumi.Bool(false),
	StartingSavepoint: pulumi.String("string"),
})
Copy
var flinkJarApplicationDeploymentResource = new FlinkJarApplicationDeployment("flinkJarApplicationDeploymentResource", FlinkJarApplicationDeploymentArgs.builder()
    .applicationId("string")
    .project("string")
    .serviceName("string")
    .versionId("string")
    .entryClass("string")
    .parallelism(0)
    .programArgs("string")
    .restartEnabled(false)
    .startingSavepoint("string")
    .build());
Copy
flink_jar_application_deployment_resource = aiven.FlinkJarApplicationDeployment("flinkJarApplicationDeploymentResource",
    application_id="string",
    project="string",
    service_name="string",
    version_id="string",
    entry_class="string",
    parallelism=0,
    program_args=["string"],
    restart_enabled=False,
    starting_savepoint="string")
Copy
const flinkJarApplicationDeploymentResource = new aiven.FlinkJarApplicationDeployment("flinkJarApplicationDeploymentResource", {
    applicationId: "string",
    project: "string",
    serviceName: "string",
    versionId: "string",
    entryClass: "string",
    parallelism: 0,
    programArgs: ["string"],
    restartEnabled: false,
    startingSavepoint: "string",
});
Copy
type: aiven:FlinkJarApplicationDeployment
properties:
    applicationId: string
    entryClass: string
    parallelism: 0
    programArgs:
        - string
    project: string
    restartEnabled: false
    serviceName: string
    startingSavepoint: string
    versionId: string
Copy

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

ApplicationId
This property is required.
Changes to this property will trigger replacement.
string
Application Id. Changing this property forces recreation of the resource.
Project
This property is required.
Changes to this property will trigger replacement.
string
Project name. Changing this property forces recreation of the resource.
ServiceName
This property is required.
Changes to this property will trigger replacement.
string
Service name. Changing this property forces recreation of the resource.
VersionId
This property is required.
Changes to this property will trigger replacement.
string
ApplicationVersion ID. Maximum length: 36. Changing this property forces recreation of the resource.
EntryClass string
The fully qualified name of the entry class to pass during Flink job submission through the entryClass parameter. Maximum length: 128.
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.
ProgramArgs List<string>
Arguments to pass during Flink job submission through the programArgsList parameter.
RestartEnabled Changes to this property will trigger replacement. bool
Specifies whether a Flink Job is restarted in case it fails. Changing this property forces recreation of the resource.
StartingSavepoint string
Job savepoint. Maximum length: 2048.
ApplicationId
This property is required.
Changes to this property will trigger replacement.
string
Application Id. Changing this property forces recreation of the resource.
Project
This property is required.
Changes to this property will trigger replacement.
string
Project name. Changing this property forces recreation of the resource.
ServiceName
This property is required.
Changes to this property will trigger replacement.
string
Service name. Changing this property forces recreation of the resource.
VersionId
This property is required.
Changes to this property will trigger replacement.
string
ApplicationVersion ID. Maximum length: 36. Changing this property forces recreation of the resource.
EntryClass string
The fully qualified name of the entry class to pass during Flink job submission through the entryClass parameter. Maximum length: 128.
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.
ProgramArgs []string
Arguments to pass during Flink job submission through the programArgsList parameter.
RestartEnabled Changes to this property will trigger replacement. bool
Specifies whether a Flink Job is restarted in case it fails. Changing this property forces recreation of the resource.
StartingSavepoint string
Job savepoint. Maximum length: 2048.
applicationId
This property is required.
Changes to this property will trigger replacement.
String
Application Id. Changing this property forces recreation of the resource.
project
This property is required.
Changes to this property will trigger replacement.
String
Project name. Changing this property forces recreation of the resource.
serviceName
This property is required.
Changes to this property will trigger replacement.
String
Service name. Changing this property forces recreation of the resource.
versionId
This property is required.
Changes to this property will trigger replacement.
String
ApplicationVersion ID. Maximum length: 36. Changing this property forces recreation of the resource.
entryClass String
The fully qualified name of the entry class to pass during Flink job submission through the entryClass parameter. Maximum length: 128.
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.
programArgs List<String>
Arguments to pass during Flink job submission through the programArgsList parameter.
restartEnabled Changes to this property will trigger replacement. Boolean
Specifies whether a Flink Job is restarted in case it fails. Changing this property forces recreation of the resource.
startingSavepoint String
Job savepoint. Maximum length: 2048.
applicationId
This property is required.
Changes to this property will trigger replacement.
string
Application Id. Changing this property forces recreation of the resource.
project
This property is required.
Changes to this property will trigger replacement.
string
Project name. Changing this property forces recreation of the resource.
serviceName
This property is required.
Changes to this property will trigger replacement.
string
Service name. Changing this property forces recreation of the resource.
versionId
This property is required.
Changes to this property will trigger replacement.
string
ApplicationVersion ID. Maximum length: 36. Changing this property forces recreation of the resource.
entryClass string
The fully qualified name of the entry class to pass during Flink job submission through the entryClass parameter. Maximum length: 128.
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.
programArgs string[]
Arguments to pass during Flink job submission through the programArgsList parameter.
restartEnabled Changes to this property will trigger replacement. boolean
Specifies whether a Flink Job is restarted in case it fails. Changing this property forces recreation of the resource.
startingSavepoint string
Job savepoint. Maximum length: 2048.
application_id
This property is required.
Changes to this property will trigger replacement.
str
Application Id. Changing this property forces recreation of the resource.
project
This property is required.
Changes to this property will trigger replacement.
str
Project name. Changing this property forces recreation of the resource.
service_name
This property is required.
Changes to this property will trigger replacement.
str
Service name. Changing this property forces recreation of the resource.
version_id
This property is required.
Changes to this property will trigger replacement.
str
ApplicationVersion ID. Maximum length: 36. Changing this property forces recreation of the resource.
entry_class str
The fully qualified name of the entry class to pass during Flink job submission through the entryClass parameter. Maximum length: 128.
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.
program_args Sequence[str]
Arguments to pass during Flink job submission through the programArgsList parameter.
restart_enabled Changes to this property will trigger replacement. bool
Specifies whether a Flink Job is restarted in case it fails. Changing this property forces recreation of the resource.
starting_savepoint str
Job savepoint. Maximum length: 2048.
applicationId
This property is required.
Changes to this property will trigger replacement.
String
Application Id. Changing this property forces recreation of the resource.
project
This property is required.
Changes to this property will trigger replacement.
String
Project name. Changing this property forces recreation of the resource.
serviceName
This property is required.
Changes to this property will trigger replacement.
String
Service name. Changing this property forces recreation of the resource.
versionId
This property is required.
Changes to this property will trigger replacement.
String
ApplicationVersion ID. Maximum length: 36. Changing this property forces recreation of the resource.
entryClass String
The fully qualified name of the entry class to pass during Flink job submission through the entryClass parameter. Maximum length: 128.
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.
programArgs List<String>
Arguments to pass during Flink job submission through the programArgsList parameter.
restartEnabled Changes to this property will trigger replacement. Boolean
Specifies whether a Flink Job is restarted in case it fails. Changing this property forces recreation of the resource.
startingSavepoint String
Job savepoint. Maximum length: 2048.

Outputs

All input properties are implicitly available as output properties. Additionally, the FlinkJarApplicationDeployment 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.
ErrorMsg string
Error message describing what caused deployment to fail.
Id string
The provider-assigned unique ID for this managed resource.
JobId string
Job ID.
LastSavepoint string
Job savepoint.
Status string
Deployment status. The possible values are CANCELED, CANCELLING, CANCELLING_REQUESTED, CREATED, DELETE_REQUESTED, DELETING, FAILED, FAILING, FINISHED, INITIALIZING, RECONCILING, RESTARTING, RUNNING, SAVING, SAVING_AND_STOP, SAVING_AND_STOP_REQUESTED and SUSPENDED.
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.
ErrorMsg string
Error message describing what caused deployment to fail.
Id string
The provider-assigned unique ID for this managed resource.
JobId string
Job ID.
LastSavepoint string
Job savepoint.
Status string
Deployment status. The possible values are CANCELED, CANCELLING, CANCELLING_REQUESTED, CREATED, DELETE_REQUESTED, DELETING, FAILED, FAILING, FINISHED, INITIALIZING, RECONCILING, RESTARTING, RUNNING, SAVING, SAVING_AND_STOP, SAVING_AND_STOP_REQUESTED and SUSPENDED.
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.
errorMsg String
Error message describing what caused deployment to fail.
id String
The provider-assigned unique ID for this managed resource.
jobId String
Job ID.
lastSavepoint String
Job savepoint.
status String
Deployment status. The possible values are CANCELED, CANCELLING, CANCELLING_REQUESTED, CREATED, DELETE_REQUESTED, DELETING, FAILED, FAILING, FINISHED, INITIALIZING, RECONCILING, RESTARTING, RUNNING, SAVING, SAVING_AND_STOP, SAVING_AND_STOP_REQUESTED and SUSPENDED.
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.
errorMsg string
Error message describing what caused deployment to fail.
id string
The provider-assigned unique ID for this managed resource.
jobId string
Job ID.
lastSavepoint string
Job savepoint.
status string
Deployment status. The possible values are CANCELED, CANCELLING, CANCELLING_REQUESTED, CREATED, DELETE_REQUESTED, DELETING, FAILED, FAILING, FINISHED, INITIALIZING, RECONCILING, RESTARTING, RUNNING, SAVING, SAVING_AND_STOP, SAVING_AND_STOP_REQUESTED and SUSPENDED.
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.
error_msg str
Error message describing what caused deployment to fail.
id str
The provider-assigned unique ID for this managed resource.
job_id str
Job ID.
last_savepoint str
Job savepoint.
status str
Deployment status. The possible values are CANCELED, CANCELLING, CANCELLING_REQUESTED, CREATED, DELETE_REQUESTED, DELETING, FAILED, FAILING, FINISHED, INITIALIZING, RECONCILING, RESTARTING, RUNNING, SAVING, SAVING_AND_STOP, SAVING_AND_STOP_REQUESTED and SUSPENDED.
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.
errorMsg String
Error message describing what caused deployment to fail.
id String
The provider-assigned unique ID for this managed resource.
jobId String
Job ID.
lastSavepoint String
Job savepoint.
status String
Deployment status. The possible values are CANCELED, CANCELLING, CANCELLING_REQUESTED, CREATED, DELETE_REQUESTED, DELETING, FAILED, FAILING, FINISHED, INITIALIZING, RECONCILING, RESTARTING, RUNNING, SAVING, SAVING_AND_STOP, SAVING_AND_STOP_REQUESTED and SUSPENDED.

Look up Existing FlinkJarApplicationDeployment Resource

Get an existing FlinkJarApplicationDeployment 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?: FlinkJarApplicationDeploymentState, opts?: CustomResourceOptions): FlinkJarApplicationDeployment
@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,
        entry_class: Optional[str] = None,
        error_msg: Optional[str] = None,
        job_id: Optional[str] = None,
        last_savepoint: Optional[str] = None,
        parallelism: Optional[int] = None,
        program_args: Optional[Sequence[str]] = None,
        project: Optional[str] = None,
        restart_enabled: Optional[bool] = None,
        service_name: Optional[str] = None,
        starting_savepoint: Optional[str] = None,
        status: Optional[str] = None,
        version_id: Optional[str] = None) -> FlinkJarApplicationDeployment
func GetFlinkJarApplicationDeployment(ctx *Context, name string, id IDInput, state *FlinkJarApplicationDeploymentState, opts ...ResourceOption) (*FlinkJarApplicationDeployment, error)
public static FlinkJarApplicationDeployment Get(string name, Input<string> id, FlinkJarApplicationDeploymentState? state, CustomResourceOptions? opts = null)
public static FlinkJarApplicationDeployment get(String name, Output<String> id, FlinkJarApplicationDeploymentState state, CustomResourceOptions options)
resources:  _:    type: aiven:FlinkJarApplicationDeployment    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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 Changes to this property will trigger replacement. 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.
EntryClass string
The fully qualified name of the entry class to pass during Flink job submission through the entryClass parameter. Maximum length: 128.
ErrorMsg string
Error message describing what caused deployment to fail.
JobId string
Job ID.
LastSavepoint string
Job savepoint.
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.
ProgramArgs List<string>
Arguments to pass during Flink job submission through the programArgsList parameter.
Project Changes to this property will trigger replacement. string
Project name. Changing this property forces recreation of the resource.
RestartEnabled Changes to this property will trigger replacement. bool
Specifies whether a Flink Job is restarted in case it fails. Changing this property forces recreation of the resource.
ServiceName Changes to this property will trigger replacement. string
Service name. Changing this property forces recreation of the resource.
StartingSavepoint string
Job savepoint. Maximum length: 2048.
Status string
Deployment status. The possible values are CANCELED, CANCELLING, CANCELLING_REQUESTED, CREATED, DELETE_REQUESTED, DELETING, FAILED, FAILING, FINISHED, INITIALIZING, RECONCILING, RESTARTING, RUNNING, SAVING, SAVING_AND_STOP, SAVING_AND_STOP_REQUESTED and SUSPENDED.
VersionId Changes to this property will trigger replacement. string
ApplicationVersion ID. Maximum length: 36. Changing this property forces recreation of the resource.
ApplicationId Changes to this property will trigger replacement. 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.
EntryClass string
The fully qualified name of the entry class to pass during Flink job submission through the entryClass parameter. Maximum length: 128.
ErrorMsg string
Error message describing what caused deployment to fail.
JobId string
Job ID.
LastSavepoint string
Job savepoint.
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.
ProgramArgs []string
Arguments to pass during Flink job submission through the programArgsList parameter.
Project Changes to this property will trigger replacement. string
Project name. Changing this property forces recreation of the resource.
RestartEnabled Changes to this property will trigger replacement. bool
Specifies whether a Flink Job is restarted in case it fails. Changing this property forces recreation of the resource.
ServiceName Changes to this property will trigger replacement. string
Service name. Changing this property forces recreation of the resource.
StartingSavepoint string
Job savepoint. Maximum length: 2048.
Status string
Deployment status. The possible values are CANCELED, CANCELLING, CANCELLING_REQUESTED, CREATED, DELETE_REQUESTED, DELETING, FAILED, FAILING, FINISHED, INITIALIZING, RECONCILING, RESTARTING, RUNNING, SAVING, SAVING_AND_STOP, SAVING_AND_STOP_REQUESTED and SUSPENDED.
VersionId Changes to this property will trigger replacement. string
ApplicationVersion ID. Maximum length: 36. Changing this property forces recreation of the resource.
applicationId Changes to this property will trigger replacement. 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.
entryClass String
The fully qualified name of the entry class to pass during Flink job submission through the entryClass parameter. Maximum length: 128.
errorMsg String
Error message describing what caused deployment to fail.
jobId String
Job ID.
lastSavepoint String
Job savepoint.
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.
programArgs List<String>
Arguments to pass during Flink job submission through the programArgsList parameter.
project Changes to this property will trigger replacement. String
Project name. Changing this property forces recreation of the resource.
restartEnabled Changes to this property will trigger replacement. Boolean
Specifies whether a Flink Job is restarted in case it fails. Changing this property forces recreation of the resource.
serviceName Changes to this property will trigger replacement. String
Service name. Changing this property forces recreation of the resource.
startingSavepoint String
Job savepoint. Maximum length: 2048.
status String
Deployment status. The possible values are CANCELED, CANCELLING, CANCELLING_REQUESTED, CREATED, DELETE_REQUESTED, DELETING, FAILED, FAILING, FINISHED, INITIALIZING, RECONCILING, RESTARTING, RUNNING, SAVING, SAVING_AND_STOP, SAVING_AND_STOP_REQUESTED and SUSPENDED.
versionId Changes to this property will trigger replacement. String
ApplicationVersion ID. Maximum length: 36. Changing this property forces recreation of the resource.
applicationId Changes to this property will trigger replacement. 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.
entryClass string
The fully qualified name of the entry class to pass during Flink job submission through the entryClass parameter. Maximum length: 128.
errorMsg string
Error message describing what caused deployment to fail.
jobId string
Job ID.
lastSavepoint string
Job savepoint.
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.
programArgs string[]
Arguments to pass during Flink job submission through the programArgsList parameter.
project Changes to this property will trigger replacement. string
Project name. Changing this property forces recreation of the resource.
restartEnabled Changes to this property will trigger replacement. boolean
Specifies whether a Flink Job is restarted in case it fails. Changing this property forces recreation of the resource.
serviceName Changes to this property will trigger replacement. string
Service name. Changing this property forces recreation of the resource.
startingSavepoint string
Job savepoint. Maximum length: 2048.
status string
Deployment status. The possible values are CANCELED, CANCELLING, CANCELLING_REQUESTED, CREATED, DELETE_REQUESTED, DELETING, FAILED, FAILING, FINISHED, INITIALIZING, RECONCILING, RESTARTING, RUNNING, SAVING, SAVING_AND_STOP, SAVING_AND_STOP_REQUESTED and SUSPENDED.
versionId Changes to this property will trigger replacement. string
ApplicationVersion ID. Maximum length: 36. Changing this property forces recreation of the resource.
application_id Changes to this property will trigger replacement. 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.
entry_class str
The fully qualified name of the entry class to pass during Flink job submission through the entryClass parameter. Maximum length: 128.
error_msg str
Error message describing what caused deployment to fail.
job_id str
Job ID.
last_savepoint str
Job savepoint.
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.
program_args Sequence[str]
Arguments to pass during Flink job submission through the programArgsList parameter.
project Changes to this property will trigger replacement. str
Project name. Changing this property forces recreation of the resource.
restart_enabled Changes to this property will trigger replacement. bool
Specifies whether a Flink Job is restarted in case it fails. Changing this property forces recreation of the resource.
service_name Changes to this property will trigger replacement. str
Service name. Changing this property forces recreation of the resource.
starting_savepoint str
Job savepoint. Maximum length: 2048.
status str
Deployment status. The possible values are CANCELED, CANCELLING, CANCELLING_REQUESTED, CREATED, DELETE_REQUESTED, DELETING, FAILED, FAILING, FINISHED, INITIALIZING, RECONCILING, RESTARTING, RUNNING, SAVING, SAVING_AND_STOP, SAVING_AND_STOP_REQUESTED and SUSPENDED.
version_id Changes to this property will trigger replacement. str
ApplicationVersion ID. Maximum length: 36. Changing this property forces recreation of the resource.
applicationId Changes to this property will trigger replacement. 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.
entryClass String
The fully qualified name of the entry class to pass during Flink job submission through the entryClass parameter. Maximum length: 128.
errorMsg String
Error message describing what caused deployment to fail.
jobId String
Job ID.
lastSavepoint String
Job savepoint.
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.
programArgs List<String>
Arguments to pass during Flink job submission through the programArgsList parameter.
project Changes to this property will trigger replacement. String
Project name. Changing this property forces recreation of the resource.
restartEnabled Changes to this property will trigger replacement. Boolean
Specifies whether a Flink Job is restarted in case it fails. Changing this property forces recreation of the resource.
serviceName Changes to this property will trigger replacement. String
Service name. Changing this property forces recreation of the resource.
startingSavepoint String
Job savepoint. Maximum length: 2048.
status String
Deployment status. The possible values are CANCELED, CANCELLING, CANCELLING_REQUESTED, CREATED, DELETE_REQUESTED, DELETING, FAILED, FAILING, FINISHED, INITIALIZING, RECONCILING, RESTARTING, RUNNING, SAVING, SAVING_AND_STOP, SAVING_AND_STOP_REQUESTED and SUSPENDED.
versionId Changes to this property will trigger replacement. String
ApplicationVersion ID. Maximum length: 36. Changing this property forces recreation of the resource.

Import

$ pulumi import aiven:index/flinkJarApplicationDeployment:FlinkJarApplicationDeployment example PROJECT/SERVICE_NAME/APPLICATION_ID/DEPLOYMENT_ID
Copy

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.