FieldMapProperty Struct
A map of the name and ObjectType field.
| Source | |
|---|---|
| Type last changed |
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 fieldMapProperty: customerprofiles.CfnObjectType.FieldMapProperty = {
name: 'name',
objectTypeField: {
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
field_map_property = customerprofiles.CfnObjectType.FieldMapProperty(
name="name",
object_type_field=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.*;
FieldMapProperty fieldMapProperty = FieldMapProperty.builder()
.name("name")
.objectTypeField(ObjectTypeFieldProperty.builder()
.contentType("contentType")
.source("source")
.target("target")
.build())
.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 fieldMapProperty = new FieldMapProperty {
Name = "name",
ObjectTypeField = 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"
fieldMapProperty := &FieldMapProperty{
Name: jsii.String("name"),
ObjectTypeField: &ObjectTypeFieldProperty{
ContentType: jsii.String("contentType"),
Source: jsii.String("source"),
Target: jsii.String("target"),
},
}
Properties
Name of the field.
objectTypeFieldoptionalIResolvable | CfnObjectType.object_type_fieldoptionaltyping.Union[IResolvable, ObjectTypeFieldProperty]objectTypeFieldoptionalIResolvableObjectTypeFieldoptionalIResolvableObjectTypeFieldoptionalinterface{} #Represents a field in a ProfileObjectType.