DataIntegrationArgs

data class DataIntegrationArgs(val description: Output<String>? = null, val kmsKey: Output<String>? = null, val name: Output<String>? = null, val scheduleConfig: Output<DataIntegrationScheduleConfigArgs>? = null, val sourceUri: Output<String>? = null, val tags: Output<Map<String, String>>? = null) : ConvertibleToJava<DataIntegrationArgs>

Provides an Amazon AppIntegrations Data Integration resource.

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const example = new aws.appintegrations.DataIntegration("example", {
name: "example",
description: "example",
kmsKey: test.arn,
sourceUri: "Salesforce://AppFlow/example",
scheduleConfig: {
firstExecutionFrom: "1439788442681",
object: "Account",
scheduleExpression: "rate(1 hour)",
},
tags: {
Key1: "Value1",
},
});
import pulumi
import pulumi_aws as aws
example = aws.appintegrations.DataIntegration("example",
name="example",
description="example",
kms_key=test["arn"],
source_uri="Salesforce://AppFlow/example",
schedule_config={
"first_execution_from": "1439788442681",
"object": "Account",
"schedule_expression": "rate(1 hour)",
},
tags={
"Key1": "Value1",
})
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;
return await Deployment.RunAsync(() =>
{
var example = new Aws.AppIntegrations.DataIntegration("example", new()
{
Name = "example",
Description = "example",
KmsKey = test.Arn,
SourceUri = "Salesforce://AppFlow/example",
ScheduleConfig = new Aws.AppIntegrations.Inputs.DataIntegrationScheduleConfigArgs
{
FirstExecutionFrom = "1439788442681",
Object = "Account",
ScheduleExpression = "rate(1 hour)",
},
Tags =
{
{ "Key1", "Value1" },
},
});
});
package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/appintegrations"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := appintegrations.NewDataIntegration(ctx, "example", &appintegrations.DataIntegrationArgs{
Name: pulumi.String("example"),
Description: pulumi.String("example"),
KmsKey: pulumi.Any(test.Arn),
SourceUri: pulumi.String("Salesforce://AppFlow/example"),
ScheduleConfig: &appintegrations.DataIntegrationScheduleConfigArgs{
FirstExecutionFrom: pulumi.String("1439788442681"),
Object: pulumi.String("Account"),
ScheduleExpression: pulumi.String("rate(1 hour)"),
},
Tags: pulumi.StringMap{
"Key1": pulumi.String("Value1"),
},
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.appintegrations.DataIntegration;
import com.pulumi.aws.appintegrations.DataIntegrationArgs;
import com.pulumi.aws.appintegrations.inputs.DataIntegrationScheduleConfigArgs;
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 example = new DataIntegration("example", DataIntegrationArgs.builder()
.name("example")
.description("example")
.kmsKey(test.arn())
.sourceUri("Salesforce://AppFlow/example")
.scheduleConfig(DataIntegrationScheduleConfigArgs.builder()
.firstExecutionFrom("1439788442681")
.object("Account")
.scheduleExpression("rate(1 hour)")
.build())
.tags(Map.of("Key1", "Value1"))
.build());
}
}
resources:
example:
type: aws:appintegrations:DataIntegration
properties:
name: example
description: example
kmsKey: ${test.arn}
sourceUri: Salesforce://AppFlow/example
scheduleConfig:
firstExecutionFrom: '1439788442681'
object: Account
scheduleExpression: rate(1 hour)
tags:
Key1: Value1

Import

Using pulumi import, import Amazon AppIntegrations Data Integrations using the id. For example:

$ pulumi import aws:appintegrations/dataIntegration:DataIntegration example 12345678-1234-1234-1234-123456789123

Constructors

Link copied to clipboard
constructor(description: Output<String>? = null, kmsKey: Output<String>? = null, name: Output<String>? = null, scheduleConfig: Output<DataIntegrationScheduleConfigArgs>? = null, sourceUri: Output<String>? = null, tags: Output<Map<String, String>>? = null)

Properties

Link copied to clipboard
val description: Output<String>? = null

Specifies the description of the Data Integration.

Link copied to clipboard
val kmsKey: Output<String>? = null

Specifies the KMS key Amazon Resource Name (ARN) for the Data Integration.

Link copied to clipboard
val name: Output<String>? = null

Specifies the name of the Data Integration.

Link copied to clipboard

A block that defines the name of the data and how often it should be pulled from the source. The Schedule Config block is documented below.

Link copied to clipboard
val sourceUri: Output<String>? = null

Specifies the URI of the data source. Create an AppFlow Connector Profile and reference the name of the profile in the URL. An example of this value for Salesforce is Salesforce://AppFlow/example where example is the name of the AppFlow Connector Profile.

Link copied to clipboard
val tags: Output<Map<String, String>>? = null

Tags to apply to the Data Integration. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.

Functions

Link copied to clipboard
open override fun toJava(): DataIntegrationArgs