aiven.FlinkApplicationVersion
Explore with Pulumi AI
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,
statement: Optional[str] = None,
sink: Optional[Sequence[FlinkApplicationVersionSinkArgs]] = None,
sinks: Optional[Sequence[FlinkApplicationVersionSinkArgs]] = None,
source: Optional[Sequence[FlinkApplicationVersionSourceArgs]] = None,
sources: Optional[Sequence[FlinkApplicationVersionSourceArgs]] = 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.
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",
Statement = "string",
Sink = new[]
{
new Aiven.Inputs.FlinkApplicationVersionSinkArgs
{
CreateTable = "string",
IntegrationId = "string",
},
},
Source = new[]
{
new Aiven.Inputs.FlinkApplicationVersionSourceArgs
{
CreateTable = "string",
IntegrationId = "string",
},
},
});
example, err := aiven.NewFlinkApplicationVersion(ctx, "flinkApplicationVersionResource", &aiven.FlinkApplicationVersionArgs{
ApplicationId: pulumi.String("string"),
Project: pulumi.String("string"),
ServiceName: pulumi.String("string"),
Statement: pulumi.String("string"),
Sink: aiven.FlinkApplicationVersionSinkArray{
&aiven.FlinkApplicationVersionSinkArgs{
CreateTable: pulumi.String("string"),
IntegrationId: pulumi.String("string"),
},
},
Source: aiven.FlinkApplicationVersionSourceArray{
&aiven.FlinkApplicationVersionSourceArgs{
CreateTable: pulumi.String("string"),
IntegrationId: pulumi.String("string"),
},
},
})
var flinkApplicationVersionResource = new FlinkApplicationVersion("flinkApplicationVersionResource", FlinkApplicationVersionArgs.builder()
.applicationId("string")
.project("string")
.serviceName("string")
.statement("string")
.sink(FlinkApplicationVersionSinkArgs.builder()
.createTable("string")
.integrationId("string")
.build())
.source(FlinkApplicationVersionSourceArgs.builder()
.createTable("string")
.integrationId("string")
.build())
.build());
flink_application_version_resource = aiven.FlinkApplicationVersion("flinkApplicationVersionResource",
application_id="string",
project="string",
service_name="string",
statement="string",
sink=[aiven.FlinkApplicationVersionSinkArgs(
create_table="string",
integration_id="string",
)],
source=[aiven.FlinkApplicationVersionSourceArgs(
create_table="string",
integration_id="string",
)])
const flinkApplicationVersionResource = new aiven.FlinkApplicationVersion("flinkApplicationVersionResource", {
applicationId: "string",
project: "string",
serviceName: "string",
statement: "string",
sink: [{
createTable: "string",
integrationId: "string",
}],
source: [{
createTable: "string",
integrationId: "string",
}],
});
type: aiven:FlinkApplicationVersion
properties:
applicationId: string
project: string
serviceName: string
sink:
- createTable: string
integrationId: string
source:
- 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
The FlinkApplicationVersion resource accepts the following input properties:
- Application
Id 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. Changing this property forces recreation of the resource.
- Service
Name 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.
- Statement string
- Job SQL statement
- Sink
List<Flink
Application Version Sink> - Application sink
- Sinks
List<Flink
Application Version Sink> - Application sinks
- Source
List<Flink
Application Version Source> - Application source
- Sources
List<Flink
Application Version Source> - Application sources
- Application
Id 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. Changing this property forces recreation of the resource.
- Service
Name 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.
- Statement string
- Job SQL statement
- Sink
[]Flink
Application Version Sink Args - Application sink
- Sinks
[]Flink
Application Version Sink Args - Application sinks
- Source
[]Flink
Application Version Source Args - Application source
- Sources
[]Flink
Application Version Source Args - Application sources
- application
Id 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. Changing this property forces recreation of the resource.
- service
Name 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.
- statement String
- Job SQL statement
- sink
List<Flink
Application Version Sink> - Application sink
- sinks
List<Flink
Application Version Sink> - Application sinks
- source
List<Flink
Application Version Source> - Application source
- sources
List<Flink
Application Version Source> - Application sources
- application
Id 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. Changing this property forces recreation of the resource.
- service
Name 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.
- statement string
- Job SQL statement
- sink
Flink
Application Version Sink[] - Application sink
- sinks
Flink
Application Version Sink[] - Application sinks
- source
Flink
Application Version Source[] - Application source
- sources
Flink
Application Version Source[] - Application sources
- 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. 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.
- statement str
- Job SQL statement
- sink
Sequence[Flink
Application Version Sink Args] - Application sink
- sinks
Sequence[Flink
Application Version Sink Args] - Application sinks
- source
Sequence[Flink
Application Version Source Args] - Application source
- sources
Sequence[Flink
Application Version Source Args] - Application sources
- application
Id 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. Changing this property forces recreation of the resource.
- service
Name 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.
- statement String
- Job SQL statement
- sink List<Property Map>
- Application sink
- sinks List<Property Map>
- Application sinks
- source List<Property Map>
- Application source
- sources List<Property Map>
- Application sources
Outputs
All input properties are implicitly available as output properties. Additionally, the FlinkApplicationVersion resource produces the following output properties:
- Application
Version stringId - Application version ID
- Created
At string - Application version creation time
- Created
By string - Application version creator
- Id string
- The provider-assigned unique ID for this managed resource.
- Version int
- Application version number
- Application
Version stringId - Application version ID
- Created
At string - Application version creation time
- Created
By string - Application version creator
- Id string
- The provider-assigned unique ID for this managed resource.
- Version int
- Application version number
- application
Version StringId - Application version ID
- created
At String - Application version creation time
- created
By String - Application version creator
- id String
- The provider-assigned unique ID for this managed resource.
- version Integer
- Application version number
- application
Version stringId - Application version ID
- created
At string - Application version creation time
- created
By string - Application version creator
- id string
- The provider-assigned unique ID for this managed resource.
- version number
- Application version number
- application_
version_ strid - 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
- application
Version StringId - Application version ID
- created
At String - Application version creation time
- created
By 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,
sink: Optional[Sequence[FlinkApplicationVersionSinkArgs]] = None,
sinks: Optional[Sequence[FlinkApplicationVersionSinkArgs]] = None,
source: Optional[Sequence[FlinkApplicationVersionSourceArgs]] = 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)
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.
- Application
Id string - Application ID
- Application
Version stringId - Application version ID
- Created
At string - Application version creation time
- Created
By 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. Changing this property forces recreation of the resource.
- Service
Name 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.
- Sink
List<Flink
Application Version Sink> - Application sink
- Sinks
List<Flink
Application Version Sink> - Application sinks
- Source
List<Flink
Application Version Source> - Application source
- Sources
List<Flink
Application Version Source> - Application sources
- Statement string
- Job SQL statement
- Version int
- Application version number
- Application
Id string - Application ID
- Application
Version stringId - Application version ID
- Created
At string - Application version creation time
- Created
By 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. Changing this property forces recreation of the resource.
- Service
Name 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.
- Sink
[]Flink
Application Version Sink Args - Application sink
- Sinks
[]Flink
Application Version Sink Args - Application sinks
- Source
[]Flink
Application Version Source Args - Application source
- Sources
[]Flink
Application Version Source Args - Application sources
- Statement string
- Job SQL statement
- Version int
- Application version number
- application
Id String - Application ID
- application
Version StringId - Application version ID
- created
At String - Application version creation time
- created
By 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. Changing this property forces recreation of the resource.
- service
Name 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.
- sink
List<Flink
Application Version Sink> - Application sink
- sinks
List<Flink
Application Version Sink> - Application sinks
- source
List<Flink
Application Version Source> - Application source
- sources
List<Flink
Application Version Source> - Application sources
- statement String
- Job SQL statement
- version Integer
- Application version number
- application
Id string - Application ID
- application
Version stringId - Application version ID
- created
At string - Application version creation time
- created
By 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. Changing this property forces recreation of the resource.
- service
Name 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.
- sink
Flink
Application Version Sink[] - Application sink
- sinks
Flink
Application Version Sink[] - Application sinks
- source
Flink
Application Version Source[] - Application source
- sources
Flink
Application Version Source[] - Application sources
- statement string
- Job SQL statement
- version number
- Application version number
- application_
id str - Application ID
- application_
version_ strid - 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. 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.
- sink
Sequence[Flink
Application Version Sink Args] - Application sink
- sinks
Sequence[Flink
Application Version Sink Args] - Application sinks
- source
Sequence[Flink
Application Version Source Args] - Application source
- sources
Sequence[Flink
Application Version Source Args] - Application sources
- statement str
- Job SQL statement
- version int
- Application version number
- application
Id String - Application ID
- application
Version StringId - Application version ID
- created
At String - Application version creation time
- created
By 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. Changing this property forces recreation of the resource.
- service
Name 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.
- sink List<Property Map>
- Application sink
- sinks List<Property Map>
- Application sinks
- source List<Property Map>
- Application source
- sources List<Property Map>
- Application sources
- statement String
- Job SQL statement
- version Number
- Application version number
Supporting Types
FlinkApplicationVersionSink, FlinkApplicationVersionSinkArgs
- Create
Table string - The CREATE TABLE statement
- Integration
Id string - The integration ID
- Create
Table string - The CREATE TABLE statement
- Integration
Id string - The integration ID
- create
Table String - The CREATE TABLE statement
- integration
Id String - The integration ID
- create
Table string - The CREATE TABLE statement
- integration
Id string - The integration ID
- create_
table str - The CREATE TABLE statement
- integration_
id str - The integration ID
- create
Table String - The CREATE TABLE statement
- integration
Id String - The integration ID
FlinkApplicationVersionSource, FlinkApplicationVersionSourceArgs
- Create
Table string - The CREATE TABLE statement
- Integration
Id string - The integration ID
- Create
Table string - The CREATE TABLE statement
- Integration
Id string - The integration ID
- create
Table String - The CREATE TABLE statement
- integration
Id String - The integration ID
- create
Table string - The CREATE TABLE statement
- integration
Id string - The integration ID
- create_
table str - The CREATE TABLE statement
- integration_
id str - The integration ID
- create
Table String - The CREATE TABLE statement
- integration
Id 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.