# DataConnectorProperty

The data connector.

- 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_iottwinmaker as iottwinmaker } from 'aws-cdk-lib';
const dataConnectorProperty: iottwinmaker.CfnComponentType.DataConnectorProperty = {
  isNative: false,
  lambda: {
    arn: 'arn',
  },
};
```

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_iottwinmaker as iottwinmaker

data_connector_property = iottwinmaker.CfnComponentType.DataConnectorProperty(
    is_native=False,
    lambda_=iottwinmaker.CfnComponentType.LambdaFunctionProperty(
        arn="arn"
    )
)
```

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

DataConnectorProperty dataConnectorProperty = DataConnectorProperty.builder()
        .isNative(false)
        .lambda(LambdaFunctionProperty.builder()
                .arn("arn")
                .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.IoTTwinMaker;

var dataConnectorProperty = new DataConnectorProperty {
    IsNative = false,
    Lambda = new LambdaFunctionProperty {
        Arn = "arn"
    }
};
```

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"

dataConnectorProperty := &DataConnectorProperty{
	IsNative: jsii.Boolean(false),
	Lambda: &LambdaFunctionProperty{
		Arn: jsii.String("arn"),
	},
}
```

## Properties

- `isNative`: boolean | [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) — A boolean value that specifies whether the data connector is native to IoT TwinMaker.

- `lambda`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnComponentType.LambdaFunctionProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_iottwinmaker.CfnComponentType.LambdaFunctionProperty.html) — The Lambda function associated with the data connector.
