# CfnIntegrationProps

Struct · External

Properties for defining a `CfnIntegration`.

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

- Source: Generated at build time
- Type last changed: v2.227.0 · 21 Nov 2025

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_glue as glue } from 'aws-cdk-lib';
const cfnIntegrationProps: glue.CfnIntegrationProps = {
  integrationName: 'integrationName',
  sourceArn: 'sourceArn',
  targetArn: 'targetArn',

  // the properties below are optional
  additionalEncryptionContext: {
    additionalEncryptionContextKey: 'additionalEncryptionContext',
  },
  dataFilter: 'dataFilter',
  description: 'description',
  integrationConfig: {
    continuousSync: false,
    refreshInterval: 'refreshInterval',
    sourceProperties: {
      sourcePropertiesKey: 'sourceProperties',
    },
  },
  kmsKeyId: 'kmsKeyId',
  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_glue as glue

cfn_integration_props = glue.CfnIntegrationProps(
    integration_name="integrationName",
    source_arn="sourceArn",
    target_arn="targetArn",

    # the properties below are optional
    additional_encryption_context={
        "additional_encryption_context_key": "additionalEncryptionContext"
    },
    data_filter="dataFilter",
    description="description",
    integration_config=glue.CfnIntegration.IntegrationConfigProperty(
        continuous_sync=False,
        refresh_interval="refreshInterval",
        source_properties={
            "source_properties_key": "sourceProperties"
        }
    ),
    kms_key_id="kmsKeyId",
    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.glue.*;

CfnIntegrationProps cfnIntegrationProps = CfnIntegrationProps.builder()
        .integrationName("integrationName")
        .sourceArn("sourceArn")
        .targetArn("targetArn")

        // the properties below are optional
        .additionalEncryptionContext(Map.of(
                "additionalEncryptionContextKey", "additionalEncryptionContext"))
        .dataFilter("dataFilter")
        .description("description")
        .integrationConfig(IntegrationConfigProperty.builder()
                .continuousSync(false)
                .refreshInterval("refreshInterval")
                .sourceProperties(Map.of(
                        "sourcePropertiesKey", "sourceProperties"))
                .build())
        .kmsKeyId("kmsKeyId")
        .tags(List.of(CfnTag.builder()
                .key("key")
                .value("value")
                .build()))
        .build();
```

C#:

```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.Glue;

var cfnIntegrationProps = new CfnIntegrationProps {
    IntegrationName = "integrationName",
    SourceArn = "sourceArn",
    TargetArn = "targetArn",

    // the properties below are optional
    AdditionalEncryptionContext = new Dictionary<string, string> {
        { "additionalEncryptionContextKey", "additionalEncryptionContext" }
    },
    DataFilter = "dataFilter",
    Description = "description",
    IntegrationConfig = new IntegrationConfigProperty {
        ContinuousSync = false,
        RefreshInterval = "refreshInterval",
        SourceProperties = new Dictionary<string, string> {
            { "sourcePropertiesKey", "sourceProperties" }
        }
    },
    KmsKeyId = "kmsKeyId",
    Tags = new [] { new CfnTag {
        Key = "key",
        Value = "value"
    } }
};
```

Go:

```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"

cfnIntegrationProps := &CfnIntegrationProps{
	IntegrationName: jsii.String("integrationName"),
	SourceArn: jsii.String("sourceArn"),
	TargetArn: jsii.String("targetArn"),

	// the properties below are optional
	AdditionalEncryptionContext: map[string]*string{
		"additionalEncryptionContextKey": jsii.String("additionalEncryptionContext"),
	},
	DataFilter: jsii.String("dataFilter"),
	Description: jsii.String("description"),
	IntegrationConfig: &IntegrationConfigProperty{
		ContinuousSync: jsii.Boolean(false),
		RefreshInterval: jsii.String("refreshInterval"),
		SourceProperties: map[string]*string{
			"sourcePropertiesKey": jsii.String("sourceProperties"),
		},
	},
	KmsKeyId: jsii.String("kmsKeyId"),
	Tags: []CfnTag{
		&CfnTag{
			Key: jsii.String("key"),
			Value: jsii.String("value"),
		},
	},
}
```

## Properties

- `additionalEncryptionContext`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | { [key: string]: string } — An optional set of non-secret key–value pairs that contains additional contextual information for encryption.

  This can only be provided if `KMSKeyId` is provided.

- `dataFilter`: string — Selects source tables for the integration using Maxwell filter syntax.

- `description`: string — A description for the integration.

- `integrationConfig`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnIntegration.IntegrationConfigProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_glue.CfnIntegration.IntegrationConfigProperty.html) — The structure used to define properties associated with the zero-ETL integration.

  For more information, see [IntegrationConfig structure.](https://docs.aws.amazon.com/glue/latest/dg/aws-glue-api-integrations.html#aws-glue-api-integrations-IntegrationConfig)

- `integrationName`: string (required) — A unique name for the integration.

- `kmsKeyId`: string — The ARN of a KMS key used for encrypting the channel.

- `sourceArn`: string (required) — The ARN for the source of the integration.

- `tags`: [CfnTag](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.CfnTag.html)[] — Metadata assigned to the resource consisting of a list of key-value pairs.

- `targetArn`: string (required) — The ARN for the target of the integration.
