Interface CfnObjectTypeProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnObjectTypeProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.104.0 (build e79254c)",
date="2024-11-06T23:25:06.717Z")
@Stability(Stable)
public interface CfnObjectTypeProps
extends software.amazon.jsii.JsiiSerializable
Properties for defining a
CfnObjectType.
Example:
// 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.*;
CfnObjectTypeProps cfnObjectTypeProps = CfnObjectTypeProps.builder()
.description("description")
.domainName("domainName")
.objectTypeName("objectTypeName")
// the properties below are optional
.allowProfileCreation(false)
.encryptionKey("encryptionKey")
.expirationDays(123)
.fields(List.of(FieldMapProperty.builder()
.name("name")
.objectTypeField(ObjectTypeFieldProperty.builder()
.contentType("contentType")
.source("source")
.target("target")
.build())
.build()))
.keys(List.of(KeyMapProperty.builder()
.name("name")
.objectTypeKeyList(List.of(ObjectTypeKeyProperty.builder()
.fieldNames(List.of("fieldNames"))
.standardIdentifiers(List.of("standardIdentifiers"))
.build()))
.build()))
.sourceLastUpdatedTimestampFormat("sourceLastUpdatedTimestampFormat")
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.templateId("templateId")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnObjectTypePropsstatic final classAn implementation forCfnObjectTypeProps -
Method Summary
Modifier and TypeMethodDescriptionstatic CfnObjectTypeProps.Builderbuilder()default ObjectIndicates whether a profile should be created when data is received if one doesn’t exist for an object of this type.The description of the profile object type mapping.The unique name of the domain.default StringThe customer-provided key to encrypt the profile object that will be created in this profile object type mapping.default NumberThe number of days until the data of this type expires.default ObjectA list of field definitions for the object type mapping.default ObjectgetKeys()A list of keys that can be used to map data to the profile or search for the profile.The name of the profile object type.default StringThe format of your sourceLastUpdatedTimestamp that was previously set up.getTags()The tags used to organize, track, or control access for this resource.default StringA unique identifier for the template mapping.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getDescription
The description of the profile object type mapping.- See Also:
-
getDomainName
The unique name of the domain.- See Also:
-
getObjectTypeName
The name of the profile object type.- See Also:
-
getAllowProfileCreation
Indicates whether a profile should be created when data is received if one doesn’t exist for an object of this type.The default is
FALSE. If the AllowProfileCreation flag is set toFALSE, then the service tries to fetch a standard profile and associate this object with the profile. If it is set toTRUE, and if no match is found, then the service creates a new standard profile.- See Also:
-
getEncryptionKey
The customer-provided key to encrypt the profile object that will be created in this profile object type mapping.If not specified the system will use the encryption key of the domain.
- See Also:
-
getExpirationDays
The number of days until the data of this type expires.- See Also:
-
getFields
A list of field definitions for the object type mapping.- See Also:
-
getKeys
A list of keys that can be used to map data to the profile or search for the profile.- See Also:
-
getSourceLastUpdatedTimestampFormat
The format of your sourceLastUpdatedTimestamp that was previously set up.- See Also:
-
getTags
The tags used to organize, track, or control access for this resource.- See Also:
-
getTemplateId
A unique identifier for the template mapping.This can be used instead of specifying the Keys and Fields properties directly.
- See Also:
-
builder
- Returns:
- a
CfnObjectTypeProps.BuilderofCfnObjectTypeProps
-