airbyte.SourceChameleon
Explore with Pulumi AI
SourceChameleon 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.SourceChameleon;
import com.pulumi.airbyte.SourceChameleonArgs;
import com.pulumi.airbyte.inputs.SourceChameleonConfigurationArgs;
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 mySourceChameleon = new SourceChameleon("mySourceChameleon", SourceChameleonArgs.builder()
.configuration(SourceChameleonConfigurationArgs.builder()
.api_key("...my_api_key...")
.end_date("2022-10-06T08:02:50.190Z")
.filter("launcher")
.limit("...my_limit...")
.start_date("2020-01-18T12:12:48.535Z")
.build())
.definitionId("5cbe19ca-55b1-46e7-9f3a-468d4b26f900")
.secretId("...my_secret_id...")
.workspaceId("a1dd99e9-8adf-428a-ac07-dc3083920806")
.build());
}
}
resources:
mySourceChameleon:
type: airbyte:SourceChameleon
properties:
configuration:
api_key: '...my_api_key...'
end_date: 2022-10-06T08:02:50.190Z
filter: launcher
limit: '...my_limit...'
start_date: 2020-01-18T12:12:48.535Z
definitionId: 5cbe19ca-55b1-46e7-9f3a-468d4b26f900
secretId: '...my_secret_id...'
workspaceId: a1dd99e9-8adf-428a-ac07-dc3083920806
Create SourceChameleon Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new SourceChameleon(name: string, args: SourceChameleonArgs, opts?: CustomResourceOptions);
@overload
def SourceChameleon(resource_name: str,
args: SourceChameleonArgs,
opts: Optional[ResourceOptions] = None)
@overload
def SourceChameleon(resource_name: str,
opts: Optional[ResourceOptions] = None,
configuration: Optional[SourceChameleonConfigurationArgs] = None,
workspace_id: Optional[str] = None,
definition_id: Optional[str] = None,
name: Optional[str] = None,
secret_id: Optional[str] = None)
func NewSourceChameleon(ctx *Context, name string, args SourceChameleonArgs, opts ...ResourceOption) (*SourceChameleon, error)
public SourceChameleon(string name, SourceChameleonArgs args, CustomResourceOptions? opts = null)
public SourceChameleon(String name, SourceChameleonArgs args)
public SourceChameleon(String name, SourceChameleonArgs args, CustomResourceOptions options)
type: airbyte:SourceChameleon
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name
This property is required. string - The unique name of the resource.
- args
This property is required. SourceChameleonArgs - The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name
This property is required. str - The unique name of the resource.
- args
This property is required. SourceChameleonArgs - The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name
This property is required. string - The unique name of the resource.
- args
This property is required. SourceChameleonArgs - The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name
This property is required. string - The unique name of the resource.
- args
This property is required. SourceChameleonArgs - The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name
This property is required. String - The unique name of the resource.
- args
This property is required. SourceChameleonArgs - 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 sourceChameleonResource = new Airbyte.SourceChameleon("sourceChameleonResource", new()
{
Configuration = new Airbyte.Inputs.SourceChameleonConfigurationArgs
{
ApiKey = "string",
StartDate = "string",
EndDate = "string",
Filter = "string",
Limit = "string",
},
WorkspaceId = "string",
DefinitionId = "string",
Name = "string",
SecretId = "string",
});
example, err := airbyte.NewSourceChameleon(ctx, "sourceChameleonResource", &airbyte.SourceChameleonArgs{
Configuration: &.SourceChameleonConfigurationArgs{
ApiKey: pulumi.String("string"),
StartDate: pulumi.String("string"),
EndDate: pulumi.String("string"),
Filter: pulumi.String("string"),
Limit: pulumi.String("string"),
},
WorkspaceId: pulumi.String("string"),
DefinitionId: pulumi.String("string"),
Name: pulumi.String("string"),
SecretId: pulumi.String("string"),
})
var sourceChameleonResource = new SourceChameleon("sourceChameleonResource", SourceChameleonArgs.builder()
.configuration(SourceChameleonConfigurationArgs.builder()
.apiKey("string")
.startDate("string")
.endDate("string")
.filter("string")
.limit("string")
.build())
.workspaceId("string")
.definitionId("string")
.name("string")
.secretId("string")
.build());
source_chameleon_resource = airbyte.SourceChameleon("sourceChameleonResource",
configuration={
"api_key": "string",
"start_date": "string",
"end_date": "string",
"filter": "string",
"limit": "string",
},
workspace_id="string",
definition_id="string",
name="string",
secret_id="string")
const sourceChameleonResource = new airbyte.SourceChameleon("sourceChameleonResource", {
configuration: {
apiKey: "string",
startDate: "string",
endDate: "string",
filter: "string",
limit: "string",
},
workspaceId: "string",
definitionId: "string",
name: "string",
secretId: "string",
});
type: airbyte:SourceChameleon
properties:
configuration:
apiKey: string
endDate: string
filter: string
limit: string
startDate: string
definitionId: string
name: string
secretId: string
workspaceId: string
SourceChameleon 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 SourceChameleon resource accepts the following input properties:
- Configuration
This property is required. SourceChameleon Configuration - Workspace
Id This property is required. string - Definition
Id 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.
- Secret
Id string - Optional secretID obtained through the public API OAuth redirect flow. Requires replacement if changed.
- Configuration
This property is required. SourceChameleon Configuration Args - Workspace
Id This property is required. string - Definition
Id 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.
- Secret
Id string - Optional secretID obtained through the public API OAuth redirect flow. Requires replacement if changed.
- configuration
This property is required. SourceChameleon Configuration - workspace
Id This property is required. String - definition
Id 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.
- secret
Id String - Optional secretID obtained through the public API OAuth redirect flow. Requires replacement if changed.
- configuration
This property is required. SourceChameleon Configuration - workspace
Id This property is required. string - definition
Id 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.
- secret
Id string - Optional secretID obtained through the public API OAuth redirect flow. Requires replacement if changed.
- configuration
This property is required. SourceChameleon Configuration Args - workspace_
id This property is required. 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
This property is required. Property Map - workspace
Id This property is required. String - definition
Id 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.
- 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 SourceChameleon resource produces the following output properties:
- Created
At double - Id string
- The provider-assigned unique ID for this managed resource.
- Source
Id string - Source
Type string
- Created
At float64 - Id string
- The provider-assigned unique ID for this managed resource.
- Source
Id string - Source
Type string
- created
At Double - id String
- The provider-assigned unique ID for this managed resource.
- source
Id String - source
Type String
- created
At number - id string
- The provider-assigned unique ID for this managed resource.
- source
Id string - source
Type string
- created_
at float - id str
- The provider-assigned unique ID for this managed resource.
- source_
id str - source_
type str
- created
At Number - id String
- The provider-assigned unique ID for this managed resource.
- source
Id String - source
Type String
Look up Existing SourceChameleon Resource
Get an existing SourceChameleon 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?: SourceChameleonState, opts?: CustomResourceOptions): SourceChameleon
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
configuration: Optional[SourceChameleonConfigurationArgs] = 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) -> SourceChameleon
func GetSourceChameleon(ctx *Context, name string, id IDInput, state *SourceChameleonState, opts ...ResourceOption) (*SourceChameleon, error)
public static SourceChameleon Get(string name, Input<string> id, SourceChameleonState? state, CustomResourceOptions? opts = null)
public static SourceChameleon get(String name, Output<String> id, SourceChameleonState state, CustomResourceOptions options)
resources: _: type: airbyte:SourceChameleon get: id: ${id}
- name
This property is required. - The unique name of the resulting resource.
- id
This property is required. - 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
This property is required. - The unique name of the resulting resource.
- id
This property is required. - The unique provider ID of the resource to lookup.
- name
This property is required. - The unique name of the resulting resource.
- id
This property is required. - 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
This property is required. - The unique name of the resulting resource.
- id
This property is required. - 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
This property is required. - The unique name of the resulting resource.
- id
This property is required. - 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
Chameleon Configuration - Created
At double - Definition
Id 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.
- 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
Chameleon Configuration Args - Created
At float64 - Definition
Id 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.
- 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
Chameleon Configuration - created
At Double - definition
Id 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.
- 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
Chameleon Configuration - created
At number - definition
Id 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.
- 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
Chameleon 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
- created
At Number - definition
Id 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.
- 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
SourceChameleonConfiguration, SourceChameleonConfigurationArgs
- Api
Key This property is required. string - Start
Date This property is required. string - End
Date string - End date for incremental sync
- Filter string
- Filter for using in the
segments_experiences
stream. Default: "tour"; must be one of ["tour", "survey", "launcher"] - Limit string
- Max records per page limit. Default: "50"
- Api
Key This property is required. string - Start
Date This property is required. string - End
Date string - End date for incremental sync
- Filter string
- Filter for using in the
segments_experiences
stream. Default: "tour"; must be one of ["tour", "survey", "launcher"] - Limit string
- Max records per page limit. Default: "50"
- api
Key This property is required. String - start
Date This property is required. String - end
Date String - End date for incremental sync
- filter String
- Filter for using in the
segments_experiences
stream. Default: "tour"; must be one of ["tour", "survey", "launcher"] - limit String
- Max records per page limit. Default: "50"
- api
Key This property is required. string - start
Date This property is required. string - end
Date string - End date for incremental sync
- filter string
- Filter for using in the
segments_experiences
stream. Default: "tour"; must be one of ["tour", "survey", "launcher"] - limit string
- Max records per page limit. Default: "50"
- api_
key This property is required. str - start_
date This property is required. str - end_
date str - End date for incremental sync
- filter str
- Filter for using in the
segments_experiences
stream. Default: "tour"; must be one of ["tour", "survey", "launcher"] - limit str
- Max records per page limit. Default: "50"
- api
Key This property is required. String - start
Date This property is required. String - end
Date String - End date for incremental sync
- filter String
- Filter for using in the
segments_experiences
stream. Default: "tour"; must be one of ["tour", "survey", "launcher"] - limit String
- Max records per page limit. Default: "50"
Import
$ pulumi import airbyte:index/sourceChameleon:SourceChameleon my_airbyte_source_chameleon ""
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
airbyte
Terraform Provider.