# CustomConnectorSourcePropertiesProperty

The properties that are applied when the custom connector is being used as a source.

- Source: Generated at build time
- Type last changed: v2.93.0 · 23 Aug 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_appflow as appflow } from 'aws-cdk-lib';
const customConnectorSourcePropertiesProperty: appflow.CfnFlow.CustomConnectorSourcePropertiesProperty = {
  entityName: 'entityName',

  // the properties below are optional
  customProperties: {
    customPropertiesKey: 'customProperties',
  },
  dataTransferApi: {
    name: 'name',
    type: 'type',
  },
};
```

Python:

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

custom_connector_source_properties_property = appflow.CfnFlow.CustomConnectorSourcePropertiesProperty(
    entity_name="entityName",

    # the properties below are optional
    custom_properties={
        "custom_properties_key": "customProperties"
    },
    data_transfer_api=appflow.CfnFlow.DataTransferApiProperty(
        name="name",
        type="type"
    )
)
```

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

CustomConnectorSourcePropertiesProperty customConnectorSourcePropertiesProperty = CustomConnectorSourcePropertiesProperty.builder()
        .entityName("entityName")

        // the properties below are optional
        .customProperties(Map.of(
                "customPropertiesKey", "customProperties"))
        .dataTransferApi(DataTransferApiProperty.builder()
                .name("name")
                .type("type")
                .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.AppFlow;

var customConnectorSourcePropertiesProperty = new CustomConnectorSourcePropertiesProperty {
    EntityName = "entityName",

    // the properties below are optional
    CustomProperties = new Dictionary<string, string> {
        { "customPropertiesKey", "customProperties" }
    },
    DataTransferApi = new DataTransferApiProperty {
        Name = "name",
        Type = "type"
    }
};
```

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"

customConnectorSourcePropertiesProperty := &CustomConnectorSourcePropertiesProperty{
	EntityName: jsii.String("entityName"),

	// the properties below are optional
	CustomProperties: map[string]*string{
		"customPropertiesKey": jsii.String("customProperties"),
	},
	DataTransferApi: &DataTransferApiProperty{
		Name: jsii.String("name"),
		Type: jsii.String("type"),
	},
}
```

## Properties

- `customProperties`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | { [key: string]: string } — Custom properties that are required to use the custom connector as a source.

- `dataTransferApi`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnFlow.DataTransferApiProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_appflow.CfnFlow.DataTransferApiProperty.html) — The API of the connector application that Amazon AppFlow uses to transfer your data.

- `entityName`: string (required) — The entity specified in the custom connector as a source in the flow.
