airbyte 0.7.0-beta2 published on Friday, Mar 7, 2025 by airbytehq
airbyte.getConnection
Explore with Pulumi AI
airbyte 0.7.0-beta2 published on Friday, Mar 7, 2025 by airbytehq
Connection DataSource
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as airbyte from "@pulumi/airbyte";
const myConnection = airbyte.getConnection({
    connectionId: "...my_connection_id...",
});
import pulumi
import pulumi_airbyte as airbyte
my_connection = airbyte.get_connection(connection_id="...my_connection_id...")
package main
import (
	"github.com/pulumi/pulumi-terraform-provider/sdks/go/airbyte/airbyte"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := airbyte.LookupConnection(ctx, &airbyte.LookupConnectionArgs{
			ConnectionId: "...my_connection_id...",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Airbyte = Pulumi.Airbyte;
return await Deployment.RunAsync(() => 
{
    var myConnection = Airbyte.GetConnection.Invoke(new()
    {
        ConnectionId = "...my_connection_id...",
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.airbyte.AirbyteFunctions;
import com.pulumi.airbyte.inputs.GetConnectionArgs;
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) {
        final var myConnection = AirbyteFunctions.getConnection(GetConnectionArgs.builder()
            .connectionId("...my_connection_id...")
            .build());
    }
}
variables:
  myConnection:
    fn::invoke:
      function: airbyte:getConnection
      arguments:
        connectionId: '...my_connection_id...'
Using getConnection
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getConnection(args: GetConnectionArgs, opts?: InvokeOptions): Promise<GetConnectionResult>
function getConnectionOutput(args: GetConnectionOutputArgs, opts?: InvokeOptions): Output<GetConnectionResult>def get_connection(connection_id: Optional[str] = None,
                   opts: Optional[InvokeOptions] = None) -> GetConnectionResult
def get_connection_output(connection_id: Optional[pulumi.Input[str]] = None,
                   opts: Optional[InvokeOptions] = None) -> Output[GetConnectionResult]func LookupConnection(ctx *Context, args *LookupConnectionArgs, opts ...InvokeOption) (*LookupConnectionResult, error)
func LookupConnectionOutput(ctx *Context, args *LookupConnectionOutputArgs, opts ...InvokeOption) LookupConnectionResultOutput> Note: This function is named LookupConnection in the Go SDK.
public static class GetConnection 
{
    public static Task<GetConnectionResult> InvokeAsync(GetConnectionArgs args, InvokeOptions? opts = null)
    public static Output<GetConnectionResult> Invoke(GetConnectionInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetConnectionResult> getConnection(GetConnectionArgs args, InvokeOptions options)
public static Output<GetConnectionResult> getConnection(GetConnectionArgs args, InvokeOptions options)
fn::invoke:
  function: airbyte:index/getConnection:getConnection
  arguments:
    # arguments dictionaryThe following arguments are supported:
- ConnectionId string
- ConnectionId string
- connectionId String
- connectionId string
- connection_id str
- connectionId String
getConnection Result
The following output properties are available:
- Configurations
GetConnection Configurations 
- A list of configured stream options for a connection.
- ConnectionId string
- CreatedAt double
- DataResidency string
- DestinationId string
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- NamespaceDefinition string
- Define the location where the data will be stored in the destination
- NamespaceFormat string
- NonBreaking stringSchema Updates Behavior 
- Set how Airbyte handles syncs when it detects a non-breaking schema change in the source
- Prefix string
- Schedule
GetConnection Schedule 
- schedule for when the the connection should run, per the schedule type
- SourceId string
- Status string
- 
List<GetConnection Tag> 
- WorkspaceId string
- Configurations
GetConnection Configurations 
- A list of configured stream options for a connection.
- ConnectionId string
- CreatedAt float64
- DataResidency string
- DestinationId string
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- NamespaceDefinition string
- Define the location where the data will be stored in the destination
- NamespaceFormat string
- NonBreaking stringSchema Updates Behavior 
- Set how Airbyte handles syncs when it detects a non-breaking schema change in the source
- Prefix string
- Schedule
GetConnection Schedule 
- schedule for when the the connection should run, per the schedule type
- SourceId string
- Status string
- 
[]GetConnection Tag 
- WorkspaceId string
- configurations
GetConnection Configurations 
- A list of configured stream options for a connection.
- connectionId String
- createdAt Double
- dataResidency String
- destinationId String
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- namespaceDefinition String
- Define the location where the data will be stored in the destination
- namespaceFormat String
- nonBreaking StringSchema Updates Behavior 
- Set how Airbyte handles syncs when it detects a non-breaking schema change in the source
- prefix String
- schedule
GetConnection Schedule 
- schedule for when the the connection should run, per the schedule type
- sourceId String
- status String
- 
List<GetConnection Tag> 
- workspaceId String
- configurations
GetConnection Configurations 
- A list of configured stream options for a connection.
- connectionId string
- createdAt number
- dataResidency string
- destinationId string
- id string
- The provider-assigned unique ID for this managed resource.
- name string
- namespaceDefinition string
- Define the location where the data will be stored in the destination
- namespaceFormat string
- nonBreaking stringSchema Updates Behavior 
- Set how Airbyte handles syncs when it detects a non-breaking schema change in the source
- prefix string
- schedule
GetConnection Schedule 
- schedule for when the the connection should run, per the schedule type
- sourceId string
- status string
- 
GetConnection Tag[] 
- workspaceId string
- configurations
GetConnection Configurations 
- A list of configured stream options for a connection.
- connection_id str
- created_at float
- data_residency str
- destination_id str
- id str
- The provider-assigned unique ID for this managed resource.
- name str
- namespace_definition str
- Define the location where the data will be stored in the destination
- namespace_format str
- non_breaking_ strschema_ updates_ behavior 
- Set how Airbyte handles syncs when it detects a non-breaking schema change in the source
- prefix str
- schedule
GetConnection Schedule 
- schedule for when the the connection should run, per the schedule type
- source_id str
- status str
- 
Sequence[GetConnection Tag] 
- workspace_id str
- configurations Property Map
- A list of configured stream options for a connection.
- connectionId String
- createdAt Number
- dataResidency String
- destinationId String
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- namespaceDefinition String
- Define the location where the data will be stored in the destination
- namespaceFormat String
- nonBreaking StringSchema Updates Behavior 
- Set how Airbyte handles syncs when it detects a non-breaking schema change in the source
- prefix String
- schedule Property Map
- schedule for when the the connection should run, per the schedule type
- sourceId String
- status String
- List<Property Map>
- workspaceId String
Supporting Types
GetConnectionConfigurations  
GetConnectionConfigurationsStream   
- CursorFields List<string>
- Path to the field that will be used to determine if a record is new or modified since the last sync. This field is REQUIRED if sync_modeisincrementalunless there is a default.
- Mappers
List<GetConnection Configurations Stream Mapper> 
- Mappers that should be applied to the stream before writing to the destination.
- Name string
- PrimaryKeys List<ImmutableArray<string>> 
- Paths to the fields that will be used as primary key. This field is REQUIRED if destination_sync_modeis*_dedupunless it is already supplied by the source schema.
- SelectedFields List<GetConnection Configurations Stream Selected Field> 
- Paths to the fields that will be included in the configured catalog.
- SyncMode string
- CursorFields []string
- Path to the field that will be used to determine if a record is new or modified since the last sync. This field is REQUIRED if sync_modeisincrementalunless there is a default.
- Mappers
[]GetConnection Configurations Stream Mapper 
- Mappers that should be applied to the stream before writing to the destination.
- Name string
- PrimaryKeys [][]string
- Paths to the fields that will be used as primary key. This field is REQUIRED if destination_sync_modeis*_dedupunless it is already supplied by the source schema.
- SelectedFields []GetConnection Configurations Stream Selected Field 
- Paths to the fields that will be included in the configured catalog.
- SyncMode string
- cursorFields List<String>
- Path to the field that will be used to determine if a record is new or modified since the last sync. This field is REQUIRED if sync_modeisincrementalunless there is a default.
- mappers
List<GetConnection Configurations Stream Mapper> 
- Mappers that should be applied to the stream before writing to the destination.
- name String
- primaryKeys List<List<String>>
- Paths to the fields that will be used as primary key. This field is REQUIRED if destination_sync_modeis*_dedupunless it is already supplied by the source schema.
- selectedFields List<GetConnection Configurations Stream Selected Field> 
- Paths to the fields that will be included in the configured catalog.
- syncMode String
- cursorFields string[]
- Path to the field that will be used to determine if a record is new or modified since the last sync. This field is REQUIRED if sync_modeisincrementalunless there is a default.
- mappers
GetConnection Configurations Stream Mapper[] 
- Mappers that should be applied to the stream before writing to the destination.
- name string
- primaryKeys string[][]
- Paths to the fields that will be used as primary key. This field is REQUIRED if destination_sync_modeis*_dedupunless it is already supplied by the source schema.
- selectedFields GetConnection Configurations Stream Selected Field[] 
- Paths to the fields that will be included in the configured catalog.
- syncMode string
- cursor_fields Sequence[str]
- Path to the field that will be used to determine if a record is new or modified since the last sync. This field is REQUIRED if sync_modeisincrementalunless there is a default.
- mappers
Sequence[GetConnection Configurations Stream Mapper] 
- Mappers that should be applied to the stream before writing to the destination.
- name str
- primary_keys Sequence[Sequence[str]]
- Paths to the fields that will be used as primary key. This field is REQUIRED if destination_sync_modeis*_dedupunless it is already supplied by the source schema.
- selected_fields Sequence[GetConnection Configurations Stream Selected Field] 
- Paths to the fields that will be included in the configured catalog.
- sync_mode str
- cursorFields List<String>
- Path to the field that will be used to determine if a record is new or modified since the last sync. This field is REQUIRED if sync_modeisincrementalunless there is a default.
- mappers List<Property Map>
- Mappers that should be applied to the stream before writing to the destination.
- name String
- primaryKeys List<List<String>>
- Paths to the fields that will be used as primary key. This field is REQUIRED if destination_sync_modeis*_dedupunless it is already supplied by the source schema.
- selectedFields List<Property Map>
- Paths to the fields that will be included in the configured catalog.
- syncMode String
GetConnectionConfigurationsStreamMapper    
- Id string
- MapperConfiguration GetConnection Configurations Stream Mapper Mapper Configuration 
- The values required to configure the mapper.
- Type string
- Id string
- MapperConfiguration GetConnection Configurations Stream Mapper Mapper Configuration 
- The values required to configure the mapper.
- Type string
- id String
- mapperConfiguration GetConnection Configurations Stream Mapper Mapper Configuration 
- The values required to configure the mapper.
- type String
- id string
- mapperConfiguration GetConnection Configurations Stream Mapper Mapper Configuration 
- The values required to configure the mapper.
- type string
- id str
- mapper_configuration GetConnection Configurations Stream Mapper Mapper Configuration 
- The values required to configure the mapper.
- type str
- id String
- mapperConfiguration Property Map
- The values required to configure the mapper.
- type String
GetConnectionConfigurationsStreamMapperMapperConfiguration      
- Encryption
GetConnection Configurations Stream Mapper Mapper Configuration Encryption 
- FieldRenaming GetConnection Configurations Stream Mapper Mapper Configuration Field Renaming 
- Hashing
GetConnection Configurations Stream Mapper Mapper Configuration Hashing 
- RowFiltering GetConnection Configurations Stream Mapper Mapper Configuration Row Filtering 
- Encryption
GetConnection Configurations Stream Mapper Mapper Configuration Encryption 
- FieldRenaming GetConnection Configurations Stream Mapper Mapper Configuration Field Renaming 
- Hashing
GetConnection Configurations Stream Mapper Mapper Configuration Hashing 
- RowFiltering GetConnection Configurations Stream Mapper Mapper Configuration Row Filtering 
- encryption
GetConnection Configurations Stream Mapper Mapper Configuration Encryption 
- fieldRenaming GetConnection Configurations Stream Mapper Mapper Configuration Field Renaming 
- hashing
GetConnection Configurations Stream Mapper Mapper Configuration Hashing 
- rowFiltering GetConnection Configurations Stream Mapper Mapper Configuration Row Filtering 
- encryption
GetConnection Configurations Stream Mapper Mapper Configuration Encryption 
- fieldRenaming GetConnection Configurations Stream Mapper Mapper Configuration Field Renaming 
- hashing
GetConnection Configurations Stream Mapper Mapper Configuration Hashing 
- rowFiltering GetConnection Configurations Stream Mapper Mapper Configuration Row Filtering 
- encryption
GetConnection Configurations Stream Mapper Mapper Configuration Encryption 
- field_renaming GetConnection Configurations Stream Mapper Mapper Configuration Field Renaming 
- hashing
GetConnection Configurations Stream Mapper Mapper Configuration Hashing 
- row_filtering GetConnection Configurations Stream Mapper Mapper Configuration Row Filtering 
GetConnectionConfigurationsStreamMapperMapperConfigurationEncryption       
GetConnectionConfigurationsStreamMapperMapperConfigurationEncryptionAes        
- Algorithm string
- FieldName stringSuffix 
- Key string
- Mode string
- Padding string
- TargetField string
- Algorithm string
- FieldName stringSuffix 
- Key string
- Mode string
- Padding string
- TargetField string
- algorithm String
- fieldName StringSuffix 
- key String
- mode String
- padding String
- targetField String
- algorithm string
- fieldName stringSuffix 
- key string
- mode string
- padding string
- targetField string
- algorithm str
- field_name_ strsuffix 
- key str
- mode str
- padding str
- target_field str
- algorithm String
- fieldName StringSuffix 
- key String
- mode String
- padding String
- targetField String
GetConnectionConfigurationsStreamMapperMapperConfigurationEncryptionRsa        
- Algorithm string
- FieldName stringSuffix 
- PublicKey string
- TargetField string
- Algorithm string
- FieldName stringSuffix 
- PublicKey string
- TargetField string
- algorithm String
- fieldName StringSuffix 
- publicKey String
- targetField String
- algorithm string
- fieldName stringSuffix 
- publicKey string
- targetField string
- algorithm str
- field_name_ strsuffix 
- public_key str
- target_field str
- algorithm String
- fieldName StringSuffix 
- publicKey String
- targetField String
GetConnectionConfigurationsStreamMapperMapperConfigurationFieldRenaming        
- NewField stringName 
- The new name for the field after renaming.
- OriginalField stringName 
- The current name of the field to rename.
- NewField stringName 
- The new name for the field after renaming.
- OriginalField stringName 
- The current name of the field to rename.
- newField StringName 
- The new name for the field after renaming.
- originalField StringName 
- The current name of the field to rename.
- newField stringName 
- The new name for the field after renaming.
- originalField stringName 
- The current name of the field to rename.
- new_field_ strname 
- The new name for the field after renaming.
- original_field_ strname 
- The current name of the field to rename.
- newField StringName 
- The new name for the field after renaming.
- originalField StringName 
- The current name of the field to rename.
GetConnectionConfigurationsStreamMapperMapperConfigurationHashing       
- FieldName stringSuffix 
- The suffix to append to the field name after hashing.
- Method string
- The hashing algorithm to use.
- TargetField string
- The name of the field to be hashed.
- FieldName stringSuffix 
- The suffix to append to the field name after hashing.
- Method string
- The hashing algorithm to use.
- TargetField string
- The name of the field to be hashed.
- fieldName StringSuffix 
- The suffix to append to the field name after hashing.
- method String
- The hashing algorithm to use.
- targetField String
- The name of the field to be hashed.
- fieldName stringSuffix 
- The suffix to append to the field name after hashing.
- method string
- The hashing algorithm to use.
- targetField string
- The name of the field to be hashed.
- field_name_ strsuffix 
- The suffix to append to the field name after hashing.
- method str
- The hashing algorithm to use.
- target_field str
- The name of the field to be hashed.
- fieldName StringSuffix 
- The suffix to append to the field name after hashing.
- method String
- The hashing algorithm to use.
- targetField String
- The name of the field to be hashed.
GetConnectionConfigurationsStreamMapperMapperConfigurationRowFiltering        
- Conditions string
- Parsed as JSON.
- Conditions string
- Parsed as JSON.
- conditions String
- Parsed as JSON.
- conditions string
- Parsed as JSON.
- conditions str
- Parsed as JSON.
- conditions String
- Parsed as JSON.
GetConnectionConfigurationsStreamSelectedField     
- FieldPaths List<string>
- FieldPaths []string
- fieldPaths List<String>
- fieldPaths string[]
- field_paths Sequence[str]
- fieldPaths List<String>
GetConnectionSchedule  
- BasicTiming string
- CronExpression string
- ScheduleType string
- BasicTiming string
- CronExpression string
- ScheduleType string
- basicTiming String
- cronExpression String
- scheduleType String
- basicTiming string
- cronExpression string
- scheduleType string
- basic_timing str
- cron_expression str
- schedule_type str
- basicTiming String
- cronExpression String
- scheduleType String
GetConnectionTag  
- Color string
- Name string
- TagId string
- WorkspaceId string
- Color string
- Name string
- TagId string
- WorkspaceId string
- color String
- name String
- tagId String
- workspaceId String
- color string
- name string
- tagId string
- workspaceId string
- color str
- name str
- tag_id str
- workspace_id str
- color String
- name String
- tagId String
- workspaceId String
Package Details
- Repository
- airbyte airbytehq/terraform-provider-airbyte
- License
- Notes
- This Pulumi package is based on the airbyteTerraform Provider.
airbyte 0.7.0-beta2 published on Friday, Mar 7, 2025 by airbytehq