SourceSlack Resource
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as airbyte from "@pulumi/airbyte";
const mySourceSlack = new airbyte.SourceSlack("my_source_slack", {
configuration: {
additionalProperties: "{ \"see\": \"documentation\" }",
channelFilters: ["..."],
channelMessagesWindowSize: 30,
credentials: {
signInViaSlackOAuth: {
accessToken: "...my_access_token...",
clientId: "...my_client_id...",
clientSecret: "...my_client_secret...",
},
},
includePrivateChannels: false,
joinChannels: false,
lookbackWindow: 7,
numWorkers: 2,
startDate: "2017-01-25T00:00:00Z",
},
definitionId: "0e40c94d-0533-49a9-8fb8-ec1935c15487",
name: "...my_name...",
secretId: "...my_secret_id...",
workspaceId: "c0473aa4-957d-44db-ac2f-386282ba46e7",
});
import pulumi
import pulumi_airbyte as airbyte
my_source_slack = airbyte.SourceSlack("my_source_slack",
configuration={
"additional_properties": "{ \"see\": \"documentation\" }",
"channel_filters": ["..."],
"channel_messages_window_size": 30,
"credentials": {
"sign_in_via_slack_o_auth": {
"access_token": "...my_access_token...",
"client_id": "...my_client_id...",
"client_secret": "...my_client_secret...",
},
},
"include_private_channels": False,
"join_channels": False,
"lookback_window": 7,
"num_workers": 2,
"start_date": "2017-01-25T00:00:00Z",
},
definition_id="0e40c94d-0533-49a9-8fb8-ec1935c15487",
name="...my_name...",
secret_id="...my_secret_id...",
workspace_id="c0473aa4-957d-44db-ac2f-386282ba46e7")
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.NewSourceSlack(ctx, "my_source_slack", &airbyte.SourceSlackArgs{
Configuration: &airbyte.SourceSlackConfigurationArgs{
AdditionalProperties: pulumi.String("{ \"see\": \"documentation\" }"),
ChannelFilters: pulumi.StringArray{
pulumi.String("..."),
},
ChannelMessagesWindowSize: pulumi.Float64(30),
Credentials: &airbyte.SourceSlackConfigurationCredentialsArgs{
SignInViaSlackOAuth: &airbyte.SourceSlackConfigurationCredentialsSignInViaSlackOAuthArgs{
AccessToken: pulumi.String("...my_access_token..."),
ClientId: pulumi.String("...my_client_id..."),
ClientSecret: pulumi.String("...my_client_secret..."),
},
},
IncludePrivateChannels: pulumi.Bool(false),
JoinChannels: pulumi.Bool(false),
LookbackWindow: pulumi.Float64(7),
NumWorkers: pulumi.Float64(2),
StartDate: pulumi.String("2017-01-25T00:00:00Z"),
},
DefinitionId: pulumi.String("0e40c94d-0533-49a9-8fb8-ec1935c15487"),
Name: pulumi.String("...my_name..."),
SecretId: pulumi.String("...my_secret_id..."),
WorkspaceId: pulumi.String("c0473aa4-957d-44db-ac2f-386282ba46e7"),
})
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 mySourceSlack = new Airbyte.SourceSlack("my_source_slack", new()
{
Configuration = new Airbyte.Inputs.SourceSlackConfigurationArgs
{
AdditionalProperties = "{ \"see\": \"documentation\" }",
ChannelFilters = new[]
{
"...",
},
ChannelMessagesWindowSize = 30,
Credentials = new Airbyte.Inputs.SourceSlackConfigurationCredentialsArgs
{
SignInViaSlackOAuth = new Airbyte.Inputs.SourceSlackConfigurationCredentialsSignInViaSlackOAuthArgs
{
AccessToken = "...my_access_token...",
ClientId = "...my_client_id...",
ClientSecret = "...my_client_secret...",
},
},
IncludePrivateChannels = false,
JoinChannels = false,
LookbackWindow = 7,
NumWorkers = 2,
StartDate = "2017-01-25T00:00:00Z",
},
DefinitionId = "0e40c94d-0533-49a9-8fb8-ec1935c15487",
Name = "...my_name...",
SecretId = "...my_secret_id...",
WorkspaceId = "c0473aa4-957d-44db-ac2f-386282ba46e7",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.airbyte.SourceSlack;
import com.pulumi.airbyte.SourceSlackArgs;
import com.pulumi.airbyte.inputs.SourceSlackConfigurationArgs;
import com.pulumi.airbyte.inputs.SourceSlackConfigurationCredentialsArgs;
import com.pulumi.airbyte.inputs.SourceSlackConfigurationCredentialsSignInViaSlackOAuthArgs;
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 mySourceSlack = new SourceSlack("mySourceSlack", SourceSlackArgs.builder()
.configuration(SourceSlackConfigurationArgs.builder()
.additionalProperties("{ \"see\": \"documentation\" }")
.channelFilters("...")
.channelMessagesWindowSize(30.0)
.credentials(SourceSlackConfigurationCredentialsArgs.builder()
.signInViaSlackOAuth(SourceSlackConfigurationCredentialsSignInViaSlackOAuthArgs.builder()
.accessToken("...my_access_token...")
.clientId("...my_client_id...")
.clientSecret("...my_client_secret...")
.build())
.build())
.includePrivateChannels(false)
.joinChannels(false)
.lookbackWindow(7.0)
.numWorkers(2.0)
.startDate("2017-01-25T00:00:00Z")
.build())
.definitionId("0e40c94d-0533-49a9-8fb8-ec1935c15487")
.name("...my_name...")
.secretId("...my_secret_id...")
.workspaceId("c0473aa4-957d-44db-ac2f-386282ba46e7")
.build());
}
}
resources:
mySourceSlack:
type: airbyte:SourceSlack
name: my_source_slack
properties:
configuration:
additionalProperties: '{ "see": "documentation" }'
channelFilters:
- '...'
channelMessagesWindowSize: 30
credentials:
signInViaSlackOAuth:
accessToken: '...my_access_token...'
clientId: '...my_client_id...'
clientSecret: '...my_client_secret...'
includePrivateChannels: false
joinChannels: false
lookbackWindow: 7
numWorkers: 2
startDate: 2017-01-25T00:00:00Z
definitionId: 0e40c94d-0533-49a9-8fb8-ec1935c15487
name: '...my_name...'
secretId: '...my_secret_id...'
workspaceId: c0473aa4-957d-44db-ac2f-386282ba46e7
Create SourceSlack Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new SourceSlack(name: string, args: SourceSlackArgs, opts?: CustomResourceOptions);@overload
def SourceSlack(resource_name: str,
args: SourceSlackArgs,
opts: Optional[ResourceOptions] = None)
@overload
def SourceSlack(resource_name: str,
opts: Optional[ResourceOptions] = None,
configuration: Optional[SourceSlackConfigurationArgs] = None,
workspace_id: Optional[str] = None,
definition_id: Optional[str] = None,
name: Optional[str] = None,
secret_id: Optional[str] = None)func NewSourceSlack(ctx *Context, name string, args SourceSlackArgs, opts ...ResourceOption) (*SourceSlack, error)public SourceSlack(string name, SourceSlackArgs args, CustomResourceOptions? opts = null)
public SourceSlack(String name, SourceSlackArgs args)
public SourceSlack(String name, SourceSlackArgs args, CustomResourceOptions options)
type: airbyte:SourceSlack
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 SourceSlackArgs
- 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 SourceSlackArgs
- 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 SourceSlackArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args SourceSlackArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args SourceSlackArgs
- 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 sourceSlackResource = new Airbyte.SourceSlack("sourceSlackResource", new()
{
Configuration = new Airbyte.Inputs.SourceSlackConfigurationArgs
{
StartDate = "string",
AdditionalProperties = "string",
ChannelFilters = new[]
{
"string",
},
ChannelMessagesWindowSize = 0,
Credentials = new Airbyte.Inputs.SourceSlackConfigurationCredentialsArgs
{
ApiToken = new Airbyte.Inputs.SourceSlackConfigurationCredentialsApiTokenArgs
{
ApiToken = "string",
},
SignInViaSlackOAuth = new Airbyte.Inputs.SourceSlackConfigurationCredentialsSignInViaSlackOAuthArgs
{
AccessToken = "string",
ClientId = "string",
ClientSecret = "string",
},
},
IncludePrivateChannels = false,
JoinChannels = false,
LookbackWindow = 0,
NumWorkers = 0,
},
WorkspaceId = "string",
DefinitionId = "string",
Name = "string",
SecretId = "string",
});
example, err := airbyte.NewSourceSlack(ctx, "sourceSlackResource", &airbyte.SourceSlackArgs{
Configuration: &airbyte.SourceSlackConfigurationArgs{
StartDate: pulumi.String("string"),
AdditionalProperties: pulumi.String("string"),
ChannelFilters: pulumi.StringArray{
pulumi.String("string"),
},
ChannelMessagesWindowSize: pulumi.Float64(0),
Credentials: &airbyte.SourceSlackConfigurationCredentialsArgs{
ApiToken: &airbyte.SourceSlackConfigurationCredentialsApiTokenArgs{
ApiToken: pulumi.String("string"),
},
SignInViaSlackOAuth: &airbyte.SourceSlackConfigurationCredentialsSignInViaSlackOAuthArgs{
AccessToken: pulumi.String("string"),
ClientId: pulumi.String("string"),
ClientSecret: pulumi.String("string"),
},
},
IncludePrivateChannels: pulumi.Bool(false),
JoinChannels: pulumi.Bool(false),
LookbackWindow: pulumi.Float64(0),
NumWorkers: pulumi.Float64(0),
},
WorkspaceId: pulumi.String("string"),
DefinitionId: pulumi.String("string"),
Name: pulumi.String("string"),
SecretId: pulumi.String("string"),
})
var sourceSlackResource = new SourceSlack("sourceSlackResource", SourceSlackArgs.builder()
.configuration(SourceSlackConfigurationArgs.builder()
.startDate("string")
.additionalProperties("string")
.channelFilters("string")
.channelMessagesWindowSize(0.0)
.credentials(SourceSlackConfigurationCredentialsArgs.builder()
.apiToken(SourceSlackConfigurationCredentialsApiTokenArgs.builder()
.apiToken("string")
.build())
.signInViaSlackOAuth(SourceSlackConfigurationCredentialsSignInViaSlackOAuthArgs.builder()
.accessToken("string")
.clientId("string")
.clientSecret("string")
.build())
.build())
.includePrivateChannels(false)
.joinChannels(false)
.lookbackWindow(0.0)
.numWorkers(0.0)
.build())
.workspaceId("string")
.definitionId("string")
.name("string")
.secretId("string")
.build());
source_slack_resource = airbyte.SourceSlack("sourceSlackResource",
configuration={
"start_date": "string",
"additional_properties": "string",
"channel_filters": ["string"],
"channel_messages_window_size": 0,
"credentials": {
"api_token": {
"api_token": "string",
},
"sign_in_via_slack_o_auth": {
"access_token": "string",
"client_id": "string",
"client_secret": "string",
},
},
"include_private_channels": False,
"join_channels": False,
"lookback_window": 0,
"num_workers": 0,
},
workspace_id="string",
definition_id="string",
name="string",
secret_id="string")
const sourceSlackResource = new airbyte.SourceSlack("sourceSlackResource", {
configuration: {
startDate: "string",
additionalProperties: "string",
channelFilters: ["string"],
channelMessagesWindowSize: 0,
credentials: {
apiToken: {
apiToken: "string",
},
signInViaSlackOAuth: {
accessToken: "string",
clientId: "string",
clientSecret: "string",
},
},
includePrivateChannels: false,
joinChannels: false,
lookbackWindow: 0,
numWorkers: 0,
},
workspaceId: "string",
definitionId: "string",
name: "string",
secretId: "string",
});
type: airbyte:SourceSlack
properties:
configuration:
additionalProperties: string
channelFilters:
- string
channelMessagesWindowSize: 0
credentials:
apiToken:
apiToken: string
signInViaSlackOAuth:
accessToken: string
clientId: string
clientSecret: string
includePrivateChannels: false
joinChannels: false
lookbackWindow: 0
numWorkers: 0
startDate: string
definitionId: string
name: string
secretId: string
workspaceId: string
SourceSlack 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 SourceSlack resource accepts the following input properties:
- Configuration
Source
Slack Configuration - The values required to configure the source. The schema for this must match the schema return by sourcedefinitionspecifications/get for the source.
- Workspace
Id string - Definition
Id string - The UUID of the connector definition. One of configuration.sourceType or definitionId must be provided. Default: "c2281cee-86f9-4a86-bb48-d23286b4c7bd"; Requires replacement if changed.
- Name string
- Name of the source e.g. dev-mysql-instance.
- Secret
Id string - Optional secretID obtained through the public API OAuth redirect flow. Requires replacement if changed.
- Configuration
Source
Slack Configuration Args - The values required to configure the source. The schema for this must match the schema return by sourcedefinitionspecifications/get for the source.
- Workspace
Id string - Definition
Id string - The UUID of the connector definition. One of configuration.sourceType or definitionId must be provided. Default: "c2281cee-86f9-4a86-bb48-d23286b4c7bd"; Requires replacement if changed.
- Name string
- Name of the source e.g. dev-mysql-instance.
- Secret
Id string - Optional secretID obtained through the public API OAuth redirect flow. Requires replacement if changed.
- configuration
Source
Slack Configuration - The values required to configure the source. The schema for this must match the schema return by sourcedefinitionspecifications/get for the source.
- workspace
Id String - definition
Id String - The UUID of the connector definition. One of configuration.sourceType or definitionId must be provided. Default: "c2281cee-86f9-4a86-bb48-d23286b4c7bd"; Requires replacement if changed.
- name String
- Name of the source e.g. dev-mysql-instance.
- secret
Id String - Optional secretID obtained through the public API OAuth redirect flow. Requires replacement if changed.
- configuration
Source
Slack Configuration - The values required to configure the source. The schema for this must match the schema return by sourcedefinitionspecifications/get for the source.
- workspace
Id string - definition
Id string - The UUID of the connector definition. One of configuration.sourceType or definitionId must be provided. Default: "c2281cee-86f9-4a86-bb48-d23286b4c7bd"; Requires replacement if changed.
- name string
- Name of the source e.g. dev-mysql-instance.
- secret
Id string - Optional secretID obtained through the public API OAuth redirect flow. Requires replacement if changed.
- configuration
Source
Slack Configuration Args - The values required to configure the source. The schema for this must match the schema return by sourcedefinitionspecifications/get for the source.
- workspace_
id str - definition_
id str - The UUID of the connector definition. One of configuration.sourceType or definitionId must be provided. Default: "c2281cee-86f9-4a86-bb48-d23286b4c7bd"; 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
- The values required to configure the source. The schema for this must match the schema return by sourcedefinitionspecifications/get for the source.
- workspace
Id String - definition
Id String - The UUID of the connector definition. One of configuration.sourceType or definitionId must be provided. Default: "c2281cee-86f9-4a86-bb48-d23286b4c7bd"; Requires replacement if changed.
- name String
- Name of the source e.g. dev-mysql-instance.
- secret
Id 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 SourceSlack resource produces the following output properties:
- Created
At double - Id string
- The provider-assigned unique ID for this managed resource.
- Resource
Allocation SourceSlack Resource Allocation - actor or actor definition specific resource requirements. if default is set, these are the requirements that should be set for ALL jobs run for this actor definition. it is overriden by the job type specific configurations. if not set, the platform will use defaults. these values will be overriden by configuration at the connection level.
- Source
Id string - Source
Type string
- Created
At float64 - Id string
- The provider-assigned unique ID for this managed resource.
- Resource
Allocation SourceSlack Resource Allocation - actor or actor definition specific resource requirements. if default is set, these are the requirements that should be set for ALL jobs run for this actor definition. it is overriden by the job type specific configurations. if not set, the platform will use defaults. these values will be overriden by configuration at the connection level.
- Source
Id string - Source
Type string
- created
At Double - id String
- The provider-assigned unique ID for this managed resource.
- resource
Allocation SourceSlack Resource Allocation - actor or actor definition specific resource requirements. if default is set, these are the requirements that should be set for ALL jobs run for this actor definition. it is overriden by the job type specific configurations. if not set, the platform will use defaults. these values will be overriden by configuration at the connection level.
- source
Id String - source
Type String
- created
At number - id string
- The provider-assigned unique ID for this managed resource.
- resource
Allocation SourceSlack Resource Allocation - actor or actor definition specific resource requirements. if default is set, these are the requirements that should be set for ALL jobs run for this actor definition. it is overriden by the job type specific configurations. if not set, the platform will use defaults. these values will be overriden by configuration at the connection level.
- source
Id string - source
Type string
- created_
at float - id str
- The provider-assigned unique ID for this managed resource.
- resource_
allocation SourceSlack Resource Allocation - actor or actor definition specific resource requirements. if default is set, these are the requirements that should be set for ALL jobs run for this actor definition. it is overriden by the job type specific configurations. if not set, the platform will use defaults. these values will be overriden by configuration at the connection level.
- source_
id str - source_
type str
- created
At Number - id String
- The provider-assigned unique ID for this managed resource.
- resource
Allocation Property Map - actor or actor definition specific resource requirements. if default is set, these are the requirements that should be set for ALL jobs run for this actor definition. it is overriden by the job type specific configurations. if not set, the platform will use defaults. these values will be overriden by configuration at the connection level.
- source
Id String - source
Type String
Look up Existing SourceSlack Resource
Get an existing SourceSlack 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?: SourceSlackState, opts?: CustomResourceOptions): SourceSlack@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
configuration: Optional[SourceSlackConfigurationArgs] = None,
created_at: Optional[float] = None,
definition_id: Optional[str] = None,
name: Optional[str] = None,
resource_allocation: Optional[SourceSlackResourceAllocationArgs] = None,
secret_id: Optional[str] = None,
source_id: Optional[str] = None,
source_type: Optional[str] = None,
workspace_id: Optional[str] = None) -> SourceSlackfunc GetSourceSlack(ctx *Context, name string, id IDInput, state *SourceSlackState, opts ...ResourceOption) (*SourceSlack, error)public static SourceSlack Get(string name, Input<string> id, SourceSlackState? state, CustomResourceOptions? opts = null)public static SourceSlack get(String name, Output<String> id, SourceSlackState state, CustomResourceOptions options)resources: _: type: airbyte:SourceSlack 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
Source
Slack Configuration - The values required to configure the source. The schema for this must match the schema return by sourcedefinitionspecifications/get for the source.
- Created
At double - Definition
Id string - The UUID of the connector definition. One of configuration.sourceType or definitionId must be provided. Default: "c2281cee-86f9-4a86-bb48-d23286b4c7bd"; Requires replacement if changed.
- Name string
- Name of the source e.g. dev-mysql-instance.
- Resource
Allocation SourceSlack Resource Allocation - actor or actor definition specific resource requirements. if default is set, these are the requirements that should be set for ALL jobs run for this actor definition. it is overriden by the job type specific configurations. if not set, the platform will use defaults. these values will be overriden by configuration at the connection level.
- Secret
Id string - Optional secretID obtained through the public API OAuth redirect flow. Requires replacement if changed.
- Source
Id string - Source
Type string - Workspace
Id string
- Configuration
Source
Slack Configuration Args - The values required to configure the source. The schema for this must match the schema return by sourcedefinitionspecifications/get for the source.
- Created
At float64 - Definition
Id string - The UUID of the connector definition. One of configuration.sourceType or definitionId must be provided. Default: "c2281cee-86f9-4a86-bb48-d23286b4c7bd"; Requires replacement if changed.
- Name string
- Name of the source e.g. dev-mysql-instance.
- Resource
Allocation SourceSlack Resource Allocation Args - actor or actor definition specific resource requirements. if default is set, these are the requirements that should be set for ALL jobs run for this actor definition. it is overriden by the job type specific configurations. if not set, the platform will use defaults. these values will be overriden by configuration at the connection level.
- Secret
Id string - Optional secretID obtained through the public API OAuth redirect flow. Requires replacement if changed.
- Source
Id string - Source
Type string - Workspace
Id string
- configuration
Source
Slack Configuration - The values required to configure the source. The schema for this must match the schema return by sourcedefinitionspecifications/get for the source.
- created
At Double - definition
Id String - The UUID of the connector definition. One of configuration.sourceType or definitionId must be provided. Default: "c2281cee-86f9-4a86-bb48-d23286b4c7bd"; Requires replacement if changed.
- name String
- Name of the source e.g. dev-mysql-instance.
- resource
Allocation SourceSlack Resource Allocation - actor or actor definition specific resource requirements. if default is set, these are the requirements that should be set for ALL jobs run for this actor definition. it is overriden by the job type specific configurations. if not set, the platform will use defaults. these values will be overriden by configuration at the connection level.
- secret
Id String - Optional secretID obtained through the public API OAuth redirect flow. Requires replacement if changed.
- source
Id String - source
Type String - workspace
Id String
- configuration
Source
Slack Configuration - The values required to configure the source. The schema for this must match the schema return by sourcedefinitionspecifications/get for the source.
- created
At number - definition
Id string - The UUID of the connector definition. One of configuration.sourceType or definitionId must be provided. Default: "c2281cee-86f9-4a86-bb48-d23286b4c7bd"; Requires replacement if changed.
- name string
- Name of the source e.g. dev-mysql-instance.
- resource
Allocation SourceSlack Resource Allocation - actor or actor definition specific resource requirements. if default is set, these are the requirements that should be set for ALL jobs run for this actor definition. it is overriden by the job type specific configurations. if not set, the platform will use defaults. these values will be overriden by configuration at the connection level.
- secret
Id string - Optional secretID obtained through the public API OAuth redirect flow. Requires replacement if changed.
- source
Id string - source
Type string - workspace
Id string
- configuration
Source
Slack Configuration Args - The values required to configure the source. The schema for this must match the schema return by sourcedefinitionspecifications/get for the source.
- created_
at float - definition_
id str - The UUID of the connector definition. One of configuration.sourceType or definitionId must be provided. Default: "c2281cee-86f9-4a86-bb48-d23286b4c7bd"; Requires replacement if changed.
- name str
- Name of the source e.g. dev-mysql-instance.
- resource_
allocation SourceSlack Resource Allocation Args - actor or actor definition specific resource requirements. if default is set, these are the requirements that should be set for ALL jobs run for this actor definition. it is overriden by the job type specific configurations. if not set, the platform will use defaults. these values will be overriden by configuration at the connection level.
- 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
- The values required to configure the source. The schema for this must match the schema return by sourcedefinitionspecifications/get for the source.
- created
At Number - definition
Id String - The UUID of the connector definition. One of configuration.sourceType or definitionId must be provided. Default: "c2281cee-86f9-4a86-bb48-d23286b4c7bd"; Requires replacement if changed.
- name String
- Name of the source e.g. dev-mysql-instance.
- resource
Allocation Property Map - actor or actor definition specific resource requirements. if default is set, these are the requirements that should be set for ALL jobs run for this actor definition. it is overriden by the job type specific configurations. if not set, the platform will use defaults. these values will be overriden by configuration at the connection level.
- secret
Id String - Optional secretID obtained through the public API OAuth redirect flow. Requires replacement if changed.
- source
Id String - source
Type String - workspace
Id String
Supporting Types
SourceSlackConfiguration, SourceSlackConfigurationArgs
- Start
Date string - UTC date and time in the format 2017-01-25T00:00:00Z. Any data before this date will not be replicated.
- Additional
Properties string - Parsed as JSON.
- Channel
Filters List<string> - A channel name list (without leading '#' char) which limit the channels from which you'd like to sync. Empty list means no filter. Default: []
- Channel
Messages doubleWindow Size - The size (in days) of the date window that will be used while syncing data from the channel messages stream. A smaller window will allow for greater parallelization when syncing records, but can lead to rate limiting errors. Default: 100
- Credentials
Source
Slack Configuration Credentials - Choose how to authenticate into Slack
- Include
Private boolChannels - Whether to read information from private channels that the bot is already in. If false, only public channels will be read. If true, the bot must be manually added to private channels. Default: false
- Join
Channels bool - Whether to join all channels or to sync data only from channels the bot is already in. If false, you''ll need to manually add the bot to all the channels from which you''d like to sync messages. Default: true
- Lookback
Window double - How far into the past to look for messages in threads, default is 0 days. Default: 0
- Num
Workers double - The number of worker threads to use for the sync. Default: 2
- Start
Date string - UTC date and time in the format 2017-01-25T00:00:00Z. Any data before this date will not be replicated.
- Additional
Properties string - Parsed as JSON.
- Channel
Filters []string - A channel name list (without leading '#' char) which limit the channels from which you'd like to sync. Empty list means no filter. Default: []
- Channel
Messages float64Window Size - The size (in days) of the date window that will be used while syncing data from the channel messages stream. A smaller window will allow for greater parallelization when syncing records, but can lead to rate limiting errors. Default: 100
- Credentials
Source
Slack Configuration Credentials - Choose how to authenticate into Slack
- Include
Private boolChannels - Whether to read information from private channels that the bot is already in. If false, only public channels will be read. If true, the bot must be manually added to private channels. Default: false
- Join
Channels bool - Whether to join all channels or to sync data only from channels the bot is already in. If false, you''ll need to manually add the bot to all the channels from which you''d like to sync messages. Default: true
- Lookback
Window float64 - How far into the past to look for messages in threads, default is 0 days. Default: 0
- Num
Workers float64 - The number of worker threads to use for the sync. Default: 2
- start
Date String - UTC date and time in the format 2017-01-25T00:00:00Z. Any data before this date will not be replicated.
- additional
Properties String - Parsed as JSON.
- channel
Filters List<String> - A channel name list (without leading '#' char) which limit the channels from which you'd like to sync. Empty list means no filter. Default: []
- channel
Messages DoubleWindow Size - The size (in days) of the date window that will be used while syncing data from the channel messages stream. A smaller window will allow for greater parallelization when syncing records, but can lead to rate limiting errors. Default: 100
- credentials
Source
Slack Configuration Credentials - Choose how to authenticate into Slack
- include
Private BooleanChannels - Whether to read information from private channels that the bot is already in. If false, only public channels will be read. If true, the bot must be manually added to private channels. Default: false
- join
Channels Boolean - Whether to join all channels or to sync data only from channels the bot is already in. If false, you''ll need to manually add the bot to all the channels from which you''d like to sync messages. Default: true
- lookback
Window Double - How far into the past to look for messages in threads, default is 0 days. Default: 0
- num
Workers Double - The number of worker threads to use for the sync. Default: 2
- start
Date string - UTC date and time in the format 2017-01-25T00:00:00Z. Any data before this date will not be replicated.
- additional
Properties string - Parsed as JSON.
- channel
Filters string[] - A channel name list (without leading '#' char) which limit the channels from which you'd like to sync. Empty list means no filter. Default: []
- channel
Messages numberWindow Size - The size (in days) of the date window that will be used while syncing data from the channel messages stream. A smaller window will allow for greater parallelization when syncing records, but can lead to rate limiting errors. Default: 100
- credentials
Source
Slack Configuration Credentials - Choose how to authenticate into Slack
- include
Private booleanChannels - Whether to read information from private channels that the bot is already in. If false, only public channels will be read. If true, the bot must be manually added to private channels. Default: false
- join
Channels boolean - Whether to join all channels or to sync data only from channels the bot is already in. If false, you''ll need to manually add the bot to all the channels from which you''d like to sync messages. Default: true
- lookback
Window number - How far into the past to look for messages in threads, default is 0 days. Default: 0
- num
Workers number - The number of worker threads to use for the sync. Default: 2
- start_
date str - UTC date and time in the format 2017-01-25T00:00:00Z. Any data before this date will not be replicated.
- additional_
properties str - Parsed as JSON.
- channel_
filters Sequence[str] - A channel name list (without leading '#' char) which limit the channels from which you'd like to sync. Empty list means no filter. Default: []
- channel_
messages_ floatwindow_ size - The size (in days) of the date window that will be used while syncing data from the channel messages stream. A smaller window will allow for greater parallelization when syncing records, but can lead to rate limiting errors. Default: 100
- credentials
Source
Slack Configuration Credentials - Choose how to authenticate into Slack
- include_
private_ boolchannels - Whether to read information from private channels that the bot is already in. If false, only public channels will be read. If true, the bot must be manually added to private channels. Default: false
- join_
channels bool - Whether to join all channels or to sync data only from channels the bot is already in. If false, you''ll need to manually add the bot to all the channels from which you''d like to sync messages. Default: true
- lookback_
window float - How far into the past to look for messages in threads, default is 0 days. Default: 0
- num_
workers float - The number of worker threads to use for the sync. Default: 2
- start
Date String - UTC date and time in the format 2017-01-25T00:00:00Z. Any data before this date will not be replicated.
- additional
Properties String - Parsed as JSON.
- channel
Filters List<String> - A channel name list (without leading '#' char) which limit the channels from which you'd like to sync. Empty list means no filter. Default: []
- channel
Messages NumberWindow Size - The size (in days) of the date window that will be used while syncing data from the channel messages stream. A smaller window will allow for greater parallelization when syncing records, but can lead to rate limiting errors. Default: 100
- credentials Property Map
- Choose how to authenticate into Slack
- include
Private BooleanChannels - Whether to read information from private channels that the bot is already in. If false, only public channels will be read. If true, the bot must be manually added to private channels. Default: false
- join
Channels Boolean - Whether to join all channels or to sync data only from channels the bot is already in. If false, you''ll need to manually add the bot to all the channels from which you''d like to sync messages. Default: true
- lookback
Window Number - How far into the past to look for messages in threads, default is 0 days. Default: 0
- num
Workers Number - The number of worker threads to use for the sync. Default: 2
SourceSlackConfigurationCredentials, SourceSlackConfigurationCredentialsArgs
SourceSlackConfigurationCredentialsApiToken, SourceSlackConfigurationCredentialsApiTokenArgs
- Api
Token string - A Slack bot token. See the \n\ndocs\n\n for instructions on how to generate it.
- Api
Token string - A Slack bot token. See the \n\ndocs\n\n for instructions on how to generate it.
- api
Token String - A Slack bot token. See the \n\ndocs\n\n for instructions on how to generate it.
- api
Token string - A Slack bot token. See the \n\ndocs\n\n for instructions on how to generate it.
- api_
token str - A Slack bot token. See the \n\ndocs\n\n for instructions on how to generate it.
- api
Token String - A Slack bot token. See the \n\ndocs\n\n for instructions on how to generate it.
SourceSlackConfigurationCredentialsSignInViaSlackOAuth, SourceSlackConfigurationCredentialsSignInViaSlackOAuthArgs
- Access
Token string - Slack access_token. See our \n\ndocs\n\n if you need help generating the token.
- Client
Id string - Slack client_id. See our \n\ndocs\n\n if you need help finding this id.
- Client
Secret string - Slack client_secret. See our \n\ndocs\n\n if you need help finding this secret.
- Access
Token string - Slack access_token. See our \n\ndocs\n\n if you need help generating the token.
- Client
Id string - Slack client_id. See our \n\ndocs\n\n if you need help finding this id.
- Client
Secret string - Slack client_secret. See our \n\ndocs\n\n if you need help finding this secret.
- access
Token String - Slack access_token. See our \n\ndocs\n\n if you need help generating the token.
- client
Id String - Slack client_id. See our \n\ndocs\n\n if you need help finding this id.
- client
Secret String - Slack client_secret. See our \n\ndocs\n\n if you need help finding this secret.
- access
Token string - Slack access_token. See our \n\ndocs\n\n if you need help generating the token.
- client
Id string - Slack client_id. See our \n\ndocs\n\n if you need help finding this id.
- client
Secret string - Slack client_secret. See our \n\ndocs\n\n if you need help finding this secret.
- access_
token str - Slack access_token. See our \n\ndocs\n\n if you need help generating the token.
- client_
id str - Slack client_id. See our \n\ndocs\n\n if you need help finding this id.
- client_
secret str - Slack client_secret. See our \n\ndocs\n\n if you need help finding this secret.
- access
Token String - Slack access_token. See our \n\ndocs\n\n if you need help generating the token.
- client
Id String - Slack client_id. See our \n\ndocs\n\n if you need help finding this id.
- client
Secret String - Slack client_secret. See our \n\ndocs\n\n if you need help finding this secret.
SourceSlackResourceAllocation, SourceSlackResourceAllocationArgs
- Default
Source
Slack Resource Allocation Default - optional resource requirements to run workers (blank for unbounded allocations)
- Job
Specifics List<SourceSlack Resource Allocation Job Specific>
- Default
Source
Slack Resource Allocation Default - optional resource requirements to run workers (blank for unbounded allocations)
- Job
Specifics []SourceSlack Resource Allocation Job Specific
- default_
Source
Slack Resource Allocation Default - optional resource requirements to run workers (blank for unbounded allocations)
- job
Specifics List<SourceSlack Resource Allocation Job Specific>
- default
Source
Slack Resource Allocation Default - optional resource requirements to run workers (blank for unbounded allocations)
- job
Specifics SourceSlack Resource Allocation Job Specific[]
- default
Source
Slack Resource Allocation Default - optional resource requirements to run workers (blank for unbounded allocations)
- job_
specifics Sequence[SourceSlack Resource Allocation Job Specific]
- default Property Map
- optional resource requirements to run workers (blank for unbounded allocations)
- job
Specifics List<Property Map>
SourceSlackResourceAllocationDefault, SourceSlackResourceAllocationDefaultArgs
- Cpu
Limit string - Cpu
Request string - Ephemeral
Storage stringLimit - Ephemeral
Storage stringRequest - Memory
Limit string - Memory
Request string
- Cpu
Limit string - Cpu
Request string - Ephemeral
Storage stringLimit - Ephemeral
Storage stringRequest - Memory
Limit string - Memory
Request string
- cpu
Limit String - cpu
Request String - ephemeral
Storage StringLimit - ephemeral
Storage StringRequest - memory
Limit String - memory
Request String
- cpu
Limit string - cpu
Request string - ephemeral
Storage stringLimit - ephemeral
Storage stringRequest - memory
Limit string - memory
Request string
- cpu_
limit str - cpu_
request str - ephemeral_
storage_ strlimit - ephemeral_
storage_ strrequest - memory_
limit str - memory_
request str
- cpu
Limit String - cpu
Request String - ephemeral
Storage StringLimit - ephemeral
Storage StringRequest - memory
Limit String - memory
Request String
SourceSlackResourceAllocationJobSpecific, SourceSlackResourceAllocationJobSpecificArgs
- Job
Type string - enum that describes the different types of jobs that the platform runs.
- Resource
Requirements SourceSlack Resource Allocation Job Specific Resource Requirements - optional resource requirements to run workers (blank for unbounded allocations)
- Job
Type string - enum that describes the different types of jobs that the platform runs.
- Resource
Requirements SourceSlack Resource Allocation Job Specific Resource Requirements - optional resource requirements to run workers (blank for unbounded allocations)
- job
Type String - enum that describes the different types of jobs that the platform runs.
- resource
Requirements SourceSlack Resource Allocation Job Specific Resource Requirements - optional resource requirements to run workers (blank for unbounded allocations)
- job
Type string - enum that describes the different types of jobs that the platform runs.
- resource
Requirements SourceSlack Resource Allocation Job Specific Resource Requirements - optional resource requirements to run workers (blank for unbounded allocations)
- job_
type str - enum that describes the different types of jobs that the platform runs.
- resource_
requirements SourceSlack Resource Allocation Job Specific Resource Requirements - optional resource requirements to run workers (blank for unbounded allocations)
- job
Type String - enum that describes the different types of jobs that the platform runs.
- resource
Requirements Property Map - optional resource requirements to run workers (blank for unbounded allocations)
SourceSlackResourceAllocationJobSpecificResourceRequirements, SourceSlackResourceAllocationJobSpecificResourceRequirementsArgs
- Cpu
Limit string - Cpu
Request string - Ephemeral
Storage stringLimit - Ephemeral
Storage stringRequest - Memory
Limit string - Memory
Request string
- Cpu
Limit string - Cpu
Request string - Ephemeral
Storage stringLimit - Ephemeral
Storage stringRequest - Memory
Limit string - Memory
Request string
- cpu
Limit String - cpu
Request String - ephemeral
Storage StringLimit - ephemeral
Storage StringRequest - memory
Limit String - memory
Request String
- cpu
Limit string - cpu
Request string - ephemeral
Storage stringLimit - ephemeral
Storage stringRequest - memory
Limit string - memory
Request string
- cpu_
limit str - cpu_
request str - ephemeral_
storage_ strlimit - ephemeral_
storage_ strrequest - memory_
limit str - memory_
request str
- cpu
Limit String - cpu
Request String - ephemeral
Storage StringLimit - ephemeral
Storage StringRequest - memory
Limit String - memory
Request String
Import
In Terraform v1.5.0 and later, the import block can be used with the id attribute, for example:
terraform
import {
to = airbyte_source_slack.my_airbyte_source_slack
id = “…”
}
The pulumi import command can be used, for example:
$ pulumi import airbyte:index/sourceSlack:SourceSlack my_airbyte_source_slack "..."
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.
