# DomainObjectTypeFieldProperty

Represents a field in a DomainObjectType.

- Source: Generated at build time
- Type last changed: v2.253.0 · 6 May 2026

## 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 domainObjectTypeFieldProperty: customerprofiles.CfnDomainObjectType.DomainObjectTypeFieldProperty = {
  source: 'source',
  target: 'target',

  // the properties below are optional
  contentType: 'contentType',
  featureType: 'featureType',
};
```

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

domain_object_type_field_property = customerprofiles.CfnDomainObjectType.DomainObjectTypeFieldProperty(
    source="source",
    target="target",

    # the properties below are optional
    content_type="contentType",
    feature_type="featureType"
)
```

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

DomainObjectTypeFieldProperty domainObjectTypeFieldProperty = DomainObjectTypeFieldProperty.builder()
        .source("source")
        .target("target")

        // the properties below are optional
        .contentType("contentType")
        .featureType("featureType")
        .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 domainObjectTypeFieldProperty = new DomainObjectTypeFieldProperty {
    Source = "source",
    Target = "target",

    // the properties below are optional
    ContentType = "contentType",
    FeatureType = "featureType"
};
```

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"

domainObjectTypeFieldProperty := &DomainObjectTypeFieldProperty{
	Source: jsii.String("source"),
	Target: jsii.String("target"),

	// the properties below are optional
	ContentType: jsii.String("contentType"),
	FeatureType: jsii.String("featureType"),
}
```

## Properties

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

- `featureType`: string — The feature type of the field.

- `source`: string (required) — The source field name.

- `target`: string (required) — The target field name.
