airbyte.SourceGutendex
Explore with Pulumi AI
SourceGutendex 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.SourceGutendex;
import com.pulumi.airbyte.SourceGutendexArgs;
import com.pulumi.airbyte.inputs.SourceGutendexConfigurationArgs;
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 mySourceGutendex = new SourceGutendex("mySourceGutendex", SourceGutendexArgs.builder()
            .configuration(SourceGutendexConfigurationArgs.builder()
                .author_year_end(-500)
                .author_year_start(2020)
                .copyright(false)
                .languages("en")
                .search("dickens%20great%20expect")
                .sort("ascending")
                .topic("children")
                .build())
            .definitionId("741fa85f-790e-4a62-807d-c3d6d966a992")
            .secretId("...my_secret_id...")
            .workspaceId("abfa20fd-2d77-4fbf-ace1-fcc26e5c4f89")
            .build());
    }
}
resources:
  mySourceGutendex:
    type: airbyte:SourceGutendex
    properties:
      configuration:
        author_year_end: -500
        author_year_start: 2020
        copyright: false
        languages: en
        search: dickens%20great%20expect
        sort: ascending
        topic: children
      definitionId: 741fa85f-790e-4a62-807d-c3d6d966a992
      secretId: '...my_secret_id...'
      workspaceId: abfa20fd-2d77-4fbf-ace1-fcc26e5c4f89
Create SourceGutendex Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new SourceGutendex(name: string, args: SourceGutendexArgs, opts?: CustomResourceOptions);@overload
def SourceGutendex(resource_name: str,
                   args: SourceGutendexArgs,
                   opts: Optional[ResourceOptions] = None)
@overload
def SourceGutendex(resource_name: str,
                   opts: Optional[ResourceOptions] = None,
                   configuration: Optional[SourceGutendexConfigurationArgs] = None,
                   workspace_id: Optional[str] = None,
                   definition_id: Optional[str] = None,
                   name: Optional[str] = None,
                   secret_id: Optional[str] = None)func NewSourceGutendex(ctx *Context, name string, args SourceGutendexArgs, opts ...ResourceOption) (*SourceGutendex, error)public SourceGutendex(string name, SourceGutendexArgs args, CustomResourceOptions? opts = null)
public SourceGutendex(String name, SourceGutendexArgs args)
public SourceGutendex(String name, SourceGutendexArgs args, CustomResourceOptions options)
type: airbyte:SourceGutendex
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 SourceGutendexArgs
- 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 SourceGutendexArgs
- 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 SourceGutendexArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args SourceGutendexArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args SourceGutendexArgs
- 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 sourceGutendexResource = new Airbyte.SourceGutendex("sourceGutendexResource", new()
{
    Configuration = new Airbyte.Inputs.SourceGutendexConfigurationArgs
    {
        AuthorYearEnd = "string",
        AuthorYearStart = "string",
        Copyright = "string",
        Languages = "string",
        Search = "string",
        Sort = "string",
        Topic = "string",
    },
    WorkspaceId = "string",
    DefinitionId = "string",
    Name = "string",
    SecretId = "string",
});
example, err := airbyte.NewSourceGutendex(ctx, "sourceGutendexResource", &airbyte.SourceGutendexArgs{
Configuration: &.SourceGutendexConfigurationArgs{
AuthorYearEnd: pulumi.String("string"),
AuthorYearStart: pulumi.String("string"),
Copyright: pulumi.String("string"),
Languages: pulumi.String("string"),
Search: pulumi.String("string"),
Sort: pulumi.String("string"),
Topic: pulumi.String("string"),
},
WorkspaceId: pulumi.String("string"),
DefinitionId: pulumi.String("string"),
Name: pulumi.String("string"),
SecretId: pulumi.String("string"),
})
var sourceGutendexResource = new SourceGutendex("sourceGutendexResource", SourceGutendexArgs.builder()
    .configuration(SourceGutendexConfigurationArgs.builder()
        .authorYearEnd("string")
        .authorYearStart("string")
        .copyright("string")
        .languages("string")
        .search("string")
        .sort("string")
        .topic("string")
        .build())
    .workspaceId("string")
    .definitionId("string")
    .name("string")
    .secretId("string")
    .build());
