airbyte.SourceMonday
Explore with Pulumi AI
SourceMonday Resource
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as airbyte from "@pulumi/airbyte";
const mySourceMonday = new airbyte.SourceMonday("mySourceMonday", {
    configuration: {
        credentials: {
            apiToken: {
                apiToken: "...my_api_token...",
            },
            oAuth20: {
                accessToken: "...my_access_token...",
                clientId: "...my_client_id...",
                clientSecret: "...my_client_secret...",
                subdomain: "...my_subdomain...",
            },
        },
    },
    definitionId: "cb22d725-edac-48cf-960b-7a9061de3d71",
    secretId: "...my_secret_id...",
    workspaceId: "707c7d95-d41e-41eb-818e-3cf0601dca20",
});
import pulumi
import pulumi_airbyte as airbyte
my_source_monday = airbyte.SourceMonday("mySourceMonday",
    configuration={
        "credentials": {
            "api_token": {
                "api_token": "...my_api_token...",
            },
            "o_auth20": {
                "access_token": "...my_access_token...",
                "client_id": "...my_client_id...",
                "client_secret": "...my_client_secret...",
                "subdomain": "...my_subdomain...",
            },
        },
    },
    definition_id="cb22d725-edac-48cf-960b-7a9061de3d71",
    secret_id="...my_secret_id...",
    workspace_id="707c7d95-d41e-41eb-818e-3cf0601dca20")
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.NewSourceMonday(ctx, "mySourceMonday", &airbyte.SourceMondayArgs{
			Configuration: &airbyte.SourceMondayConfigurationArgs{
				Credentials: &airbyte.SourceMondayConfigurationCredentialsArgs{
					ApiToken: &airbyte.SourceMondayConfigurationCredentialsApiTokenArgs{
						ApiToken: pulumi.String("...my_api_token..."),
					},
					OAuth20: &airbyte.SourceMondayConfigurationCredentialsOAuth20Args{
						AccessToken:  pulumi.String("...my_access_token..."),
						ClientId:     pulumi.String("...my_client_id..."),
						ClientSecret: pulumi.String("...my_client_secret..."),
						Subdomain:    pulumi.String("...my_subdomain..."),
					},
				},
			},
			DefinitionId: pulumi.String("cb22d725-edac-48cf-960b-7a9061de3d71"),
			SecretId:     pulumi.String("...my_secret_id..."),
			WorkspaceId:  pulumi.String("707c7d95-d41e-41eb-818e-3cf0601dca20"),
		})
		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 mySourceMonday = new Airbyte.SourceMonday("mySourceMonday", new()
    {
        Configuration = new Airbyte.Inputs.SourceMondayConfigurationArgs
        {
            Credentials = new Airbyte.Inputs.SourceMondayConfigurationCredentialsArgs
            {
                ApiToken = new Airbyte.Inputs.SourceMondayConfigurationCredentialsApiTokenArgs
                {
                    ApiToken = "...my_api_token...",
                },
                OAuth20 = new Airbyte.Inputs.SourceMondayConfigurationCredentialsOAuth20Args
                {
                    AccessToken = "...my_access_token...",
                    ClientId = "...my_client_id...",
                    ClientSecret = "...my_client_secret...",
                    Subdomain = "...my_subdomain...",
                },
            },
        },
        DefinitionId = "cb22d725-edac-48cf-960b-7a9061de3d71",
        SecretId = "...my_secret_id...",
        WorkspaceId = "707c7d95-d41e-41eb-818e-3cf0601dca20",
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.airbyte.SourceMonday;
import com.pulumi.airbyte.SourceMondayArgs;
import com.pulumi.airbyte.inputs.SourceMondayConfigurationArgs;
import com.pulumi.airbyte.inputs.SourceMondayConfigurationCredentialsArgs;
import com.pulumi.airbyte.inputs.SourceMondayConfigurationCredentialsApiTokenArgs;
import com.pulumi.airbyte.inputs.SourceMondayConfigurationCredentialsOAuth20Args;
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 mySourceMonday = new SourceMonday("mySourceMonday", SourceMondayArgs.builder()
            .configuration(SourceMondayConfigurationArgs.builder()
                .credentials(SourceMondayConfigurationCredentialsArgs.builder()
                    .apiToken(SourceMondayConfigurationCredentialsApiTokenArgs.builder()
                        .apiToken("...my_api_token...")
                        .build())
                    .oAuth20(SourceMondayConfigurationCredentialsOAuth20Args.builder()
                        .accessToken("...my_access_token...")
                        .clientId("...my_client_id...")
                        .clientSecret("...my_client_secret...")
                        .subdomain("...my_subdomain...")
                        .build())
                    .build())
                .build())
            .definitionId("cb22d725-edac-48cf-960b-7a9061de3d71")
            .secretId("...my_secret_id...")
            .workspaceId("707c7d95-d41e-41eb-818e-3cf0601dca20")
            .build());
    }
}
resources:
  mySourceMonday:
    type: airbyte:SourceMonday
    properties:
      configuration:
        credentials:
          apiToken:
            apiToken: '...my_api_token...'
          oAuth20:
            accessToken: '...my_access_token...'
            clientId: '...my_client_id...'
            clientSecret: '...my_client_secret...'
            subdomain: '...my_subdomain...'
      definitionId: cb22d725-edac-48cf-960b-7a9061de3d71
      secretId: '...my_secret_id...'
      workspaceId: 707c7d95-d41e-41eb-818e-3cf0601dca20
