1. Packages
  2. Packages
  3. Aiven Provider
  4. API Docs
  5. FlinkApplicationVersion
Viewing docs for Aiven v5.6.0 (Older version)
published on Monday, Mar 9, 2026 by Pulumi
aiven logo
Viewing docs for Aiven v5.6.0 (Older version)
published on Monday, Mar 9, 2026 by Pulumi

    The Flink Application Version resource allows the creation and management of Aiven Flink Application Versions.

    Create FlinkApplicationVersion Resource

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

    Constructor syntax

    new FlinkApplicationVersion(name: string, args: FlinkApplicationVersionArgs, opts?: CustomResourceOptions);
    @overload
    def FlinkApplicationVersion(resource_name: str,
                                args: FlinkApplicationVersionArgs,
                                opts: Optional[ResourceOptions] = None)
    
    @overload
    def FlinkApplicationVersion(resource_name: str,
                                opts: Optional[ResourceOptions] = None,
                                application_id: Optional[str] = None,
                                project: Optional[str] = None,
                                service_name: Optional[str] = None,
                                sinks: Optional[Sequence[FlinkApplicationVersionSinkArgs]] = None,
                                sources: Optional[Sequence[FlinkApplicationVersionSourceArgs]] = None,
                                statement: Optional[str] = None)
    func NewFlinkApplicationVersion(ctx *Context, name string, args FlinkApplicationVersionArgs, opts ...ResourceOption) (*FlinkApplicationVersion, error)
    public FlinkApplicationVersion(string name, FlinkApplicationVersionArgs args, CustomResourceOptions? opts = null)
    public FlinkApplicationVersion(String name, FlinkApplicationVersionArgs args)
    public FlinkApplicationVersion(String name, FlinkApplicationVersionArgs args, CustomResourceOptions options)
    
    type: aiven:FlinkApplicationVersion
    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 FlinkApplicationVersionArgs
    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 FlinkApplicationVersionArgs
    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 FlinkApplicationVersionArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args FlinkApplicationVersionArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args FlinkApplicationVersionArgs
    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 flinkApplicationVersionResource = new Aiven.FlinkApplicationVersion("flinkApplicationVersionResource", new()
    {
        ApplicationId = "string",
        Project = "string",
        ServiceName = "string",
        Sinks = new[]
        {
            new Aiven.Inputs.FlinkApplicationVersionSinkArgs
            {
                CreateTable = "string",
                IntegrationId = "string",
            },
        },
        Sources = new[]
        {
            new Aiven.Inputs.FlinkApplicationVersionSourceArgs
            {
                CreateTable = "string",
                IntegrationId = "string",
            },
        },
        Statement = "string",
    });
    
    example, err := aiven.NewFlinkApplicationVersion(ctx, "flinkApplicationVersionResource", &aiven.FlinkApplicationVersionArgs{
    	ApplicationId: pulumi.String("string"),
    	Project:       pulumi.String("string"),
    	ServiceName:   pulumi.String("string"),
    	Sinks: aiven.FlinkApplicationVersionSinkArray{
    		&aiven.FlinkApplicationVersionSinkArgs{
    			CreateTable:   pulumi.String("string"),
    			IntegrationId: pulumi.String("string"),
    		},
    	},
    	Sources: aiven.FlinkApplicationVersionSourceArray{
    		&aiven.FlinkApplicationVersionSourceArgs{
    			CreateTable:   pulumi.String("string"),
    			IntegrationId: pulumi.String("string"),
    		},
    	},
    	Statement: pulumi.String("string"),
    })
    
    var flinkApplicationVersionResource = new FlinkApplicationVersion("flinkApplicationVersionResource", FlinkApplicationVersionArgs.builder()
        .applicationId("string")
        .project("string")
        .serviceName("string")
        .sinks(FlinkApplicationVersionSinkArgs.builder()
            .createTable("string")
            .integrationId("string")
            .build())
        .sources(FlinkApplicationVersionSourceArgs.builder()
            .createTable("string")
            .integrationId("string")
            .build())
        .statement("string")
        .build());
    
    flink_application_version_resource = aiven.FlinkApplicationVersion("flinkApplicationVersionResource",
        application_id="string",
        project="string",
        service_name="string",
        sinks=[{
            "create_table": "string",
            "integration_id": "string",
        }],
        sources=[{
            "create_table": "string",
            "integration_id": "string",
        }],
        statement="string")
    
    const flinkApplicationVersionResource = new aiven.FlinkApplicationVersion("flinkApplicationVersionResource", {
        applicationId: "string",
        project: "string",
        serviceName: "string",
        sinks: [{
            createTable: "string",
            integrationId: "string",
        }],
        sources: [{
            createTable: "string",
            integrationId: "string",
        }],
        statement: "string",
    });
    
    type: aiven:FlinkApplicationVersion
    properties:
        applicationId: string
        project: string
        serviceName: string
        sinks:
            - createTable: string
              integrationId: string
        sources:
            - createTable: string
              integrationId: string
        statement: string
    

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

    ApplicationId string
    Application ID
    Project string
    Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
    ServiceName string
    Specifies the name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
    Sinks List<FlinkApplicationVersionSink>
    Application sinks
    Sources List<FlinkApplicationVersionSource>
    Application sources
    Statement string
    Job SQL statement
    ApplicationId string
    Application ID
    Project string
    Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
    ServiceName string
    Specifies the name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
    Sinks []FlinkApplicationVersionSinkArgs
    Application sinks
    Sources []FlinkApplicationVersionSourceArgs
    Application sources
    Statement string
    Job SQL statement
    applicationId String
    Application ID
    project String
    Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
    serviceName String
    Specifies the name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
    sinks List<FlinkApplicationVersionSink>
    Application sinks
    sources List<FlinkApplicationVersionSource>
    Application sources
    statement String
    Job SQL statement
    applicationId string
    Application ID
    project string
    Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
    serviceName string
    Specifies the name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
    sinks FlinkApplicationVersionSink[]
    Application sinks
    sources FlinkApplicationVersionSource[]
    Application sources
    statement string
    Job SQL statement
    application_id str
    Application ID
    project str
    Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
    service_name str
    Specifies the name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
    sinks Sequence[FlinkApplicationVersionSinkArgs]
    Application sinks
    sources Sequence[FlinkApplicationVersionSourceArgs]
    Application sources
    statement str
    Job SQL statement
    applicationId String
    Application ID
    project String
    Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
    serviceName String
    Specifies the name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
    sinks List<Property Map>
    Application sinks
    sources List<Property Map>
    Application sources
    statement String
    Job SQL statement

    Outputs

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

    ApplicationVersionId string
    Application version ID
    CreatedAt string
    Application version creation time
    CreatedBy string
    Application version creator
    Id string
    The provider-assigned unique ID for this managed resource.
    Version int
    Application version number
    ApplicationVersionId string
    Application version ID
    CreatedAt string
    Application version creation time
    CreatedBy string
    Application version creator
    Id string
    The provider-assigned unique ID for this managed resource.
    Version int
    Application version number
    applicationVersionId String
    Application version ID
    createdAt String
    Application version creation time
    createdBy String
    Application version creator
    id String
    The provider-assigned unique ID for this managed resource.
    version Integer
    Application version number
    applicationVersionId string
    Application version ID
    createdAt string
    Application version creation time
    createdBy string
    Application version creator
    id string
    The provider-assigned unique ID for this managed resource.
    version number
    Application version number
    application_version_id str
    Application version ID
    created_at str
    Application version creation time
    created_by str
    Application version creator
    id str
    The provider-assigned unique ID for this managed resource.
    version int
    Application version number
    applicationVersionId String
    Application version ID
    createdAt String
    Application version creation time
    createdBy String
    Application version creator
    id String
    The provider-assigned unique ID for this managed resource.
    version Number
    Application version number

    Look up Existing FlinkApplicationVersion Resource

    Get an existing FlinkApplicationVersion 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?: FlinkApplicationVersionState, opts?: CustomResourceOptions): FlinkApplicationVersion
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            application_id: Optional[str] = None,
            application_version_id: Optional[str] = None,
            created_at: Optional[str] = None,
            created_by: Optional[str] = None,
            project: Optional[str] = None,
            service_name: Optional[str] = None,
            sinks: Optional[Sequence[FlinkApplicationVersionSinkArgs]] = None,
            sources: Optional[Sequence[FlinkApplicationVersionSourceArgs]] = None,
            statement: Optional[str] = None,
            version: Optional[int] = None) -> FlinkApplicationVersion
    func GetFlinkApplicationVersion(ctx *Context, name string, id IDInput, state *FlinkApplicationVersionState, opts ...ResourceOption) (*FlinkApplicationVersion, error)
    public static FlinkApplicationVersion Get(string name, Input<string> id, FlinkApplicationVersionState? state, CustomResourceOptions? opts = null)
    public static FlinkApplicationVersion get(String name, Output<String> id, FlinkApplicationVersionState state, CustomResourceOptions options)
    resources:  _:    type: aiven:FlinkApplicationVersion    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
    ApplicationVersionId string
    Application version ID
    CreatedAt string
    Application version creation time
    CreatedBy string
    Application version creator
    Project string
    Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
    ServiceName string
    Specifies the name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
    Sinks List<FlinkApplicationVersionSink>
    Application sinks
    Sources List<FlinkApplicationVersionSource>
    Application sources
    Statement string
    Job SQL statement
    Version int
    Application version number
    ApplicationId string
    Application ID
    ApplicationVersionId string
    Application version ID
    CreatedAt string
    Application version creation time
    CreatedBy string
    Application version creator
    Project string
    Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
    ServiceName string
    Specifies the name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
    Sinks []FlinkApplicationVersionSinkArgs
    Application sinks
    Sources []FlinkApplicationVersionSourceArgs
    Application sources
    Statement string
    Job SQL statement
    Version int
    Application version number
    applicationId String
    Application ID
    applicationVersionId String
    Application version ID
    createdAt String
    Application version creation time
    createdBy String
    Application version creator
    project String
    Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
    serviceName String
    Specifies the name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
    sinks List<FlinkApplicationVersionSink>
    Application sinks
    sources List<FlinkApplicationVersionSource>
    Application sources
    statement String
    Job SQL statement
    version Integer
    Application version number
    applicationId string
    Application ID
    applicationVersionId string
    Application version ID
    createdAt string
    Application version creation time
    createdBy string
    Application version creator
    project string
    Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
    serviceName string
    Specifies the name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
    sinks FlinkApplicationVersionSink[]
    Application sinks
    sources FlinkApplicationVersionSource[]
    Application sources
    statement string
    Job SQL statement
    version number
    Application version number
    application_id str
    Application ID
    application_version_id str
    Application version ID
    created_at str
    Application version creation time
    created_by str
    Application version creator
    project str
    Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
    service_name str
    Specifies the name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
    sinks Sequence[FlinkApplicationVersionSinkArgs]
    Application sinks
    sources Sequence[FlinkApplicationVersionSourceArgs]
    Application sources
    statement str
    Job SQL statement
    version int
    Application version number
    applicationId String
    Application ID
    applicationVersionId String
    Application version ID
    createdAt String
    Application version creation time
    createdBy String
    Application version creator
    project String
    Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
    serviceName String
    Specifies the name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
    sinks List<Property Map>
    Application sinks
    sources List<Property Map>
    Application sources
    statement String
    Job SQL statement
    version Number
    Application version number

    Supporting Types

    FlinkApplicationVersionSink, FlinkApplicationVersionSinkArgs

    CreateTable string
    The CREATE TABLE statement
    IntegrationId string
    The integration ID
    CreateTable string
    The CREATE TABLE statement
    IntegrationId string
    The integration ID
    createTable String
    The CREATE TABLE statement
    integrationId String
    The integration ID
    createTable string
    The CREATE TABLE statement
    integrationId string
    The integration ID
    create_table str
    The CREATE TABLE statement
    integration_id str
    The integration ID
    createTable String
    The CREATE TABLE statement
    integrationId String
    The integration ID

    FlinkApplicationVersionSource, FlinkApplicationVersionSourceArgs

    CreateTable string
    The CREATE TABLE statement
    IntegrationId string
    The integration ID
    CreateTable string
    The CREATE TABLE statement
    IntegrationId string
    The integration ID
    createTable String
    The CREATE TABLE statement
    integrationId String
    The integration ID
    createTable string
    The CREATE TABLE statement
    integrationId string
    The integration ID
    create_table str
    The CREATE TABLE statement
    integration_id str
    The integration ID
    createTable String
    The CREATE TABLE statement
    integrationId String
    The integration ID

    Import

     $ pulumi import aiven:index/flinkApplicationVersion:FlinkApplicationVersion v1 project/service/application_id/application_version_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 v5.6.0 (Older version)
    published on Monday, Mar 9, 2026 by Pulumi
      Try Pulumi Cloud free. Your team will thank you.