# CfnConnectorProps

Properties for defining a `CfnConnector`.

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

- Source: Generated at build time
- Type last changed: v2.55.0 · 14 Dec 2022

## 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 cfnConnectorProps: appflow.CfnConnectorProps = {
  connectorProvisioningConfig: {
    lambda: {
      lambdaArn: 'lambdaArn',
    },
  },
  connectorProvisioningType: 'connectorProvisioningType',

  // the properties below are optional
  connectorLabel: 'connectorLabel',
  description: 'description',
};
```

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

cfn_connector_props = appflow.CfnConnectorProps(
    connector_provisioning_config=appflow.CfnConnector.ConnectorProvisioningConfigProperty(
        lambda_=appflow.CfnConnector.LambdaConnectorProvisioningConfigProperty(
            lambda_arn="lambdaArn"
        )
    ),
    connector_provisioning_type="connectorProvisioningType",

    # the properties below are optional
    connector_label="connectorLabel",
    description="description"
)
```

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

CfnConnectorProps cfnConnectorProps = CfnConnectorProps.builder()
        .connectorProvisioningConfig(ConnectorProvisioningConfigProperty.builder()
                .lambda(LambdaConnectorProvisioningConfigProperty.builder()
                        .lambdaArn("lambdaArn")
                        .build())
                .build())
        .connectorProvisioningType("connectorProvisioningType")

        // the properties below are optional
        .connectorLabel("connectorLabel")
        .description("description")
        .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 cfnConnectorProps = new CfnConnectorProps {
    ConnectorProvisioningConfig = new ConnectorProvisioningConfigProperty {
        Lambda = new LambdaConnectorProvisioningConfigProperty {
            LambdaArn = "lambdaArn"
        }
    },
    ConnectorProvisioningType = "connectorProvisioningType",

    // the properties below are optional
    ConnectorLabel = "connectorLabel",
    Description = "description"
};
```

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"

cfnConnectorProps := &CfnConnectorProps{
	ConnectorProvisioningConfig: &ConnectorProvisioningConfigProperty{
		Lambda: &LambdaConnectorProvisioningConfigProperty{
			LambdaArn: jsii.String("lambdaArn"),
		},
	},
	ConnectorProvisioningType: jsii.String("connectorProvisioningType"),

	// the properties below are optional
	ConnectorLabel: jsii.String("connectorLabel"),
	Description: jsii.String("description"),
}
```

## Properties

- `connectorLabel`: string — The label used for registering the connector.

- `connectorProvisioningConfig`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnConnector.ConnectorProvisioningConfigProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_appflow.CfnConnector.ConnectorProvisioningConfigProperty.html) (required) — The configuration required for registering the connector.

- `connectorProvisioningType`: string (required) — The provisioning type used to register the connector.

- `description`: string — A description about the connector runtime setting.