Create SourceMonday Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new SourceMonday(name: string, args: SourceMondayArgs, opts?: CustomResourceOptions);@overload
def SourceMonday(resource_name: str,
                 args: SourceMondayArgs,
                 opts: Optional[ResourceOptions] = None)
@overload
def SourceMonday(resource_name: str,
                 opts: Optional[ResourceOptions] = None,
                 configuration: Optional[SourceMondayConfigurationArgs] = None,
                 workspace_id: Optional[str] = None,
                 definition_id: Optional[str] = None,
                 name: Optional[str] = None,
                 secret_id: Optional[str] = None)func NewSourceMonday(ctx *Context, name string, args SourceMondayArgs, opts ...ResourceOption) (*SourceMonday, error)public SourceMonday(string name, SourceMondayArgs args, CustomResourceOptions? opts = null)
public SourceMonday(String name, SourceMondayArgs args)
public SourceMonday(String name, SourceMondayArgs args, CustomResourceOptions options)
type: airbyte:SourceMonday
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 SourceMondayArgs
- 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 SourceMondayArgs
- 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 SourceMondayArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args SourceMondayArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args SourceMondayArgs
- 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 sourceMondayResource = new Airbyte.SourceMonday("sourceMondayResource", new()
{
    Configuration = new Airbyte.Inputs.SourceMondayConfigurationArgs
    {
        Credentials = new Airbyte.Inputs.SourceMondayConfigurationCredentialsArgs
        {
            ApiToken = new Airbyte.Inputs.SourceMondayConfigurationCredentialsApiTokenArgs
            {
                ApiToken = "string",
            },
            OAuth20 = new Airbyte.Inputs.SourceMondayConfigurationCredentialsOAuth20Args
            {
                AccessToken = "string",
                ClientId = "string",
                ClientSecret = "string",
                Subdomain = "string",
            },
        },
    },
    WorkspaceId = "string",
    DefinitionId = "string",
    Name = "string",
    SecretId = "string",
});
example, err := airbyte.NewSourceMonday(ctx, "sourceMondayResource", &airbyte.SourceMondayArgs{
Configuration: &.SourceMondayConfigurationArgs{
Credentials: &.SourceMondayConfigurationCredentialsArgs{
ApiToken: &.SourceMondayConfigurationCredentialsApiTokenArgs{
ApiToken: pulumi.String("string"),
},
OAuth20: &.SourceMondayConfigurationCredentialsOAuth20Args{
AccessToken: pulumi.String("string"),
ClientId: pulumi.String("string"),
ClientSecret: pulumi.String("string"),
Subdomain: pulumi.String("string"),
},
},
},
WorkspaceId: pulumi.String("string"),
DefinitionId: pulumi.String("string"),
Name: pulumi.String("string"),
SecretId: pulumi.String("string"),
})
var sourceMondayResource = new SourceMonday("sourceMondayResource", SourceMondayArgs.builder()
    .configuration(SourceMondayConfigurationArgs.builder()
        .credentials(SourceMondayConfigurationCredentialsArgs.builder()
            .apiToken(SourceMondayConfigurationCredentialsApiTokenArgs.builder()
                .apiToken("string")
                .build())
            .oAuth20(SourceMondayConfigurationCredentialsOAuth20Args.builder()
                .accessToken("string")
                .clientId("string")
                .clientSecret("string")
                .subdomain("string")
                .build())
            .build())
        .build())
    .workspaceId("string")
    .definitionId("string")
    .name("string")
    .secretId("string")
    .build());
source_monday_resource = airbyte.SourceMonday("sourceMondayResource",
    configuration={
        "credentials": {
            "api_token": {
                "api_token": "string",
            },
            "o_auth20": {
                "access_token": "string",
                "client_id": "string",
                "client_secret": "string",
                "subdomain": "string",
            },
        },
    },
    workspace_id="string",
    definition_id="string",
    name="string",
    secret_id="string")
