Class CfnObjectType
java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.CfnElement
software.amazon.awscdk.CfnRefElement
software.amazon.awscdk.CfnResource
software.amazon.awscdk.services.customerprofiles.CfnObjectType
- All Implemented Interfaces:
IInspectable,ITaggable,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.110.0 (build 336b265)",
date="2025-04-22T23:08:09.960Z")
@Stability(Stable)
public class CfnObjectType
extends CfnResource
implements IInspectable, ITaggable
Specifies an Amazon Connect Customer Profiles Object Type Mapping.
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.*;
CfnObjectType cfnObjectType = CfnObjectType.Builder.create(this, "MyCfnObjectType")
.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 TypeClassDescriptionstatic final classA fluent builder forCfnObjectType.static interfaceA map of the name and ObjectType field.static interfaceA unique key map that can be used to map data to the profile.static interfaceRepresents a field in a ProfileObjectType.static interfaceAn object that defines the Key element of a ProfileObject.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.amazon.awscdk.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.ITaggable
ITaggable.Jsii$Default, ITaggable.Jsii$Proxy -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe CloudFormation resource type name for this resource class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCfnObjectType(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnObjectType(software.amazon.jsii.JsiiObjectRef objRef) CfnObjectType(software.constructs.Construct scope, String id, CfnObjectTypeProps props) -
Method Summary
Modifier and TypeMethodDescriptionIndicates whether a profile should be created when data is received if one doesn’t exist for an object of this type.The timestamp of when the object type was created.The timestamp of when the object type was most recently edited.The description of the profile object type mapping.The unique name of the domain.The customer-provided key to encrypt the profile object that will be created in this profile object type mapping.The number of days until the data of this type expires.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.The name of the profile object type.The format of your sourceLastUpdatedTimestamp that was previously set up.getTags()Tag Manager which manages the tags for this resource.The tags used to organize, track, or control access for this resource.A unique identifier for the template mapping.voidinspect(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.renderProperties(Map<String, Object> props) voidsetAllowProfileCreation(Boolean value) Indicates whether a profile should be created when data is received if one doesn’t exist for an object of this type.voidIndicates whether a profile should be created when data is received if one doesn’t exist for an object of this type.voidsetDescription(String value) The description of the profile object type mapping.voidsetDomainName(String value) The unique name of the domain.voidsetEncryptionKey(String value) The customer-provided key to encrypt the profile object that will be created in this profile object type mapping.voidsetExpirationDays(Number value) The number of days until the data of this type expires.voidA list of field definitions for the object type mapping.voidsetFields(IResolvable value) A list of field definitions for the object type mapping.voidA list of keys that can be used to map data to the profile or search for the profile.voidsetKeys(IResolvable value) A list of keys that can be used to map data to the profile or search for the profile.voidsetObjectTypeName(String value) The name of the profile object type.voidThe format of your sourceLastUpdatedTimestamp that was previously set up.voidsetTagsRaw(List<CfnTag> value) The tags used to organize, track, or control access for this resource.voidsetTemplateId(String value) A unique identifier for the template mapping.Methods inherited from class software.amazon.awscdk.CfnResource
addDeletionOverride, addDependency, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, obtainDependencies, obtainResourceDependencies, removeDependency, replaceDependency, shouldSynthesize, toString, validatePropertiesMethods inherited from class software.amazon.awscdk.CfnRefElement
getRefMethods inherited from class software.amazon.awscdk.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdMethods inherited from class software.constructs.Construct
getNode, isConstructMethods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
-
-
Constructor Details
-
CfnObjectType
protected CfnObjectType(software.amazon.jsii.JsiiObjectRef objRef) -
CfnObjectType
protected CfnObjectType(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnObjectType
@Stability(Stable) public CfnObjectType(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CfnObjectTypeProps props) - Parameters:
scope- Scope in which this resource is defined. This parameter is required.id- Construct identifier for this resource (unique in its scope). This parameter is required.props- Resource properties. This parameter is required.
-
-
Method Details
-
inspect
Examines the CloudFormation resource and discloses attributes.- Specified by:
inspectin interfaceIInspectable- Parameters:
inspector- tree inspector to collect and process attributes. This parameter is required.
-
renderProperties
@Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String, Object> props) - Overrides:
renderPropertiesin classCfnResource- Parameters:
props- This parameter is required.
-
getAttrCreatedAt
The timestamp of when the object type was created. -
getAttrLastUpdatedAt
The timestamp of when the object type was most recently edited. -
getCfnProperties
- Overrides:
getCfnPropertiesin classCfnResource
-
getTags
Tag Manager which manages the tags for this resource. -
getDescription
The description of the profile object type mapping. -
setDescription
The description of the profile object type mapping. -
getDomainName
The unique name of the domain. -
setDomainName
The unique name of the domain. -
getObjectTypeName
The name of the profile object type. -
setObjectTypeName
The name of the profile object type. -
getAllowProfileCreation
Indicates whether a profile should be created when data is received if one doesn’t exist for an object of this type. -
setAllowProfileCreation
Indicates whether a profile should be created when data is received if one doesn’t exist for an object of this type. -
setAllowProfileCreation
Indicates whether a profile should be created when data is received if one doesn’t exist for an object of this type. -
getEncryptionKey
The customer-provided key to encrypt the profile object that will be created in this profile object type mapping. -
setEncryptionKey
The customer-provided key to encrypt the profile object that will be created in this profile object type mapping. -
getExpirationDays
The number of days until the data of this type expires. -
setExpirationDays
The number of days until the data of this type expires. -
getFields
A list of field definitions for the object type mapping. -
setFields
A list of field definitions for the object type mapping. -
setFields
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. -
setKeys
A list of keys that can be used to map data to the profile or search for the profile. -
setKeys
A list of keys that can be used to map data to the profile or search for the profile. -
getSourceLastUpdatedTimestampFormat
The format of your sourceLastUpdatedTimestamp that was previously set up. -
setSourceLastUpdatedTimestampFormat
The format of your sourceLastUpdatedTimestamp that was previously set up. -
getTagsRaw
The tags used to organize, track, or control access for this resource. -
setTagsRaw
The tags used to organize, track, or control access for this resource. -
getTemplateId
A unique identifier for the template mapping. -
setTemplateId
A unique identifier for the template mapping.
-