1. Packages
  2. Aiven
  3. API Docs
  4. FlinkApplicationDeployment
Aiven v6.20.0 published on Wednesday, Jul 24, 2024 by Pulumi

aiven.FlinkApplicationDeployment

Explore with Pulumi AI

aiven logo
Aiven v6.20.0 published on Wednesday, Jul 24, 2024 by Pulumi

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

    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=[aiven.FlinkApplicationVersionSinkArgs(
            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=[aiven.FlinkApplicationVersionSourceArgs(
            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)
    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",
    });
    
    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"),
    })
    
    var flinkApplicationDeploymentResource = new FlinkApplicationDeployment("flinkApplicationDeploymentResource", FlinkApplicationDeploymentArgs.builder()
        .applicationId("string")
        .project("string")
        .serviceName("string")
        .versionId("string")
        .parallelism(0)
        .restartEnabled(false)
        .startingSavepoint("string")
        .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")
    
    const flinkApplicationDeploymentResource = new aiven.FlinkApplicationDeployment("flinkApplicationDeploymentResource", {
        applicationId: "string",
        project: "string",
        serviceName: "string",
        versionId: "string",
        parallelism: 0,
        restartEnabled: false,
        startingSavepoint: "string",
    });
    
    type: aiven:FlinkApplicationDeployment
    properties:
        applicationId: string
        parallelism: 0
        project: string
        restartEnabled: false
        serviceName: string
        startingSavepoint: 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

    The FlinkApplicationDeployment resource accepts the following input properties:

    ApplicationId string
    Application ID.
    Project string
    The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
    ServiceName string
    The name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
    VersionId string
    Application version ID.
    Parallelism int
    The number of parallel instances for the task.
    RestartEnabled bool
    Restart a Flink job if it fails.
    StartingSavepoint string
    The savepoint to deploy from.
    ApplicationId string
    Application ID.
    Project string
    The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
    ServiceName string
    The name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
    VersionId string
    Application version ID.
    Parallelism int
    The number of parallel instances for the task.
    RestartEnabled bool
    Restart a Flink job if it fails.
    StartingSavepoint string
    The savepoint to deploy from.
    applicationId String
    Application ID.
    project String
    The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
    serviceName String
    The name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
    versionId String
    Application version ID.
    parallelism Integer
    The number of parallel instances for the task.
    restartEnabled Boolean
    Restart a Flink job if it fails.
    startingSavepoint String
    The savepoint to deploy from.
    applicationId string
    Application ID.
    project string
    The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
    serviceName string
    The name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
    versionId string
    Application version ID.
    parallelism number
    The number of parallel instances for the task.
    restartEnabled boolean
    Restart a Flink job if it fails.
    startingSavepoint string
    The savepoint to deploy from.
    application_id str
    Application ID.
    project str
    The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
    service_name str
    The name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
    version_id str
    Application version ID.
    parallelism int
    The number of parallel instances for the task.
    restart_enabled bool
    Restart a Flink job if it fails.
    starting_savepoint str
    The savepoint to deploy from.
    applicationId String
    Application ID.
    project String
    The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
    serviceName String
    The name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
    versionId String
    Application version ID.
    parallelism Number
    The number of parallel instances for the task.
    restartEnabled Boolean
    Restart a Flink job if it fails.
    startingSavepoint String
    The savepoint to deploy from.

    Outputs

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

    CreatedAt string
    Application deployment creation time.
    CreatedBy string
    The user who deployed the application.
    Id string
    The provider-assigned unique ID for this managed resource.
    CreatedAt string
    Application deployment creation time.
    CreatedBy string
    The user who deployed the application.
    Id string
    The provider-assigned unique ID for this managed resource.
    createdAt String
    Application deployment creation time.
    createdBy String
    The user who deployed the application.
    id String
    The provider-assigned unique ID for this managed resource.
    createdAt string
    Application deployment creation time.
    createdBy string
    The user who deployed the application.
    id string
    The provider-assigned unique ID for this managed resource.
    created_at str
    Application deployment creation time.
    created_by str
    The user who deployed the application.
    id str
    The provider-assigned unique ID for this managed resource.
    createdAt String
    Application deployment creation time.
    createdBy String
    The user who deployed the application.
    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,
            parallelism: Optional[int] = None,
            project: Optional[str] = None,
            restart_enabled: Optional[bool] = None,
            service_name: Optional[str] = None,
            starting_savepoint: Optional[str] = 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)
    Resource lookup is not supported in YAML
    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
    Application deployment creation time.
    CreatedBy string
    The user who deployed the application.
    Parallelism int
    The number of parallel instances for the task.
    Project string
    The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
    RestartEnabled bool
    Restart a Flink job if it fails.
    ServiceName string
    The name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
    StartingSavepoint string
    The savepoint to deploy from.
    VersionId string
    Application version ID.
    ApplicationId string
    Application ID.
    CreatedAt string
    Application deployment creation time.
    CreatedBy string
    The user who deployed the application.
    Parallelism int
    The number of parallel instances for the task.
    Project string
    The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
    RestartEnabled bool
    Restart a Flink job if it fails.
    ServiceName string
    The name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
    StartingSavepoint string
    The savepoint to deploy from.
    VersionId string
    Application version ID.
    applicationId String
    Application ID.
    createdAt String
    Application deployment creation time.
    createdBy String
    The user who deployed the application.
    parallelism Integer
    The number of parallel instances for the task.
    project String
    The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
    restartEnabled Boolean
    Restart a Flink job if it fails.
    serviceName String
    The name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
    startingSavepoint String
    The savepoint to deploy from.
    versionId String
    Application version ID.
    applicationId string
    Application ID.
    createdAt string
    Application deployment creation time.
    createdBy string
    The user who deployed the application.
    parallelism number
    The number of parallel instances for the task.
    project string
    The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
    restartEnabled boolean
    Restart a Flink job if it fails.
    serviceName string
    The name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
    startingSavepoint string
    The savepoint to deploy from.
    versionId string
    Application version ID.
    application_id str
    Application ID.
    created_at str
    Application deployment creation time.
    created_by str
    The user who deployed the application.
    parallelism int
    The number of parallel instances for the task.
    project str
    The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
    restart_enabled bool
    Restart a Flink job if it fails.
    service_name str
    The name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
    starting_savepoint str
    The savepoint to deploy from.
    version_id str
    Application version ID.
    applicationId String
    Application ID.
    createdAt String
    Application deployment creation time.
    createdBy String
    The user who deployed the application.
    parallelism Number
    The number of parallel instances for the task.
    project String
    The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
    restartEnabled Boolean
    Restart a Flink job if it fails.
    serviceName String
    The name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
    startingSavepoint String
    The savepoint to deploy from.
    versionId String
    Application version ID.

    Import

    $ pulumi import aiven:index/flinkApplicationDeployment:FlinkApplicationDeployment main PROJECT/SERVICE_NAME/APPLICATION_ID/APPLICATION_VERSION_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
    Aiven v6.20.0 published on Wednesday, Jul 24, 2024 by Pulumi