# ObjectTypeFieldProperty

Represents a field in a ProfileObjectType.

- 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_customerprofiles as customerprofiles } from 'aws-cdk-lib';
const objectTypeFieldProperty: customerprofiles.CfnObjectType.ObjectTypeFieldProperty = {
  contentType: 'contentType',
  source: 'source',
  target: 'target',
};
```

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_customerprofiles as customerprofiles

object_type_field_property = customerprofiles.CfnObjectType.ObjectTypeFieldProperty(
    content_type="contentType",
    source="source",
    target="target"
)
```

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

ObjectTypeFieldProperty objectTypeFieldProperty = ObjectTypeFieldProperty.builder()
        .contentType("contentType")
        .source("source")
        .target("target")
        .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.CustomerProfiles;

var objectTypeFieldProperty = new ObjectTypeFieldProperty {
    ContentType = "contentType",
    Source = "source",
    Target = "target"
};
```

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"

objectTypeFieldProperty := &ObjectTypeFieldProperty{
	ContentType: jsii.String("contentType"),
	Source: jsii.String("source"),
	Target: jsii.String("target"),
}
```

## Properties

- `contentType`: string — The content type of the field.

  Used for determining equality when searching.

- `source`: string — A field of a ProfileObject.

  For example: _source.FirstName, where “_source” is a ProfileObjectType of a Zendesk user and “FirstName” is a field in that ObjectType.

- `target`: string — The location of the data in the standard ProfileObject model.

  For example: _profile.Address.PostalCode.
