Skip to content
v2.278.0

CfnIntegrationProps Struct ​

Properties for defining a CfnIntegration.

Example ​

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
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
// 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();
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
// 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 ​

additionalEncryptionContextoptionalIResolvable | { [key: string]: string }additional_encryption_contextoptionaltyping.Union[IResolvable, typing.Mapping[str, str]]additionalEncryptionContextoptionalIResolvableAdditionalEncryptionContextoptionalIResolvableAdditionalEncryptionContextoptionalinterface{} #
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.

dataFilteroptionalstringdata_filteroptionalstrdataFilteroptionalStringDataFilteroptionalstringDataFilteroptional*string #
Selects source tables for the integration using Maxwell filter syntax.
descriptionoptionalstringdescriptionoptionalstrdescriptionoptionalStringDescriptionoptionalstringDescriptionoptional*string #
A description for the integration.
integrationConfigoptionalIResolvable | CfnIntegration.IntegrationConfigPropertyintegration_configoptionaltyping.Union[IResolvable, IntegrationConfigProperty]integrationConfigoptionalIResolvableIntegrationConfigoptionalIResolvableIntegrationConfigoptionalinterface{} #
The structure used to define properties associated with the zero-ETL integration.

For more information, see IntegrationConfig structure.

integrationNamestringintegration_namestrintegrationNameStringIntegrationNamestringIntegrationName*string required #
A unique name for the integration.
kmsKeyIdoptionalstringkms_key_idoptionalstrkmsKeyIdoptionalStringKmsKeyIdoptionalstringKmsKeyIdoptional*string #
The ARN of a KMS key used for encrypting the channel.
sourceArnstringsource_arnstrsourceArnStringSourceArnstringSourceArn*string required #
The ARN for the source of the integration.
tagsoptionalCfnTag[]tagsoptionaltyping.List[CfnTag]tagsoptionalList<CfnTag>TagsoptionalCfnTag[]Tagsoptional*[]CfnTag #
Metadata assigned to the resource consisting of a list of key-value pairs.
targetArnstringtarget_arnstrtargetArnStringTargetArnstringTargetArn*string required #
The ARN for the target of the integration.