const sourceMondayResource = new airbyte.SourceMonday("sourceMondayResource", {
    configuration: {
        credentials: {
            apiToken: {
                apiToken: "string",
            },
            oAuth20: {
                accessToken: "string",
                clientId: "string",
                clientSecret: "string",
                subdomain: "string",
            },
        },
    },
    workspaceId: "string",
    definitionId: "string",
    name: "string",
    secretId: "string",
});
type: airbyte:SourceMonday
properties:
    configuration:
        credentials:
            apiToken:
                apiToken: string
            oAuth20:
                accessToken: string
                clientId: string
                clientSecret: string
                subdomain: string
    definitionId: string
    name: string
    secretId: string
    workspaceId: string
SourceMonday 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 SourceMonday resource accepts the following input properties:
- Configuration
SourceMonday Configuration 
- WorkspaceId string
- DefinitionId string
- The UUID of the connector definition. One of configuration.sourceType or definitionId must be provided. Requires replacement if changed.
- Name string
- Name of the source e.g. dev-mysql-instance.
- SecretId string
- Optional secretID obtained through the public API OAuth redirect flow. Requires replacement if changed.
- Configuration
SourceMonday Configuration Args 
- WorkspaceId string
- DefinitionId string
- The UUID of the connector definition. One of configuration.sourceType or definitionId must be provided. Requires replacement if changed.
- Name string
- Name of the source e.g. dev-mysql-instance.
- SecretId string
- Optional secretID obtained through the public API OAuth redirect flow. Requires replacement if changed.
- configuration
SourceMonday Configuration 
- workspaceId String
- definitionId String
- The UUID of the connector definition. One of configuration.sourceType or definitionId must be provided. Requires replacement if changed.
- name String
- Name of the source e.g. dev-mysql-instance.
- secretId String
- Optional secretID obtained through the public API OAuth redirect flow. Requires replacement if changed.
- configuration
SourceMonday Configuration 
- workspaceId string
- definitionId string
- The UUID of the connector definition. One of configuration.sourceType or definitionId must be provided. Requires replacement if changed.
- name string
- Name of the source e.g. dev-mysql-instance.
- secretId string
- Optional secretID obtained through the public API OAuth redirect flow. Requires replacement if changed.
- configuration
SourceMonday Configuration Args 
- workspace_id str
- definition_id str
- The UUID of the connector definition. One of configuration.sourceType or definitionId must be provided. Requires replacement if changed.
- name str
- Name of the source e.g. dev-mysql-instance.
- secret_id str
- Optional secretID obtained through the public API OAuth redirect flow. Requires replacement if changed.
- configuration Property Map
- workspaceId String
- definitionId String
- The UUID of the connector definition. One of configuration.sourceType or definitionId must be provided. Requires replacement if changed.
- name String
- Name of the source e.g. dev-mysql-instance.
- secretId String
- Optional secretID obtained through the public API OAuth redirect flow. Requires replacement if changed.
Outputs
All input properties are implicitly available as output properties. Additionally, the SourceMonday resource produces the following output properties:
- CreatedAt double
- Id string
- The provider-assigned unique ID for this managed resource.
- SourceId string
- SourceType string
- CreatedAt float64
- Id string
- The provider-assigned unique ID for this managed resource.
- SourceId string
- SourceType string
- createdAt Double
- id String
- The provider-assigned unique ID for this managed resource.
- sourceId String
- sourceType String
- createdAt number
- id string
- The provider-assigned unique ID for this managed resource.
- sourceId string
- sourceType string
- created_at float
- id str
- The provider-assigned unique ID for this managed resource.
- source_id str
- source_type str
- createdAt Number
- id String
- The provider-assigned unique ID for this managed resource.
- sourceId String
- sourceType String
Look up Existing SourceMonday Resource
Get an existing SourceMonday 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?: SourceMondayState, opts?: CustomResourceOptions): SourceMonday@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        configuration: Optional[SourceMondayConfigurationArgs] = None,
        created_at: Optional[float] = None,
        definition_id: Optional[str] = None,
        name: Optional[str] = None,
        secret_id: Optional[str] = None,
        source_id: Optional[str] = None,
        source_type: Optional[str] = None,
        workspace_id: Optional[str] = None) -> SourceMondayfunc GetSourceMonday(ctx *Context, name string, id IDInput, state *SourceMondayState, opts ...ResourceOption) (*SourceMonday, error)public static SourceMonday Get(string name, Input<string> id, SourceMondayState? state, CustomResourceOptions? opts = null)public static SourceMonday get(String name, Output<String> id, SourceMondayState state, CustomResourceOptions options)resources:  _:    type: airbyte:SourceMonday    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.
