airbyte.SourceStripe
Explore with Pulumi AI
SourceStripe Resource
Example Usage
Coming soon!
Coming soon!
Coming soon!
Coming soon!
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.airbyte.SourceStripe;
import com.pulumi.airbyte.SourceStripeArgs;
import com.pulumi.airbyte.inputs.SourceStripeConfigurationArgs;
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 mySourceStripe = new SourceStripe("mySourceStripe", SourceStripeArgs.builder()
            .configuration(SourceStripeConfigurationArgs.builder()
                .account_id("...my_account_id...")
                .call_rate_limit(25)
                .client_secret("...my_client_secret...")
                .lookback_window_days(4)
                .num_workers(1)
                .slice_range(1)
                .start_date("2017-01-25T00:00:00Z")
                .build())
            .definitionId("7281f9a2-e8d0-4a1c-9c43-ac663b447792")
            .secretId("...my_secret_id...")
            .workspaceId("94ac24f1-d3b4-46af-ace7-475d3264149a")
            .build());
    }
}
resources:
  mySourceStripe:
    type: airbyte:SourceStripe
    properties:
      configuration:
        account_id: '...my_account_id...'
        call_rate_limit: 25
        client_secret: '...my_client_secret...'
        lookback_window_days: 4
        num_workers: 1
        slice_range: 1
        start_date: 2017-01-25T00:00:00Z
      definitionId: 7281f9a2-e8d0-4a1c-9c43-ac663b447792
      secretId: '...my_secret_id...'
      workspaceId: 94ac24f1-d3b4-46af-ace7-475d3264149a
Create SourceStripe Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new SourceStripe(name: string, args: SourceStripeArgs, opts?: CustomResourceOptions);@overload
def SourceStripe(resource_name: str,
                 args: SourceStripeArgs,
                 opts: Optional[ResourceOptions] = None)
@overload
def SourceStripe(resource_name: str,
                 opts: Optional[ResourceOptions] = None,
                 configuration: Optional[SourceStripeConfigurationArgs] = None,
                 workspace_id: Optional[str] = None,
                 definition_id: Optional[str] = None,
                 name: Optional[str] = None,
                 secret_id: Optional[str] = None)func NewSourceStripe(ctx *Context, name string, args SourceStripeArgs, opts ...ResourceOption) (*SourceStripe, error)public SourceStripe(string name, SourceStripeArgs args, CustomResourceOptions? opts = null)
public SourceStripe(String name, SourceStripeArgs args)
public SourceStripe(String name, SourceStripeArgs args, CustomResourceOptions options)
type: airbyte:SourceStripe
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 SourceStripeArgs
- 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 SourceStripeArgs
- 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 SourceStripeArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args SourceStripeArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args SourceStripeArgs
- 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 sourceStripeResource = new Airbyte.SourceStripe("sourceStripeResource", new()
{
    Configuration = new Airbyte.Inputs.SourceStripeConfigurationArgs
    {
        AccountId = "string",
        ClientSecret = "string",
        CallRateLimit = 0,
        LookbackWindowDays = 0,
        NumWorkers = 0,
        SliceRange = 0,
        StartDate = "string",
    },
    WorkspaceId = "string",
    DefinitionId = "string",
    Name = "string",
    SecretId = "string",
});
example, err := airbyte.NewSourceStripe(ctx, "sourceStripeResource", &airbyte.SourceStripeArgs{
Configuration: &.SourceStripeConfigurationArgs{
AccountId: pulumi.String("string"),
ClientSecret: pulumi.String("string"),
CallRateLimit: pulumi.Float64(0),
LookbackWindowDays: pulumi.Float64(0),
NumWorkers: pulumi.Float64(0),
SliceRange: pulumi.Float64(0),
StartDate: pulumi.String("string"),
},
WorkspaceId: pulumi.String("string"),
DefinitionId: pulumi.String("string"),
Name: pulumi.String("string"),
SecretId: pulumi.String("string"),
})
var sourceStripeResource = new SourceStripe("sourceStripeResource", SourceStripeArgs.builder()
    .configuration(SourceStripeConfigurationArgs.builder()
        .accountId("string")
        .clientSecret("string")
        .callRateLimit(0)
        .lookbackWindowDays(0)
        .numWorkers(0)
        .sliceRange(0)
        .startDate("string")
        .build())
    .workspaceId("string")
    .definitionId("string")
    .name("string")
    .secretId("string")
    .build());
source_stripe_resource = airbyte.SourceStripe("sourceStripeResource",
    configuration={
        "account_id": "string",
        "client_secret": "string",
        "call_rate_limit": 0,
        "lookback_window_days": 0,
        "num_workers": 0,
        "slice_range": 0,
        "start_date": "string",
    },
    workspace_id="string",
    definition_id="string",
    name="string",
    secret_id="string")
