Skip to content
v2.277.0

ObjectTypeFieldProperty Struct ​

Represents a field in a ProfileObjectType.

Example ​

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
# 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
// 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();
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"
};
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 ​

contentTypeoptionalstringcontent_typeoptionalstrcontentTypeoptionalStringContentTypeoptionalstringContentTypeoptional*string#
The content type of the field.

Used for determining equality when searching.

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

targetoptionalstringtargetoptionalstrtargetoptionalStringTargetoptionalstringTargetoptional*string#
The location of the data in the standard ProfileObject model.

For example: _profile.Address.PostalCode.