# CfnDataIntegrationProps

Properties for defining a `CfnDataIntegration`.

Used as props by: [CfnDataIntegration](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_appintegrations.CfnDataIntegration.html)

- Source: Generated at build time
- Type last changed: v2.106.0 · 10 Nov 2023

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_appintegrations as appintegrations } from 'aws-cdk-lib';

declare const filters: any;
declare const objectConfiguration: any;
const cfnDataIntegrationProps: appintegrations.CfnDataIntegrationProps = {
  kmsKey: 'kmsKey',
  name: 'name',
  sourceUri: 'sourceUri',

  // the properties below are optional
  description: 'description',
  fileConfiguration: {
    folders: ['folders'],

    // the properties below are optional
    filters: filters,
  },
  objectConfiguration: objectConfiguration,
  scheduleConfig: {
    scheduleExpression: 'scheduleExpression',

    // the properties below are optional
    firstExecutionFrom: 'firstExecutionFrom',
    object: 'object',
  },
  tags: [{
    key: 'key',
    value: 'value',
  }],
};
```

Python:

```python
from aws_cdk import CfnTag
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_appintegrations as appintegrations

# filters: Any
# object_configuration: Any

cfn_data_integration_props = appintegrations.CfnDataIntegrationProps(
    kms_key="kmsKey",
    name="name",
    source_uri="sourceUri",

    # the properties below are optional
    description="description",
    file_configuration=appintegrations.CfnDataIntegration.FileConfigurationProperty(
        folders=["folders"],

        # the properties below are optional
        filters=filters
    ),
    object_configuration=object_configuration,
    schedule_config=appintegrations.CfnDataIntegration.ScheduleConfigProperty(
        schedule_expression="scheduleExpression",

        # the properties below are optional
        first_execution_from="firstExecutionFrom",
        object="object"
    ),
    tags=[CfnTag(
        key="key",
        value="value"
    )]
)
```

Java:

```java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.appintegrations.*;

Object filters;
Object objectConfiguration;

CfnDataIntegrationProps cfnDataIntegrationProps = CfnDataIntegrationProps.builder()
        .kmsKey("kmsKey")
        .name("name")
        .sourceUri("sourceUri")

        // the properties below are optional
        .description("description")
        .fileConfiguration(FileConfigurationProperty.builder()
                .folders(List.of("folders"))

                // the properties below are optional
                .filters(filters)
                .build())
        .objectConfiguration(objectConfiguration)
        .scheduleConfig(ScheduleConfigProperty.builder()
                .scheduleExpression("scheduleExpression")

                // the properties below are optional
                .firstExecutionFrom("firstExecutionFrom")
                .object("object")
                .build())
        .tags(List.of(CfnTag.builder()
                .key("key")
                .value("value")
                .build()))
        .build();
```

C# / .NET:

```csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.AppIntegrations;

var filters;
var objectConfiguration;

var cfnDataIntegrationProps = new CfnDataIntegrationProps {
    KmsKey = "kmsKey",
    Name = "name",
    SourceUri = "sourceUri",

    // the properties below are optional
    Description = "description",
    FileConfiguration = new FileConfigurationProperty {
        Folders = new [] { "folders" },

        // the properties below are optional
        Filters = filters
    },
    ObjectConfiguration = objectConfiguration,
    ScheduleConfig = new ScheduleConfigProperty {
        ScheduleExpression = "scheduleExpression",

        // the properties below are optional
        FirstExecutionFrom = "firstExecutionFrom",
        Object = "object"
    },
    Tags = new [] { new CfnTag {
        Key = "key",
        Value = "value"
    } }
};
```

Golang:

```go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

var filters interface{}
var objectConfiguration interface{}

cfnDataIntegrationProps := &CfnDataIntegrationProps{
	KmsKey: jsii.String("kmsKey"),
	Name: jsii.String("name"),
	SourceUri: jsii.String("sourceUri"),

	// the properties below are optional
	Description: jsii.String("description"),
	FileConfiguration: &FileConfigurationProperty{
		Folders: []*string{
			jsii.String("folders"),
		},

		// the properties below are optional
		Filters: filters,
	},
	ObjectConfiguration: objectConfiguration,
	ScheduleConfig: &ScheduleConfigProperty{
		ScheduleExpression: jsii.String("scheduleExpression"),

		// the properties below are optional
		FirstExecutionFrom: jsii.String("firstExecutionFrom"),
		Object: jsii.String("object"),
	},
	Tags: []CfnTag{
		&CfnTag{
			Key: jsii.String("key"),
			Value: jsii.String("value"),
		},
	},
}
```

## Properties

- `description`: string — A description of the DataIntegration.

- `fileConfiguration`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnDataIntegration.FileConfigurationProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_appintegrations.CfnDataIntegration.FileConfigurationProperty.html) — The configuration for what files should be pulled from the source.

- `kmsKey`: string (required) — The KMS key for the DataIntegration.

- `name`: string (required) — The name of the DataIntegration.

- `objectConfiguration`: any — The configuration for what data should be pulled from the source.

- `scheduleConfig`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnDataIntegration.ScheduleConfigProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_appintegrations.CfnDataIntegration.ScheduleConfigProperty.html) — The name of the data and how often it should be pulled from the source.

- `sourceUri`: string (required) — The URI of the data source.

- `tags`: [CfnTag](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.CfnTag.html)[] — An array of key-value pairs to apply to this resource.

  For more information, see [Tag](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-resource-tags.html) .
