# CfnIntegrationResourcePropertyProps

Properties for defining a `CfnIntegrationResourceProperty`.

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

- Source: Generated at build time
- Type last changed: v2.224.0 · 13 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 cfnIntegrationResourcePropertyProps: glue.CfnIntegrationResourcePropertyProps = {
  resourceArn: 'resourceArn',

  // the properties below are optional
  sourceProcessingProperties: {
    roleArn: 'roleArn',
  },
  tags: [{
    key: 'key',
    value: 'value',
  }],
  targetProcessingProperties: {
    roleArn: 'roleArn',

    // the properties below are optional
    connectionName: 'connectionName',
    eventBusArn: 'eventBusArn',
    kmsArn: 'kmsArn',
  },
};
```

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_resource_property_props = glue.CfnIntegrationResourcePropertyProps(
    resource_arn="resourceArn",

    # the properties below are optional
    source_processing_properties=glue.CfnIntegrationResourceProperty.SourceProcessingPropertiesProperty(
        role_arn="roleArn"
    ),
    tags=[CfnTag(
        key="key",
        value="value"
    )],
    target_processing_properties=glue.CfnIntegrationResourceProperty.TargetProcessingPropertiesProperty(
        role_arn="roleArn",

        # the properties below are optional
        connection_name="connectionName",
        event_bus_arn="eventBusArn",
        kms_arn="kmsArn"
    )
)
```

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.*;

CfnIntegrationResourcePropertyProps cfnIntegrationResourcePropertyProps = CfnIntegrationResourcePropertyProps.builder()
        .resourceArn("resourceArn")

        // the properties below are optional
        .sourceProcessingProperties(SourceProcessingPropertiesProperty.builder()
                .roleArn("roleArn")
                .build())
        .tags(List.of(CfnTag.builder()
                .key("key")
                .value("value")
                .build()))
        .targetProcessingProperties(TargetProcessingPropertiesProperty.builder()
                .roleArn("roleArn")

                // the properties below are optional
                .connectionName("connectionName")
                .eventBusArn("eventBusArn")
                .kmsArn("kmsArn")
                .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.Glue;

var cfnIntegrationResourcePropertyProps = new CfnIntegrationResourcePropertyProps {
    ResourceArn = "resourceArn",

    // the properties below are optional
    SourceProcessingProperties = new SourceProcessingPropertiesProperty {
        RoleArn = "roleArn"
    },
    Tags = new [] { new CfnTag {
        Key = "key",
        Value = "value"
    } },
    TargetProcessingProperties = new TargetProcessingPropertiesProperty {
        RoleArn = "roleArn",

        // the properties below are optional
        ConnectionName = "connectionName",
        EventBusArn = "eventBusArn",
        KmsArn = "kmsArn"
    }
};
```

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"

cfnIntegrationResourcePropertyProps := &CfnIntegrationResourcePropertyProps{
	ResourceArn: jsii.String("resourceArn"),

	// the properties below are optional
	SourceProcessingProperties: &SourceProcessingPropertiesProperty{
		RoleArn: jsii.String("roleArn"),
	},
	Tags: []CfnTag{
		&CfnTag{
			Key: jsii.String("key"),
			Value: jsii.String("value"),
		},
	},
	TargetProcessingProperties: &TargetProcessingPropertiesProperty{
		RoleArn: jsii.String("roleArn"),

		// the properties below are optional
		ConnectionName: jsii.String("connectionName"),
		EventBusArn: jsii.String("eventBusArn"),
		KmsArn: jsii.String("kmsArn"),
	},
}
```

## Properties

- `resourceArn`: string (required) — The connection ARN of the source, or the database ARN of the target.

- `sourceProcessingProperties`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnIntegrationResourceProperty.SourceProcessingPropertiesProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_glue.CfnIntegrationResourceProperty.SourceProcessingPropertiesProperty.html) — The resource properties associated with the integration 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.

- `targetProcessingProperties`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnIntegrationResourceProperty.TargetProcessingPropertiesProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_glue.CfnIntegrationResourceProperty.TargetProcessingPropertiesProperty.html) — The structure used to define the resource properties associated with the integration target.