source_gutendex_resource = airbyte.SourceGutendex("sourceGutendexResource",
    configuration={
        "author_year_end": "string",
        "author_year_start": "string",
        "copyright": "string",
        "languages": "string",
        "search": "string",
        "sort": "string",
        "topic": "string",
    },
    workspace_id="string",
    definition_id="string",
    name="string",
    secret_id="string")
const sourceGutendexResource = new airbyte.SourceGutendex("sourceGutendexResource", {
    configuration: {
        authorYearEnd: "string",
        authorYearStart: "string",
        copyright: "string",
        languages: "string",
        search: "string",
        sort: "string",
        topic: "string",
    },
    workspaceId: "string",
    definitionId: "string",
    name: "string",
    secretId: "string",
});
type: airbyte:SourceGutendex
properties:
    configuration:
        authorYearEnd: string
        authorYearStart: string
        copyright: string
        languages: string
        search: string
        sort: string
        topic: string
    definitionId: string
    name: string
    secretId: string
    workspaceId: string
SourceGutendex 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 SourceGutendex resource accepts the following input properties:
- Configuration
SourceGutendex 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
SourceGutendex 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
SourceGutendex 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
SourceGutendex 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
SourceGutendex 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 SourceGutendex 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 SourceGutendex Resource
Get an existing SourceGutendex 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?: SourceGutendexState, opts?: CustomResourceOptions): SourceGutendex@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        configuration: Optional[SourceGutendexConfigurationArgs] = 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) -> SourceGutendexfunc GetSourceGutendex(ctx *Context, name string, id IDInput, state *SourceGutendexState, opts ...ResourceOption) (*SourceGutendex, error)public static SourceGutendex Get(string name, Input<string> id, SourceGutendexState? state, CustomResourceOptions? opts = null)public static SourceGutendex get(String name, Output<String> id, SourceGutendexState state, CustomResourceOptions options)resources:  _:    type: airbyte:SourceGutendex    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
SourceGutendex 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
SourceGutendex 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
SourceGutendex 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
SourceGutendex 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
SourceGutendex 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
SourceGutendexConfiguration, SourceGutendexConfigurationArgs      
- string
- (Optional) Defines the maximum birth year of the authors. Books by authors born after the end year will not be returned. Supports both positive (CE) or negative (BCE) integer values
- string
- (Optional) Defines the minimum birth year of the authors. Books by authors born prior to the start year will not be returned. Supports both positive (CE) or negative (BCE) integer values
- Copyright string
- (Optional) Use this to find books with a certain copyright status - true for books with existing copyrights, false for books in the public domain in the USA, or null for books with no available copyright information.
- Languages string
- (Optional) Use this to find books in any of a list of languages. They must be comma-separated, two-character language codes.
- Search string
- (Optional) Use this to search author names and book titles with given words. They must be separated by a space (i.e. %20 in URL-encoded format) and are case-insensitive.
- Sort string
- (Optional) Use this to sort books - ascending for Project Gutenberg ID numbers from lowest to highest, descending for IDs highest to lowest, or popular (the default) for most popular to least popular by number of downloads.
- Topic string
- (Optional) Use this to search for a case-insensitive key-phrase in books' bookshelves or subjects.
- string
- (Optional) Defines the maximum birth year of the authors. Books by authors born after the end year will not be returned. Supports both positive (CE) or negative (BCE) integer values
- string
- (Optional) Defines the minimum birth year of the authors. Books by authors born prior to the start year will not be returned. Supports both positive (CE) or negative (BCE) integer values
- Copyright string
- (Optional) Use this to find books with a certain copyright status - true for books with existing copyrights, false for books in the public domain in the USA, or null for books with no available copyright information.
- Languages string
- (Optional) Use this to find books in any of a list of languages. They must be comma-separated, two-character language codes.
- Search string
- (Optional) Use this to search author names and book titles with given words. They must be separated by a space (i.e. %20 in URL-encoded format) and are case-insensitive.
- Sort string
- (Optional) Use this to sort books - ascending for Project Gutenberg ID numbers from lowest to highest, descending for IDs highest to lowest, or popular (the default) for most popular to least popular by number of downloads.
- Topic string
- (Optional) Use this to search for a case-insensitive key-phrase in books' bookshelves or subjects.
- String
- (Optional) Defines the maximum birth year of the authors. Books by authors born after the end year will not be returned. Supports both positive (CE) or negative (BCE) integer values
- String
- (Optional) Defines the minimum birth year of the authors. Books by authors born prior to the start year will not be returned. Supports both positive (CE) or negative (BCE) integer values
- copyright String
- (Optional) Use this to find books with a certain copyright status - true for books with existing copyrights, false for books in the public domain in the USA, or null for books with no available copyright information.
- languages String
- (Optional) Use this to find books in any of a list of languages. They must be comma-separated, two-character language codes.
- search String
- (Optional) Use this to search author names and book titles with given words. They must be separated by a space (i.e. %20 in URL-encoded format) and are case-insensitive.
- sort String
- (Optional) Use this to sort books - ascending for Project Gutenberg ID numbers from lowest to highest, descending for IDs highest to lowest, or popular (the default) for most popular to least popular by number of downloads.
- topic String
- (Optional) Use this to search for a case-insensitive key-phrase in books' bookshelves or subjects.
- string
- (Optional) Defines the maximum birth year of the authors. Books by authors born after the end year will not be returned. Supports both positive (CE) or negative (BCE) integer values
- string
- (Optional) Defines the minimum birth year of the authors. Books by authors born prior to the start year will not be returned. Supports both positive (CE) or negative (BCE) integer values
- copyright string
- (Optional) Use this to find books with a certain copyright status - true for books with existing copyrights, false for books in the public domain in the USA, or null for books with no available copyright information.
- languages string
- (Optional) Use this to find books in any of a list of languages. They must be comma-separated, two-character language codes.
- search string
- (Optional) Use this to search author names and book titles with given words. They must be separated by a space (i.e. %20 in URL-encoded format) and are case-insensitive.
- sort string
- (Optional) Use this to sort books - ascending for Project Gutenberg ID numbers from lowest to highest, descending for IDs highest to lowest, or popular (the default) for most popular to least popular by number of downloads.
- topic string
- (Optional) Use this to search for a case-insensitive key-phrase in books' bookshelves or subjects.
- str
- (Optional) Defines the maximum birth year of the authors. Books by authors born after the end year will not be returned. Supports both positive (CE) or negative (BCE) integer values
- str
- (Optional) Defines the minimum birth year of the authors. Books by authors born prior to the start year will not be returned. Supports both positive (CE) or negative (BCE) integer values
- copyright str
- (Optional) Use this to find books with a certain copyright status - true for books with existing copyrights, false for books in the public domain in the USA, or null for books with no available copyright information.
- languages str
- (Optional) Use this to find books in any of a list of languages. They must be comma-separated, two-character language codes.
- search str
- (Optional) Use this to search author names and book titles with given words. They must be separated by a space (i.e. %20 in URL-encoded format) and are case-insensitive.
- sort str
- (Optional) Use this to sort books - ascending for Project Gutenberg ID numbers from lowest to highest, descending for IDs highest to lowest, or popular (the default) for most popular to least popular by number of downloads.
- topic str
- (Optional) Use this to search for a case-insensitive key-phrase in books' bookshelves or subjects.
- String
- (Optional) Defines the maximum birth year of the authors. Books by authors born after the end year will not be returned. Supports both positive (CE) or negative (BCE) integer values
- String
- (Optional) Defines the minimum birth year of the authors. Books by authors born prior to the start year will not be returned. Supports both positive (CE) or negative (BCE) integer values
- copyright String
- (Optional) Use this to find books with a certain copyright status - true for books with existing copyrights, false for books in the public domain in the USA, or null for books with no available copyright information.
- languages String
- (Optional) Use this to find books in any of a list of languages. They must be comma-separated, two-character language codes.
- search String
- (Optional) Use this to search author names and book titles with given words. They must be separated by a space (i.e. %20 in URL-encoded format) and are case-insensitive.
- sort String
- (Optional) Use this to sort books - ascending for Project Gutenberg ID numbers from lowest to highest, descending for IDs highest to lowest, or popular (the default) for most popular to least popular by number of downloads.
- topic String
- (Optional) Use this to search for a case-insensitive key-phrase in books' bookshelves or subjects.
Import
$ pulumi import airbyte:index/sourceGutendex:SourceGutendex my_airbyte_source_gutendex ""
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.