Class CfnObjectType
Specifies an Amazon Connect Customer Profiles Object Type Mapping.
Inherited Members
Namespace: Amazon.CDK.AWS.CustomerProfiles
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnObjectType : CfnResource, IInspectable, ITaggable
Syntax (vb)
Public Class CfnObjectType
Inherits CfnResource
Implements IInspectable, ITaggable
Remarks
CloudformationResource: AWS::CustomerProfiles::ObjectType
ExampleMetadata: fixture=_generated
Examples
// 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 cfnObjectType = new CfnObjectType(this, "MyCfnObjectType", new CfnObjectTypeProps {
Description = "description",
DomainName = "domainName",
ObjectTypeName = "objectTypeName",
// the properties below are optional
AllowProfileCreation = false,
EncryptionKey = "encryptionKey",
ExpirationDays = 123,
Fields = new [] { new FieldMapProperty {
Name = "name",
ObjectTypeField = new ObjectTypeFieldProperty {
ContentType = "contentType",
Source = "source",
Target = "target"
}
} },
Keys = new [] { new KeyMapProperty {
Name = "name",
ObjectTypeKeyList = new [] { new ObjectTypeKeyProperty {
FieldNames = new [] { "fieldNames" },
StandardIdentifiers = new [] { "standardIdentifiers" }
} }
} },
SourceLastUpdatedTimestampFormat = "sourceLastUpdatedTimestampFormat",
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} },
TemplateId = "templateId"
});
Synopsis
Constructors
CfnObjectType(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
CfnObjectType(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
CfnObjectType(Construct, String, ICfnObjectTypeProps) |
Properties
AllowProfileCreation | Indicates whether a profile should be created when data is received if one doesn’t exist for an object of this type. |
AttrCreatedAt | The timestamp of when the object type was created. |
AttrLastUpdatedAt | The timestamp of when the object type was most recently edited. |
CFN_RESOURCE_TYPE_NAME | The CloudFormation resource type name for this resource class. |
CfnProperties | |
Description | The description of the profile object type mapping. |
DomainName | The unique name of the domain. |
EncryptionKey | The customer-provided key to encrypt the profile object that will be created in this profile object type mapping. |
ExpirationDays | The number of days until the data of this type expires. |
Fields | A list of field definitions for the object type mapping. |
Keys | A list of keys that can be used to map data to the profile or search for the profile. |
ObjectTypeName | The name of the profile object type. |
SourceLastUpdatedTimestampFormat | The format of your sourceLastUpdatedTimestamp that was previously set up. |
Tags | Tag Manager which manages the tags for this resource. |
TagsRaw | The tags used to organize, track, or control access for this resource. |
TemplateId | A unique identifier for the template mapping. |
Methods
Inspect(TreeInspector) | Examines the CloudFormation resource and discloses attributes. |
RenderProperties(IDictionary<String, Object>) |
Constructors
CfnObjectType(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected CfnObjectType(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
CfnObjectType(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected CfnObjectType(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
CfnObjectType(Construct, String, ICfnObjectTypeProps)
public CfnObjectType(Construct scope, string id, ICfnObjectTypeProps props)
Parameters
- scope Constructs.Construct
Scope in which this resource is defined.
- id System.String
Construct identifier for this resource (unique in its scope).
- props ICfnObjectTypeProps
Resource properties.
Properties
AllowProfileCreation
Indicates whether a profile should be created when data is received if one doesn’t exist for an object of this type.
public virtual object AllowProfileCreation { get; set; }
Property Value
System.Object
AttrCreatedAt
The timestamp of when the object type was created.
public virtual string AttrCreatedAt { get; }
Property Value
System.String
Remarks
CloudformationAttribute: CreatedAt
AttrLastUpdatedAt
The timestamp of when the object type was most recently edited.
public virtual string AttrLastUpdatedAt { get; }
Property Value
System.String
Remarks
CloudformationAttribute: LastUpdatedAt
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
public static string CFN_RESOURCE_TYPE_NAME { get; }
Property Value
System.String
CfnProperties
protected override IDictionary<string, object> CfnProperties { get; }
Property Value
System.Collections.Generic.IDictionary<System.String, System.Object>
Overrides
Description
The description of the profile object type mapping.
public virtual string Description { get; set; }
Property Value
System.String
DomainName
The unique name of the domain.
public virtual string DomainName { get; set; }
Property Value
System.String
EncryptionKey
The customer-provided key to encrypt the profile object that will be created in this profile object type mapping.
public virtual string EncryptionKey { get; set; }
Property Value
System.String
ExpirationDays
The number of days until the data of this type expires.
public virtual Nullable<double> ExpirationDays { get; set; }
Property Value
System.Nullable<System.Double>
Fields
A list of field definitions for the object type mapping.
public virtual object Fields { get; set; }
Property Value
System.Object
Keys
A list of keys that can be used to map data to the profile or search for the profile.
public virtual object Keys { get; set; }
Property Value
System.Object
ObjectTypeName
The name of the profile object type.
public virtual string ObjectTypeName { get; set; }
Property Value
System.String
SourceLastUpdatedTimestampFormat
The format of your sourceLastUpdatedTimestamp that was previously set up.
public virtual string SourceLastUpdatedTimestampFormat { get; set; }
Property Value
System.String
Tags
Tag Manager which manages the tags for this resource.
public virtual TagManager Tags { get; }
Property Value
TagsRaw
The tags used to organize, track, or control access for this resource.
public virtual ICfnTag[] TagsRaw { get; set; }
Property Value
ICfnTag[]
TemplateId
A unique identifier for the template mapping.
public virtual string TemplateId { get; set; }
Property Value
System.String
Methods
Inspect(TreeInspector)
Examines the CloudFormation resource and discloses attributes.
public virtual void Inspect(TreeInspector inspector)
Parameters
- inspector TreeInspector
tree inspector to collect and process attributes.
RenderProperties(IDictionary<String, Object>)
protected override IDictionary<string, object> RenderProperties(IDictionary<string, object> props)
Parameters
- props System.Collections.Generic.IDictionary<System.String, System.Object>
Returns
System.Collections.Generic.IDictionary<System.String, System.Object>