Interface CfnObjectTypeProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnObjectTypeProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:29:56.075Z")
@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() .domainName("domainName") // the properties below are optional .allowProfileCreation(false) .description("description") .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())) .objectTypeName("objectTypeName") .tags(List.of(CfnTag.builder() .key("key") .value("value") .build())) .templateId("templateId") .build();
-
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.default String
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.default String
The name of the profile object type.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
-
getDomainName
The unique name of the domain. -
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. -
getDescription
The description of the profile object type mapping. -
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.
-
getExpirationDays
The number of days until the data of this type expires. -
getFields
A list of field definitions for the object type mapping. -
getKeys
A list of keys that can be used to map data to the profile or search for the profile. -
getObjectTypeName
The name of the profile object type. -
getTags
The tags used to organize, track, or control access for this resource. -
getTemplateId
A unique identifier for the template mapping.This can be used instead of specifying the Keys and Fields properties directly.
-
builder
- Returns:
- a
CfnObjectTypeProps.Builder
ofCfnObjectTypeProps
-