const sourceStripeResource = new airbyte.SourceStripe("sourceStripeResource", {
    configuration: {
        accountId: "string",
        clientSecret: "string",
        callRateLimit: 0,
        lookbackWindowDays: 0,
        numWorkers: 0,
        sliceRange: 0,
        startDate: "string",
    },
    workspaceId: "string",
    definitionId: "string",
    name: "string",
    secretId: "string",
});
type: airbyte:SourceStripe
properties:
    configuration:
        accountId: string
        callRateLimit: 0
        clientSecret: string
        lookbackWindowDays: 0
        numWorkers: 0
        sliceRange: 0
        startDate: string
    definitionId: string
    name: string
    secretId: string
    workspaceId: string
SourceStripe 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 SourceStripe resource accepts the following input properties:
- Configuration
SourceStripe 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
SourceStripe 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
SourceStripe 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
SourceStripe 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
SourceStripe 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 SourceStripe 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 SourceStripe Resource
Get an existing SourceStripe 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?: SourceStripeState, opts?: CustomResourceOptions): SourceStripe@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        configuration: Optional[SourceStripeConfigurationArgs] = 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) -> SourceStripefunc GetSourceStripe(ctx *Context, name string, id IDInput, state *SourceStripeState, opts ...ResourceOption) (*SourceStripe, error)public static SourceStripe Get(string name, Input<string> id, SourceStripeState? state, CustomResourceOptions? opts = null)public static SourceStripe get(String name, Output<String> id, SourceStripeState state, CustomResourceOptions options)resources:  _:    type: airbyte:SourceStripe    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
SourceStripe 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
SourceStripe 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
SourceStripe 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
SourceStripe 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
SourceStripe 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
SourceStripeConfiguration, SourceStripeConfigurationArgs      
- AccountId string
- Your Stripe account ID (starts with 'acct_', find yours \n\nhere\n\n).
- ClientSecret string
- Stripe API key (usually starts with 'sklive'; find yours \n\nhere\n\n).
- CallRate doubleLimit 
- The number of API calls per second that you allow connector to make. This value can not be bigger than real API call rate limit (https://stripe.com/docs/rate-limits). If not specified the default maximum is 25 and 100 calls per second for test and production tokens respectively.
- LookbackWindow doubleDays 
- When set, the connector will always re-export data from the past N days, where N is the value set here. This is useful if your data is frequently updated after creation. The Lookback Window only applies to streams that do not support event-based incremental syncs: Events, SetupAttempts, ShippingRates, BalanceTransactions, Files, FileLinks, Refunds. More info \n\nhere\n\n. Default: 0
- NumWorkers double
- The number of worker thread to use for the sync. The performance upper boundary depends on callratelimit setting and type of account. Default: 10
- SliceRange double
- The time increment used by the connector when requesting data from the Stripe API. The bigger the value is, the less requests will be made and faster the sync will be. On the other hand, the more seldom the state is persisted. Default: 365
- StartDate string
- UTC date and time in the format 2017-01-25T00:00:00Z. Only data generated after this date will be replicated. Default: "2017-01-25T00:00:00Z"
- AccountId string
- Your Stripe account ID (starts with 'acct_', find yours \n\nhere\n\n).
- ClientSecret string
- Stripe API key (usually starts with 'sklive'; find yours \n\nhere\n\n).
- CallRate float64Limit 
- The number of API calls per second that you allow connector to make. This value can not be bigger than real API call rate limit (https://stripe.com/docs/rate-limits). If not specified the default maximum is 25 and 100 calls per second for test and production tokens respectively.
- LookbackWindow float64Days 
- When set, the connector will always re-export data from the past N days, where N is the value set here. This is useful if your data is frequently updated after creation. The Lookback Window only applies to streams that do not support event-based incremental syncs: Events, SetupAttempts, ShippingRates, BalanceTransactions, Files, FileLinks, Refunds. More info \n\nhere\n\n. Default: 0
- NumWorkers float64
- The number of worker thread to use for the sync. The performance upper boundary depends on callratelimit setting and type of account. Default: 10
- SliceRange float64
- The time increment used by the connector when requesting data from the Stripe API. The bigger the value is, the less requests will be made and faster the sync will be. On the other hand, the more seldom the state is persisted. Default: 365
- StartDate string
- UTC date and time in the format 2017-01-25T00:00:00Z. Only data generated after this date will be replicated. Default: "2017-01-25T00:00:00Z"
- accountId String
- Your Stripe account ID (starts with 'acct_', find yours \n\nhere\n\n).
- clientSecret String
- Stripe API key (usually starts with 'sklive'; find yours \n\nhere\n\n).
- callRate DoubleLimit 
- The number of API calls per second that you allow connector to make. This value can not be bigger than real API call rate limit (https://stripe.com/docs/rate-limits). If not specified the default maximum is 25 and 100 calls per second for test and production tokens respectively.
- lookbackWindow DoubleDays 
- When set, the connector will always re-export data from the past N days, where N is the value set here. This is useful if your data is frequently updated after creation. The Lookback Window only applies to streams that do not support event-based incremental syncs: Events, SetupAttempts, ShippingRates, BalanceTransactions, Files, FileLinks, Refunds. More info \n\nhere\n\n. Default: 0
- numWorkers Double
- The number of worker thread to use for the sync. The performance upper boundary depends on callratelimit setting and type of account. Default: 10
- sliceRange Double
- The time increment used by the connector when requesting data from the Stripe API. The bigger the value is, the less requests will be made and faster the sync will be. On the other hand, the more seldom the state is persisted. Default: 365
- startDate String
- UTC date and time in the format 2017-01-25T00:00:00Z. Only data generated after this date will be replicated. Default: "2017-01-25T00:00:00Z"
- accountId string
- Your Stripe account ID (starts with 'acct_', find yours \n\nhere\n\n).
- clientSecret string
- Stripe API key (usually starts with 'sklive'; find yours \n\nhere\n\n).
- callRate numberLimit 
- The number of API calls per second that you allow connector to make. This value can not be bigger than real API call rate limit (https://stripe.com/docs/rate-limits). If not specified the default maximum is 25 and 100 calls per second for test and production tokens respectively.
- lookbackWindow numberDays 
- When set, the connector will always re-export data from the past N days, where N is the value set here. This is useful if your data is frequently updated after creation. The Lookback Window only applies to streams that do not support event-based incremental syncs: Events, SetupAttempts, ShippingRates, BalanceTransactions, Files, FileLinks, Refunds. More info \n\nhere\n\n. Default: 0
- numWorkers number
- The number of worker thread to use for the sync. The performance upper boundary depends on callratelimit setting and type of account. Default: 10
- sliceRange number
- The time increment used by the connector when requesting data from the Stripe API. The bigger the value is, the less requests will be made and faster the sync will be. On the other hand, the more seldom the state is persisted. Default: 365
- startDate string
- UTC date and time in the format 2017-01-25T00:00:00Z. Only data generated after this date will be replicated. Default: "2017-01-25T00:00:00Z"
- account_id str
- Your Stripe account ID (starts with 'acct_', find yours \n\nhere\n\n).
- client_secret str
- Stripe API key (usually starts with 'sklive'; find yours \n\nhere\n\n).
- call_rate_ floatlimit 
- The number of API calls per second that you allow connector to make. This value can not be bigger than real API call rate limit (https://stripe.com/docs/rate-limits). If not specified the default maximum is 25 and 100 calls per second for test and production tokens respectively.
- lookback_window_ floatdays 
- When set, the connector will always re-export data from the past N days, where N is the value set here. This is useful if your data is frequently updated after creation. The Lookback Window only applies to streams that do not support event-based incremental syncs: Events, SetupAttempts, ShippingRates, BalanceTransactions, Files, FileLinks, Refunds. More info \n\nhere\n\n. Default: 0
- num_workers float
- The number of worker thread to use for the sync. The performance upper boundary depends on callratelimit setting and type of account. Default: 10
- slice_range float
- The time increment used by the connector when requesting data from the Stripe API. The bigger the value is, the less requests will be made and faster the sync will be. On the other hand, the more seldom the state is persisted. Default: 365
- start_date str
- UTC date and time in the format 2017-01-25T00:00:00Z. Only data generated after this date will be replicated. Default: "2017-01-25T00:00:00Z"
- accountId String
- Your Stripe account ID (starts with 'acct_', find yours \n\nhere\n\n).
- clientSecret String
- Stripe API key (usually starts with 'sklive'; find yours \n\nhere\n\n).
- callRate NumberLimit 
- The number of API calls per second that you allow connector to make. This value can not be bigger than real API call rate limit (https://stripe.com/docs/rate-limits). If not specified the default maximum is 25 and 100 calls per second for test and production tokens respectively.
- lookbackWindow NumberDays 
- When set, the connector will always re-export data from the past N days, where N is the value set here. This is useful if your data is frequently updated after creation. The Lookback Window only applies to streams that do not support event-based incremental syncs: Events, SetupAttempts, ShippingRates, BalanceTransactions, Files, FileLinks, Refunds. More info \n\nhere\n\n. Default: 0
- numWorkers Number
- The number of worker thread to use for the sync. The performance upper boundary depends on callratelimit setting and type of account. Default: 10
- sliceRange Number
- The time increment used by the connector when requesting data from the Stripe API. The bigger the value is, the less requests will be made and faster the sync will be. On the other hand, the more seldom the state is persisted. Default: 365
- startDate String
- UTC date and time in the format 2017-01-25T00:00:00Z. Only data generated after this date will be replicated. Default: "2017-01-25T00:00:00Z"
Import
$ pulumi import airbyte:index/sourceStripe:SourceStripe my_airbyte_source_stripe ""
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.