1. Packages
  2. Aiven
  3. API Docs
  4. FlinkApplication
Aiven v6.13.0 published on Monday, Mar 25, 2024 by Pulumi

aiven.FlinkApplication

Explore with Pulumi AI

aiven logo
Aiven v6.13.0 published on Monday, Mar 25, 2024 by Pulumi

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

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as aiven from "@pulumi/aiven";
    
    const foo = new aiven.FlinkApplication("foo", {
        project: aiven_project.foo.project,
        serviceName: "flink-service-1",
    });
    
    import pulumi
    import pulumi_aiven as aiven
    
    foo = aiven.FlinkApplication("foo",
        project=aiven_project["foo"]["project"],
        service_name="flink-service-1")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-aiven/sdk/v6/go/aiven"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := aiven.NewFlinkApplication(ctx, "foo", &aiven.FlinkApplicationArgs{
    			Project:     pulumi.Any(aiven_project.Foo.Project),
    			ServiceName: pulumi.String("flink-service-1"),
    		})
    		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 foo = new Aiven.FlinkApplication("foo", new()
        {
            Project = aiven_project.Foo.Project,
            ServiceName = "flink-service-1",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.aiven.FlinkApplication;
    import com.pulumi.aiven.FlinkApplicationArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var foo = new FlinkApplication("foo", FlinkApplicationArgs.builder()        
                .project(aiven_project.foo().project())
                .serviceName("flink-service-1")
                .build());
    
        }
    }
    
    resources:
      foo:
        type: aiven:FlinkApplication
        properties:
          project: ${aiven_project.foo.project}
          serviceName: flink-service-1
    

    Create FlinkApplication Resource

    new FlinkApplication(name: string, args: FlinkApplicationArgs, opts?: CustomResourceOptions);
    @overload
    def FlinkApplication(resource_name: str,
                         opts: Optional[ResourceOptions] = None,
                         name: Optional[str] = None,
                         project: Optional[str] = None,
                         service_name: Optional[str] = None)
    @overload
    def FlinkApplication(resource_name: str,
                         args: FlinkApplicationArgs,
                         opts: Optional[ResourceOptions] = None)
    func NewFlinkApplication(ctx *Context, name string, args FlinkApplicationArgs, opts ...ResourceOption) (*FlinkApplication, error)
    public FlinkApplication(string name, FlinkApplicationArgs args, CustomResourceOptions? opts = null)
    public FlinkApplication(String name, FlinkApplicationArgs args)
    public FlinkApplication(String name, FlinkApplicationArgs args, CustomResourceOptions options)
    
    type: aiven:FlinkApplication
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    name string
    The unique name of the resource.
    args FlinkApplicationArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args FlinkApplicationArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args FlinkApplicationArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args FlinkApplicationArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args FlinkApplicationArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    FlinkApplication Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The FlinkApplication resource accepts the following input properties:

    Project string
    Identifies 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
    Specifies 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.
    Name string
    Application name
    Project string
    Identifies 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
    Specifies 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.
    Name string
    Application name
    project String
    Identifies 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
    Specifies 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.
    name String
    Application name
    project string
    Identifies 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
    Specifies 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.
    name string
    Application name
    project str
    Identifies 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
    Specifies 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.
    name str
    Application name
    project String
    Identifies 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
    Specifies 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.
    name String
    Application name

    Outputs

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

    ApplicationId string
    Application ID
    CreatedAt string
    Application creation time
    CreatedBy string
    Application creator
    Id string
    The provider-assigned unique ID for this managed resource.
    UpdatedAt string
    Application update time
    UpdatedBy string
    Application updater
    ApplicationId string
    Application ID
    CreatedAt string
    Application creation time
    CreatedBy string
    Application creator
    Id string
    The provider-assigned unique ID for this managed resource.
    UpdatedAt string
    Application update time
    UpdatedBy string
    Application updater
    applicationId String
    Application ID
    createdAt String
    Application creation time
    createdBy String
    Application creator
    id String
    The provider-assigned unique ID for this managed resource.
    updatedAt String
    Application update time
    updatedBy String
    Application updater
    applicationId string
    Application ID
    createdAt string
    Application creation time
    createdBy string
    Application creator
    id string
    The provider-assigned unique ID for this managed resource.
    updatedAt string
    Application update time
    updatedBy string
    Application updater
    application_id str
    Application ID
    created_at str
    Application creation time
    created_by str
    Application creator
    id str
    The provider-assigned unique ID for this managed resource.
    updated_at str
    Application update time
    updated_by str
    Application updater
    applicationId String
    Application ID
    createdAt String
    Application creation time
    createdBy String
    Application creator
    id String
    The provider-assigned unique ID for this managed resource.
    updatedAt String
    Application update time
    updatedBy String
    Application updater

    Look up Existing FlinkApplication Resource

    Get an existing FlinkApplication resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: FlinkApplicationState, opts?: CustomResourceOptions): FlinkApplication
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            application_id: Optional[str] = None,
            created_at: Optional[str] = None,
            created_by: Optional[str] = None,
            name: Optional[str] = None,
            project: Optional[str] = None,
            service_name: Optional[str] = None,
            updated_at: Optional[str] = None,
            updated_by: Optional[str] = None) -> FlinkApplication
    func GetFlinkApplication(ctx *Context, name string, id IDInput, state *FlinkApplicationState, opts ...ResourceOption) (*FlinkApplication, error)
    public static FlinkApplication Get(string name, Input<string> id, FlinkApplicationState? state, CustomResourceOptions? opts = null)
    public static FlinkApplication get(String name, Output<String> id, FlinkApplicationState state, CustomResourceOptions options)
    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 creation time
    CreatedBy string
    Application creator
    Name string
    Application name
    Project string
    Identifies 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
    Specifies 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.
    UpdatedAt string
    Application update time
    UpdatedBy string
    Application updater
    ApplicationId string
    Application ID
    CreatedAt string
    Application creation time
    CreatedBy string
    Application creator
    Name string
    Application name
    Project string
    Identifies 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
    Specifies 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.
    UpdatedAt string
    Application update time
    UpdatedBy string
    Application updater
    applicationId String
    Application ID
    createdAt String
    Application creation time
    createdBy String
    Application creator
    name String
    Application name
    project String
    Identifies 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
    Specifies 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.
    updatedAt String
    Application update time
    updatedBy String
    Application updater
    applicationId string
    Application ID
    createdAt string
    Application creation time
    createdBy string
    Application creator
    name string
    Application name
    project string
    Identifies 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
    Specifies 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.
    updatedAt string
    Application update time
    updatedBy string
    Application updater
    application_id str
    Application ID
    created_at str
    Application creation time
    created_by str
    Application creator
    name str
    Application name
    project str
    Identifies 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
    Specifies 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.
    updated_at str
    Application update time
    updated_by str
    Application updater
    applicationId String
    Application ID
    createdAt String
    Application creation time
    createdBy String
    Application creator
    name String
    Application name
    project String
    Identifies 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
    Specifies 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.
    updatedAt String
    Application update time
    updatedBy String
    Application updater

    Import

    $ pulumi import aiven:index/flinkApplication:FlinkApplication myapp project/service/application_name
    

    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.13.0 published on Monday, Mar 25, 2024 by Pulumi