# FieldMapProperty

A map of the name and ObjectType field.

- 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 fieldMapProperty: customerprofiles.CfnObjectType.FieldMapProperty = {
  name: 'name',
  objectTypeField: {
    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

field_map_property = customerprofiles.CfnObjectType.FieldMapProperty(
    name="name",
    object_type_field=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.*;

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

var fieldMapProperty = new FieldMapProperty {
    Name = "name",
    ObjectTypeField = 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"

fieldMapProperty := &FieldMapProperty{
	Name: jsii.String("name"),
	ObjectTypeField: &ObjectTypeFieldProperty{
		ContentType: jsii.String("contentType"),
		Source: jsii.String("source"),
		Target: jsii.String("target"),
	},
}
```

## Properties

- `name`: string — Name of the field.

- `objectTypeField`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnObjectType.ObjectTypeFieldProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_customerprofiles.CfnObjectType.ObjectTypeFieldProperty.html) — Represents a field in a ProfileObjectType.
