Interface CfnObjectTypeProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnObjectTypeProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.97.0 (build 729de35)",
date="2024-04-18T17:54:14.892Z")
@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
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnObjectTypeProps
static final class
An implementation forCfnObjectTypeProps
-
Method Summary
Modifier and TypeMethodDescriptionstatic CfnObjectTypeProps.Builder
builder()
default Object
Indicates 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 String
The customer-provided key to encrypt the profile object that will be created in this profile object type mapping.default Number
The number of days until the data of this type expires.default Object
A list of field definitions for the object type mapping.default Object
getKeys()
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 String
The format of your sourceLastUpdatedTimestamp that was previously set up.getTags()
The tags used to organize, track, or control access for this resource.default String
A 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.Builder
ofCfnObjectTypeProps
-