Class CfnDomainObjectTypeProps
Properties for defining a CfnDomainObjectType.
Implements
Inherited Members
Namespace: Amazon.CDK.AWS.CustomerProfiles
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnDomainObjectTypeProps : ICfnDomainObjectTypeProps
Syntax (vb)
Public Class CfnDomainObjectTypeProps Implements ICfnDomainObjectTypeProps
Remarks
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 cfnDomainObjectTypeProps = new CfnDomainObjectTypeProps {
DomainName = "domainName",
Fields = new Dictionary<string, object> {
{ "fieldsKey", new DomainObjectTypeFieldProperty {
Source = "source",
Target = "target",
// the properties below are optional
ContentType = "contentType",
FeatureType = "featureType"
} }
},
ObjectTypeName = "objectTypeName",
// the properties below are optional
Description = "description",
EncryptionKey = "encryptionKey",
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
};
Synopsis
Constructors
| CfnDomainObjectTypeProps() | Properties for defining a |
Properties
| Description | Description of the domain object type. |
| DomainName | The unique name of the domain. |
| EncryptionKey | The default encryption key. |
| Fields | A map of the name and ObjectType field. |
| ObjectTypeName | The name of the domain object type. |
| Tags | An array of key-value pairs to apply to this resource. |
Constructors
CfnDomainObjectTypeProps()
Properties for defining a CfnDomainObjectType.
public CfnDomainObjectTypeProps()
Remarks
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 cfnDomainObjectTypeProps = new CfnDomainObjectTypeProps {
DomainName = "domainName",
Fields = new Dictionary<string, object> {
{ "fieldsKey", new DomainObjectTypeFieldProperty {
Source = "source",
Target = "target",
// the properties below are optional
ContentType = "contentType",
FeatureType = "featureType"
} }
},
ObjectTypeName = "objectTypeName",
// the properties below are optional
Description = "description",
EncryptionKey = "encryptionKey",
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
};
Properties
Description
Description of the domain object type.
public string? Description { get; set; }
Property Value
Remarks
DomainName
The unique name of the domain.
public string DomainName { get; set; }
Property Value
Remarks
EncryptionKey
The default encryption key.
public string? EncryptionKey { get; set; }
Property Value
Remarks
Fields
A map of the name and ObjectType field.
public object Fields { get; set; }
Property Value
Remarks
Type union: either IResolvable or Dictionary<string, either IResolvable or CfnDomainObjectType.IDomainObjectTypeFieldProperty>
ObjectTypeName
The name of the domain object type.
public string ObjectTypeName { get; set; }
Property Value
Remarks
Tags
An array of key-value pairs to apply to this resource.
public ICfnTag[]? Tags { get; set; }
Property Value
ICfnTag[]