- Configuration
SourceMonday Configuration 
- CreatedAt double
- DefinitionId string
- The UUID of the connector definition. One of configuration.sourceType or definitionId must be provided. Requires replacement if changed.
- Name string
- Name of the source e.g. dev-mysql-instance.
- SecretId string
- Optional secretID obtained through the public API OAuth redirect flow. Requires replacement if changed.
- SourceId string
- SourceType string
- WorkspaceId string
- Configuration
SourceMonday Configuration Args 
- CreatedAt float64
- DefinitionId string
- The UUID of the connector definition. One of configuration.sourceType or definitionId must be provided. Requires replacement if changed.
- Name string
- Name of the source e.g. dev-mysql-instance.
- SecretId string
- Optional secretID obtained through the public API OAuth redirect flow. Requires replacement if changed.
- SourceId string
- SourceType string
- WorkspaceId string
- configuration
SourceMonday Configuration 
- createdAt Double
- definitionId String
- The UUID of the connector definition. One of configuration.sourceType or definitionId must be provided. Requires replacement if changed.
- name String
- Name of the source e.g. dev-mysql-instance.
- secretId String
- Optional secretID obtained through the public API OAuth redirect flow. Requires replacement if changed.
- sourceId String
- sourceType String
- workspaceId String
- configuration
SourceMonday Configuration 
- createdAt number
- definitionId string
- The UUID of the connector definition. One of configuration.sourceType or definitionId must be provided. Requires replacement if changed.
- name string
- Name of the source e.g. dev-mysql-instance.
- secretId string
- Optional secretID obtained through the public API OAuth redirect flow. Requires replacement if changed.
- sourceId string
- sourceType string
- workspaceId string
- configuration
SourceMonday Configuration Args 
- created_at float
- definition_id str
- The UUID of the connector definition. One of configuration.sourceType or definitionId must be provided. Requires replacement if changed.
- name str
- Name of the source e.g. dev-mysql-instance.
- secret_id str
- Optional secretID obtained through the public API OAuth redirect flow. Requires replacement if changed.
- source_id str
- source_type str
- workspace_id str
- configuration Property Map
- createdAt Number
- definitionId String
- The UUID of the connector definition. One of configuration.sourceType or definitionId must be provided. Requires replacement if changed.
- name String
- Name of the source e.g. dev-mysql-instance.
- secretId String
- Optional secretID obtained through the public API OAuth redirect flow. Requires replacement if changed.
- sourceId String
- sourceType String
- workspaceId String
Supporting Types
SourceMondayConfiguration, SourceMondayConfigurationArgs      
SourceMondayConfigurationCredentials, SourceMondayConfigurationCredentialsArgs        
SourceMondayConfigurationCredentialsApiToken, SourceMondayConfigurationCredentialsApiTokenArgs            
- ApiToken string
- API Token for making authenticated requests.
- ApiToken string
- API Token for making authenticated requests.
- apiToken String
- API Token for making authenticated requests.
- apiToken string
- API Token for making authenticated requests.
- api_token str
- API Token for making authenticated requests.
- apiToken String
- API Token for making authenticated requests.
SourceMondayConfigurationCredentialsOAuth20, SourceMondayConfigurationCredentialsOAuth20Args          
- AccessToken string
- Access Token for making authenticated requests.
- ClientId string
- The Client ID of your OAuth application.
- ClientSecret string
- The Client Secret of your OAuth application.
- Subdomain string
- Slug/subdomain of the account, or the first part of the URL that comes before .monday.com. Default: ""
- AccessToken string
- Access Token for making authenticated requests.
- ClientId string
- The Client ID of your OAuth application.
- ClientSecret string
- The Client Secret of your OAuth application.
- Subdomain string
- Slug/subdomain of the account, or the first part of the URL that comes before .monday.com. Default: ""
- accessToken String
- Access Token for making authenticated requests.
- clientId String
- The Client ID of your OAuth application.
- clientSecret String
- The Client Secret of your OAuth application.
- subdomain String
- Slug/subdomain of the account, or the first part of the URL that comes before .monday.com. Default: ""
- accessToken string
- Access Token for making authenticated requests.
- clientId string
- The Client ID of your OAuth application.
- clientSecret string
- The Client Secret of your OAuth application.
- subdomain string
- Slug/subdomain of the account, or the first part of the URL that comes before .monday.com. Default: ""
- access_token str
- Access Token for making authenticated requests.
- client_id str
- The Client ID of your OAuth application.
- client_secret str
- The Client Secret of your OAuth application.
- subdomain str
- Slug/subdomain of the account, or the first part of the URL that comes before .monday.com. Default: ""
- accessToken String
- Access Token for making authenticated requests.
- clientId String
- The Client ID of your OAuth application.
- clientSecret String
- The Client Secret of your OAuth application.
- subdomain String
- Slug/subdomain of the account, or the first part of the URL that comes before .monday.com. Default: ""
Import
$ pulumi import airbyte:index/sourceMonday:SourceMonday my_airbyte_source_monday ""
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- airbyte airbytehq/terraform-provider-airbyte
- License
- Notes
- This Pulumi package is based on the airbyteTerraform Provider.