Skip to content
v2.278.0

DomainObjectTypeFieldProperty Struct ​

Represents a field in a DomainObjectType.

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

  // the properties below are optional
  contentType: 'contentType',
  featureType: 'featureType',
};
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
// 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();
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"
};
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 ​

contentTypeoptionalstringcontent_typeoptionalstrcontentTypeoptionalStringContentTypeoptionalstringContentTypeoptional*string #
The content type of the field.
featureTypeoptionalstringfeature_typeoptionalstrfeatureTypeoptionalStringFeatureTypeoptionalstringFeatureTypeoptional*string #
The feature type of the field.
sourcestringsourcestrsourceStringSourcestringSource*string required #
The source field name.
targetstringtargetstrtargetStringTargetstringTarget*string required #
The target field name.