SourceAmazonAds Resource
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as airbyte from "@pulumi/airbyte";
const mySourceAmazonads = new airbyte.SourceAmazonAds("my_source_amazonads", {
configuration: {
clientId: "...my_client_id...",
clientSecret: "...my_client_secret...",
lookBackWindow: 3,
marketplaceIds: ["..."],
numWorkers: 2,
profiles: [1],
refreshToken: "...my_refresh_token...",
region: "FE",
startDate: "2022-10-10",
},
definitionId: "af6454d1-eef9-48c7-951f-d90f8c67b58a",
name: "...my_name...",
secretId: "...my_secret_id...",
workspaceId: "a6beec71-8c3b-4cf7-87f9-463dd8bf8f4e",
});
import pulumi
import pulumi_airbyte as airbyte
my_source_amazonads = airbyte.SourceAmazonAds("my_source_amazonads",
configuration={
"client_id": "...my_client_id...",
"client_secret": "...my_client_secret...",
"look_back_window": 3,
"marketplace_ids": ["..."],
"num_workers": 2,
"profiles": [1],
"refresh_token": "...my_refresh_token...",
"region": "FE",
"start_date": "2022-10-10",
},
definition_id="af6454d1-eef9-48c7-951f-d90f8c67b58a",
name="...my_name...",
secret_id="...my_secret_id...",
workspace_id="a6beec71-8c3b-4cf7-87f9-463dd8bf8f4e")
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.NewSourceAmazonAds(ctx, "my_source_amazonads", &airbyte.SourceAmazonAdsArgs{
Configuration: &airbyte.SourceAmazonAdsConfigurationArgs{
ClientId: pulumi.String("...my_client_id..."),
ClientSecret: pulumi.String("...my_client_secret..."),
LookBackWindow: pulumi.Float64(3),
MarketplaceIds: pulumi.StringArray{
pulumi.String("..."),
},
NumWorkers: pulumi.Float64(2),
Profiles: pulumi.Float64Array{
pulumi.Float64(1),
},
RefreshToken: pulumi.String("...my_refresh_token..."),
Region: pulumi.String("FE"),
StartDate: pulumi.String("2022-10-10"),
},
DefinitionId: pulumi.String("af6454d1-eef9-48c7-951f-d90f8c67b58a"),
Name: pulumi.String("...my_name..."),
SecretId: pulumi.String("...my_secret_id..."),
WorkspaceId: pulumi.String("a6beec71-8c3b-4cf7-87f9-463dd8bf8f4e"),
})
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 mySourceAmazonads = new Airbyte.SourceAmazonAds("my_source_amazonads", new()
{
Configuration = new Airbyte.Inputs.SourceAmazonAdsConfigurationArgs
{
ClientId = "...my_client_id...",
ClientSecret = "...my_client_secret...",
LookBackWindow = 3,
MarketplaceIds = new[]
{
"...",
},
NumWorkers = 2,
Profiles = new[]
{
1,
},
RefreshToken = "...my_refresh_token...",
Region = "FE",
StartDate = "2022-10-10",
},
DefinitionId = "af6454d1-eef9-48c7-951f-d90f8c67b58a",
Name = "...my_name...",
SecretId = "...my_secret_id...",
WorkspaceId = "a6beec71-8c3b-4cf7-87f9-463dd8bf8f4e",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.airbyte.SourceAmazonAds;
import com.pulumi.airbyte.SourceAmazonAdsArgs;
import com.pulumi.airbyte.inputs.SourceAmazonAdsConfigurationArgs;
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 mySourceAmazonads = new SourceAmazonAds("mySourceAmazonads", SourceAmazonAdsArgs.builder()
.configuration(SourceAmazonAdsConfigurationArgs.builder()
.clientId("...my_client_id...")
.clientSecret("...my_client_secret...")
.lookBackWindow(3.0)
.marketplaceIds("...")
.numWorkers(2.0)
.profiles(1.0)
.refreshToken("...my_refresh_token...")
.region("FE")
.startDate("2022-10-10")
.build())
.definitionId("af6454d1-eef9-48c7-951f-d90f8c67b58a")
.name("...my_name...")
.secretId("...my_secret_id...")
.workspaceId("a6beec71-8c3b-4cf7-87f9-463dd8bf8f4e")
.build());
}
}
resources:
mySourceAmazonads:
type: airbyte:SourceAmazonAds
name: my_source_amazonads
properties:
configuration:
clientId: '...my_client_id...'
clientSecret: '...my_client_secret...'
lookBackWindow: 3
marketplaceIds:
- '...'
numWorkers: 2
profiles:
- 1
refreshToken: '...my_refresh_token...'
region: FE
startDate: 2022-10-10
definitionId: af6454d1-eef9-48c7-951f-d90f8c67b58a
name: '...my_name...'
secretId: '...my_secret_id...'
workspaceId: a6beec71-8c3b-4cf7-87f9-463dd8bf8f4e
Create SourceAmazonAds Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new SourceAmazonAds(name: string, args: SourceAmazonAdsArgs, opts?: CustomResourceOptions);@overload
def SourceAmazonAds(resource_name: str,
args: SourceAmazonAdsArgs,
opts: Optional[ResourceOptions] = None)
@overload
def SourceAmazonAds(resource_name: str,
opts: Optional[ResourceOptions] = None,
configuration: Optional[SourceAmazonAdsConfigurationArgs] = None,
workspace_id: Optional[str] = None,
definition_id: Optional[str] = None,
name: Optional[str] = None,
secret_id: Optional[str] = None)func NewSourceAmazonAds(ctx *Context, name string, args SourceAmazonAdsArgs, opts ...ResourceOption) (*SourceAmazonAds, error)public SourceAmazonAds(string name, SourceAmazonAdsArgs args, CustomResourceOptions? opts = null)
public SourceAmazonAds(String name, SourceAmazonAdsArgs args)
public SourceAmazonAds(String name, SourceAmazonAdsArgs args, CustomResourceOptions options)
type: airbyte:SourceAmazonAds
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 SourceAmazonAdsArgs
- 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 SourceAmazonAdsArgs
- 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 SourceAmazonAdsArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args SourceAmazonAdsArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args SourceAmazonAdsArgs
- 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 sourceAmazonAdsResource = new Airbyte.SourceAmazonAds("sourceAmazonAdsResource", new()
{
Configuration = new Airbyte.Inputs.SourceAmazonAdsConfigurationArgs
{
ClientId = "string",
ClientSecret = "string",
RefreshToken = "string",
LookBackWindow = 0,
MarketplaceIds = new[]
{
"string",
},
NumWorkers = 0,
Profiles = new[]
{
0,
},
Region = "string",
StartDate = "string",
},
WorkspaceId = "string",
DefinitionId = "string",
Name = "string",
SecretId = "string",
});
example, err := airbyte.NewSourceAmazonAds(ctx, "sourceAmazonAdsResource", &airbyte.SourceAmazonAdsArgs{
Configuration: &airbyte.SourceAmazonAdsConfigurationArgs{
ClientId: pulumi.String("string"),
ClientSecret: pulumi.String("string"),
RefreshToken: pulumi.String("string"),
LookBackWindow: pulumi.Float64(0),
MarketplaceIds: pulumi.StringArray{
pulumi.String("string"),
},
NumWorkers: pulumi.Float64(0),
Profiles: pulumi.Float64Array{
pulumi.Float64(0),
},
Region: pulumi.String("string"),
StartDate: pulumi.String("string"),
},
WorkspaceId: pulumi.String("string"),
DefinitionId: pulumi.String("string"),
Name: pulumi.String("string"),
SecretId: pulumi.String("string"),
})
var sourceAmazonAdsResource = new SourceAmazonAds("sourceAmazonAdsResource", SourceAmazonAdsArgs.builder()
.configuration(SourceAmazonAdsConfigurationArgs.builder()
.clientId("string")
.clientSecret("string")
.refreshToken("string")
.lookBackWindow(0.0)
.marketplaceIds("string")
.numWorkers(0.0)
.profiles(0.0)
.region("string")
.startDate("string")
.build())
.workspaceId("string")
.definitionId("string")
.name("string")
.secretId("string")
.build());
source_amazon_ads_resource = airbyte.SourceAmazonAds("sourceAmazonAdsResource",
configuration={
"client_id": "string",
"client_secret": "string",
"refresh_token": "string",
"look_back_window": 0,
"marketplace_ids": ["string"],
"num_workers": 0,
"profiles": [0],
"region": "string",
"start_date": "string",
},
workspace_id="string",
definition_id="string",
name="string",
secret_id="string")
const sourceAmazonAdsResource = new airbyte.SourceAmazonAds("sourceAmazonAdsResource", {
configuration: {
clientId: "string",
clientSecret: "string",
refreshToken: "string",
lookBackWindow: 0,
marketplaceIds: ["string"],
numWorkers: 0,
profiles: [0],
region: "string",
startDate: "string",
},
workspaceId: "string",
definitionId: "string",
name: "string",
secretId: "string",
});
type: airbyte:SourceAmazonAds
properties:
configuration:
clientId: string
clientSecret: string
lookBackWindow: 0
marketplaceIds:
- string
numWorkers: 0
profiles:
- 0
refreshToken: string
region: string
startDate: string
definitionId: string
name: string
secretId: string
workspaceId: string
SourceAmazonAds 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 SourceAmazonAds resource accepts the following input properties:
- Configuration
Source
Amazon Ads 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: "c6b0a29e-1da9-4512-9002-7bfd0cba2246"; 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
Amazon Ads 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: "c6b0a29e-1da9-4512-9002-7bfd0cba2246"; 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
Amazon Ads 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: "c6b0a29e-1da9-4512-9002-7bfd0cba2246"; 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
Amazon Ads 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: "c6b0a29e-1da9-4512-9002-7bfd0cba2246"; 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
Amazon Ads 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: "c6b0a29e-1da9-4512-9002-7bfd0cba2246"; 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: "c6b0a29e-1da9-4512-9002-7bfd0cba2246"; 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 SourceAmazonAds resource produces the following output properties:
- Created
At double - Id string
- The provider-assigned unique ID for this managed resource.
- Resource
Allocation SourceAmazon Ads 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 SourceAmazon Ads 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 SourceAmazon Ads 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 SourceAmazon Ads 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 SourceAmazon Ads 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 SourceAmazonAds Resource
Get an existing SourceAmazonAds 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?: SourceAmazonAdsState, opts?: CustomResourceOptions): SourceAmazonAds@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
configuration: Optional[SourceAmazonAdsConfigurationArgs] = None,
created_at: Optional[float] = None,
definition_id: Optional[str] = None,
name: Optional[str] = None,
resource_allocation: Optional[SourceAmazonAdsResourceAllocationArgs] = None,
secret_id: Optional[str] = None,
source_id: Optional[str] = None,
source_type: Optional[str] = None,
workspace_id: Optional[str] = None) -> SourceAmazonAdsfunc GetSourceAmazonAds(ctx *Context, name string, id IDInput, state *SourceAmazonAdsState, opts ...ResourceOption) (*SourceAmazonAds, error)public static SourceAmazonAds Get(string name, Input<string> id, SourceAmazonAdsState? state, CustomResourceOptions? opts = null)public static SourceAmazonAds get(String name, Output<String> id, SourceAmazonAdsState state, CustomResourceOptions options)resources: _: type: airbyte:SourceAmazonAds 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
Amazon Ads 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: "c6b0a29e-1da9-4512-9002-7bfd0cba2246"; Requires replacement if changed.
- Name string
- Name of the source e.g. dev-mysql-instance.
- Resource
Allocation SourceAmazon Ads 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
Amazon Ads 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: "c6b0a29e-1da9-4512-9002-7bfd0cba2246"; Requires replacement if changed.
- Name string
- Name of the source e.g. dev-mysql-instance.
- Resource
Allocation SourceAmazon Ads 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
Amazon Ads 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: "c6b0a29e-1da9-4512-9002-7bfd0cba2246"; Requires replacement if changed.
- name String
- Name of the source e.g. dev-mysql-instance.
- resource
Allocation SourceAmazon Ads 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
Amazon Ads 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: "c6b0a29e-1da9-4512-9002-7bfd0cba2246"; Requires replacement if changed.
- name string
- Name of the source e.g. dev-mysql-instance.
- resource
Allocation SourceAmazon Ads 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
Amazon Ads 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: "c6b0a29e-1da9-4512-9002-7bfd0cba2246"; Requires replacement if changed.
- name str
- Name of the source e.g. dev-mysql-instance.
- resource_
allocation SourceAmazon Ads 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: "c6b0a29e-1da9-4512-9002-7bfd0cba2246"; 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
SourceAmazonAdsConfiguration, SourceAmazonAdsConfigurationArgs
- Client
Id string - The client ID of your Amazon Ads developer application. See the \n\ndocs\n\n for more information.
- Client
Secret string - The client secret of your Amazon Ads developer application. See the \n\ndocs\n\n for more information.
- Refresh
Token string - Amazon Ads refresh token. See the \n\ndocs\n\n for more information on how to obtain this token.
- Look
Back doubleWindow - The amount of days to go back in time to get the updated data from Amazon Ads. Default: 3
- Marketplace
Ids List<string> - Marketplace IDs you want to fetch data for. Note: If Profile IDs are also selected, profiles will be selected if they match the Profile ID OR the Marketplace ID.
- Num
Workers double - The number of worker threads to use for the sync. Default: 10
- Profiles List<double>
- Profile IDs you want to fetch data for. The Amazon Ads source connector supports only profiles with seller and vendor type, profiles with agency type will be ignored. See \n\ndocs\n\n for more details. Note: If Marketplace IDs are also selected, profiles will be selected if they match the Profile ID OR the Marketplace ID.
- Region string
- Region to pull data from (EU/NA/FE). See \n\ndocs\n\n for more details. Default: "NA"; must be one of ["NA", "EU", "FE"]
- Start
Date string - The Start date for collecting reports, should not be more than 60 days in the past. In YYYY-MM-DD format
- Client
Id string - The client ID of your Amazon Ads developer application. See the \n\ndocs\n\n for more information.
- Client
Secret string - The client secret of your Amazon Ads developer application. See the \n\ndocs\n\n for more information.
- Refresh
Token string - Amazon Ads refresh token. See the \n\ndocs\n\n for more information on how to obtain this token.
- Look
Back float64Window - The amount of days to go back in time to get the updated data from Amazon Ads. Default: 3
- Marketplace
Ids []string - Marketplace IDs you want to fetch data for. Note: If Profile IDs are also selected, profiles will be selected if they match the Profile ID OR the Marketplace ID.
- Num
Workers float64 - The number of worker threads to use for the sync. Default: 10
- Profiles []float64
- Profile IDs you want to fetch data for. The Amazon Ads source connector supports only profiles with seller and vendor type, profiles with agency type will be ignored. See \n\ndocs\n\n for more details. Note: If Marketplace IDs are also selected, profiles will be selected if they match the Profile ID OR the Marketplace ID.
- Region string
- Region to pull data from (EU/NA/FE). See \n\ndocs\n\n for more details. Default: "NA"; must be one of ["NA", "EU", "FE"]
- Start
Date string - The Start date for collecting reports, should not be more than 60 days in the past. In YYYY-MM-DD format
- client
Id String - The client ID of your Amazon Ads developer application. See the \n\ndocs\n\n for more information.
- client
Secret String - The client secret of your Amazon Ads developer application. See the \n\ndocs\n\n for more information.
- refresh
Token String - Amazon Ads refresh token. See the \n\ndocs\n\n for more information on how to obtain this token.
- look
Back DoubleWindow - The amount of days to go back in time to get the updated data from Amazon Ads. Default: 3
- marketplace
Ids List<String> - Marketplace IDs you want to fetch data for. Note: If Profile IDs are also selected, profiles will be selected if they match the Profile ID OR the Marketplace ID.
- num
Workers Double - The number of worker threads to use for the sync. Default: 10
- profiles List<Double>
- Profile IDs you want to fetch data for. The Amazon Ads source connector supports only profiles with seller and vendor type, profiles with agency type will be ignored. See \n\ndocs\n\n for more details. Note: If Marketplace IDs are also selected, profiles will be selected if they match the Profile ID OR the Marketplace ID.
- region String
- Region to pull data from (EU/NA/FE). See \n\ndocs\n\n for more details. Default: "NA"; must be one of ["NA", "EU", "FE"]
- start
Date String - The Start date for collecting reports, should not be more than 60 days in the past. In YYYY-MM-DD format
- client
Id string - The client ID of your Amazon Ads developer application. See the \n\ndocs\n\n for more information.
- client
Secret string - The client secret of your Amazon Ads developer application. See the \n\ndocs\n\n for more information.
- refresh
Token string - Amazon Ads refresh token. See the \n\ndocs\n\n for more information on how to obtain this token.
- look
Back numberWindow - The amount of days to go back in time to get the updated data from Amazon Ads. Default: 3
- marketplace
Ids string[] - Marketplace IDs you want to fetch data for. Note: If Profile IDs are also selected, profiles will be selected if they match the Profile ID OR the Marketplace ID.
- num
Workers number - The number of worker threads to use for the sync. Default: 10
- profiles number[]
- Profile IDs you want to fetch data for. The Amazon Ads source connector supports only profiles with seller and vendor type, profiles with agency type will be ignored. See \n\ndocs\n\n for more details. Note: If Marketplace IDs are also selected, profiles will be selected if they match the Profile ID OR the Marketplace ID.
- region string
- Region to pull data from (EU/NA/FE). See \n\ndocs\n\n for more details. Default: "NA"; must be one of ["NA", "EU", "FE"]
- start
Date string - The Start date for collecting reports, should not be more than 60 days in the past. In YYYY-MM-DD format
- client_
id str - The client ID of your Amazon Ads developer application. See the \n\ndocs\n\n for more information.
- client_
secret str - The client secret of your Amazon Ads developer application. See the \n\ndocs\n\n for more information.
- refresh_
token str - Amazon Ads refresh token. See the \n\ndocs\n\n for more information on how to obtain this token.
- look_
back_ floatwindow - The amount of days to go back in time to get the updated data from Amazon Ads. Default: 3
- marketplace_
ids Sequence[str] - Marketplace IDs you want to fetch data for. Note: If Profile IDs are also selected, profiles will be selected if they match the Profile ID OR the Marketplace ID.
- num_
workers float - The number of worker threads to use for the sync. Default: 10
- profiles Sequence[float]
- Profile IDs you want to fetch data for. The Amazon Ads source connector supports only profiles with seller and vendor type, profiles with agency type will be ignored. See \n\ndocs\n\n for more details. Note: If Marketplace IDs are also selected, profiles will be selected if they match the Profile ID OR the Marketplace ID.
- region str
- Region to pull data from (EU/NA/FE). See \n\ndocs\n\n for more details. Default: "NA"; must be one of ["NA", "EU", "FE"]
- start_
date str - The Start date for collecting reports, should not be more than 60 days in the past. In YYYY-MM-DD format
- client
Id String - The client ID of your Amazon Ads developer application. See the \n\ndocs\n\n for more information.
- client
Secret String - The client secret of your Amazon Ads developer application. See the \n\ndocs\n\n for more information.
- refresh
Token String - Amazon Ads refresh token. See the \n\ndocs\n\n for more information on how to obtain this token.
- look
Back NumberWindow - The amount of days to go back in time to get the updated data from Amazon Ads. Default: 3
- marketplace
Ids List<String> - Marketplace IDs you want to fetch data for. Note: If Profile IDs are also selected, profiles will be selected if they match the Profile ID OR the Marketplace ID.
- num
Workers Number - The number of worker threads to use for the sync. Default: 10
- profiles List<Number>
- Profile IDs you want to fetch data for. The Amazon Ads source connector supports only profiles with seller and vendor type, profiles with agency type will be ignored. See \n\ndocs\n\n for more details. Note: If Marketplace IDs are also selected, profiles will be selected if they match the Profile ID OR the Marketplace ID.
- region String
- Region to pull data from (EU/NA/FE). See \n\ndocs\n\n for more details. Default: "NA"; must be one of ["NA", "EU", "FE"]
- start
Date String - The Start date for collecting reports, should not be more than 60 days in the past. In YYYY-MM-DD format
SourceAmazonAdsResourceAllocation, SourceAmazonAdsResourceAllocationArgs
- Default
Source
Amazon Ads Resource Allocation Default - optional resource requirements to run workers (blank for unbounded allocations)
- Job
Specifics List<SourceAmazon Ads Resource Allocation Job Specific>
- Default
Source
Amazon Ads Resource Allocation Default - optional resource requirements to run workers (blank for unbounded allocations)
- Job
Specifics []SourceAmazon Ads Resource Allocation Job Specific
- default_
Source
Amazon Ads Resource Allocation Default - optional resource requirements to run workers (blank for unbounded allocations)
- job
Specifics List<SourceAmazon Ads Resource Allocation Job Specific>
- default
Source
Amazon Ads Resource Allocation Default - optional resource requirements to run workers (blank for unbounded allocations)
- job
Specifics SourceAmazon Ads Resource Allocation Job Specific[]
- default
Source
Amazon Ads Resource Allocation Default - optional resource requirements to run workers (blank for unbounded allocations)
- job_
specifics Sequence[SourceAmazon Ads Resource Allocation Job Specific]
- default Property Map
- optional resource requirements to run workers (blank for unbounded allocations)
- job
Specifics List<Property Map>
SourceAmazonAdsResourceAllocationDefault, SourceAmazonAdsResourceAllocationDefaultArgs
- 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
SourceAmazonAdsResourceAllocationJobSpecific, SourceAmazonAdsResourceAllocationJobSpecificArgs
- Job
Type string - enum that describes the different types of jobs that the platform runs.
- Resource
Requirements SourceAmazon Ads 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 SourceAmazon Ads 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 SourceAmazon Ads 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 SourceAmazon Ads 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 SourceAmazon Ads 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)
SourceAmazonAdsResourceAllocationJobSpecificResourceRequirements, SourceAmazonAdsResourceAllocationJobSpecificResourceRequirementsArgs
- 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_amazon_ads.my_airbyte_source_amazon_ads
id = “…”
}
The pulumi import command can be used, for example:
$ pulumi import airbyte:index/sourceAmazonAds:SourceAmazonAds my_airbyte_source_amazon_ads "..."
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.
