1. Packages
  2. Airbyte Provider
  3. API Docs
  4. getDestinationS3
airbyte 0.7.0-beta2 published on Friday, Mar 7, 2025 by airbytehq

airbyte.getDestinationS3

Explore with Pulumi AI

airbyte logo
airbyte 0.7.0-beta2 published on Friday, Mar 7, 2025 by airbytehq

    DestinationS3 DataSource

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as airbyte from "@pulumi/airbyte";
    
    const myDestinationS3 = airbyte.getDestinationS3({
        destinationId: "...my_destination_id...",
    });
    
    import pulumi
    import pulumi_airbyte as airbyte
    
    my_destination_s3 = airbyte.get_destination_s3(destination_id="...my_destination_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.LookupDestinationS3(ctx, &airbyte.LookupDestinationS3Args{
    			DestinationId: "...my_destination_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 myDestinationS3 = Airbyte.GetDestinationS3.Invoke(new()
        {
            DestinationId = "...my_destination_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.GetDestinationS3Args;
    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 myDestinationS3 = AirbyteFunctions.getDestinationS3(GetDestinationS3Args.builder()
                .destinationId("...my_destination_id...")
                .build());
    
        }
    }
    
    variables:
      myDestinationS3:
        fn::invoke:
          function: airbyte:getDestinationS3
          arguments:
            destinationId: '...my_destination_id...'
    

    Using getDestinationS3

    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 getDestinationS3(args: GetDestinationS3Args, opts?: InvokeOptions): Promise<GetDestinationS3Result>
    function getDestinationS3Output(args: GetDestinationS3OutputArgs, opts?: InvokeOptions): Output<GetDestinationS3Result>
    def get_destination_s3(destination_id: Optional[str] = None,
                           opts: Optional[InvokeOptions] = None) -> GetDestinationS3Result
    def get_destination_s3_output(destination_id: Optional[pulumi.Input[str]] = None,
                           opts: Optional[InvokeOptions] = None) -> Output[GetDestinationS3Result]
    func LookupDestinationS3(ctx *Context, args *LookupDestinationS3Args, opts ...InvokeOption) (*LookupDestinationS3Result, error)
    func LookupDestinationS3Output(ctx *Context, args *LookupDestinationS3OutputArgs, opts ...InvokeOption) LookupDestinationS3ResultOutput

    > Note: This function is named LookupDestinationS3 in the Go SDK.

    public static class GetDestinationS3 
    {
        public static Task<GetDestinationS3Result> InvokeAsync(GetDestinationS3Args args, InvokeOptions? opts = null)
        public static Output<GetDestinationS3Result> Invoke(GetDestinationS3InvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetDestinationS3Result> getDestinationS3(GetDestinationS3Args args, InvokeOptions options)
    public static Output<GetDestinationS3Result> getDestinationS3(GetDestinationS3Args args, InvokeOptions options)
    
    fn::invoke:
      function: airbyte:index/getDestinationS3:getDestinationS3
      arguments:
        # arguments dictionary

    The following arguments are supported:

    getDestinationS3 Result

    The following output properties are available:

    Configuration string
    The values required to configure the destination. Parsed as JSON.
    CreatedAt double
    DefinitionId string
    DestinationId string
    DestinationType string
    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    WorkspaceId string
    Configuration string
    The values required to configure the destination. Parsed as JSON.
    CreatedAt float64
    DefinitionId string
    DestinationId string
    DestinationType string
    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    WorkspaceId string
    configuration String
    The values required to configure the destination. Parsed as JSON.
    createdAt Double
    definitionId String
    destinationId String
    destinationType String
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    workspaceId String
    configuration string
    The values required to configure the destination. Parsed as JSON.
    createdAt number
    definitionId string
    destinationId string
    destinationType string
    id string
    The provider-assigned unique ID for this managed resource.
    name string
    workspaceId string
    configuration str
    The values required to configure the destination. Parsed as JSON.
    created_at float
    definition_id str
    destination_id str
    destination_type str
    id str
    The provider-assigned unique ID for this managed resource.
    name str
    workspace_id str
    configuration String
    The values required to configure the destination. Parsed as JSON.
    createdAt Number
    definitionId String
    destinationId String
    destinationType String
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    workspaceId String

    Package Details

    Repository
    airbyte airbytehq/terraform-provider-airbyte
    License
    Notes
    This Pulumi package is based on the airbyte Terraform Provider.
    airbyte logo
    airbyte 0.7.0-beta2 published on Friday, Mar 7, 2025 by airbytehq