@Generated(value="jsii-pacmak/1.74.0 (build 6d08790)", date="2023-03-14T16:25:21.824Z") public class CfnEntityType extends CfnResource implements IInspectable
Manages an entity type. An entity represents who is performing the event. As part of a fraud prediction, you pass the entity ID to indicate the specific entity who performed the event. An entity type classifies the entity. Example classifications include customer, merchant, or account.
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.frauddetector.*; CfnEntityType cfnEntityType = CfnEntityType.Builder.create(this, "MyCfnEntityType") .name("name") // the properties below are optional .description("description") .tags(List.of(CfnTag.builder() .key("key") .value("value") .build())) .build();
Modifier and Type | Class and Description |
---|---|
static class |
CfnEntityType.Builder
A fluent builder for
CfnEntityType . |
IInspectable.Jsii$Default, IInspectable.Jsii$Proxy
IConstruct.Jsii$Default
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
|
Modifier | Constructor and Description |
---|---|
|
CfnEntityType(Construct scope,
java.lang.String id,
CfnEntityTypeProps props)
Create a new `AWS::FraudDetector::EntityType`.
|
protected |
CfnEntityType(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
CfnEntityType(software.amazon.jsii.JsiiObjectRef objRef) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAttrArn()
The entity type ARN.
|
java.lang.String |
getAttrCreatedTime()
Timestamp of when entity type was created.
|
java.lang.String |
getAttrLastUpdatedTime()
Timestamp of when entity type was last updated.
|
protected java.util.Map<java.lang.String,java.lang.Object> |
getCfnProperties() |
java.lang.String |
getDescription()
The entity type description.
|
java.lang.String |
getName()
The entity type name.
|
TagManager |
getTags()
A key and value pair.
|
void |
inspect(TreeInspector inspector)
Examines the CloudFormation resource and discloses attributes.
|
protected java.util.Map<java.lang.String,java.lang.Object> |
renderProperties(java.util.Map<java.lang.String,java.lang.Object> props) |
void |
setDescription(java.lang.String value)
The entity type description.
|
void |
setName(java.lang.String value)
The entity type name.
|
addDeletionOverride, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, isCfnResource, shouldSynthesize, toString, validateProperties
getRef
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalId
getNode, isConstruct, onPrepare, onSynthesize, onValidate, prepare, synthesize, validate
public static final java.lang.String CFN_RESOURCE_TYPE_NAME
protected CfnEntityType(software.amazon.jsii.JsiiObjectRef objRef)
protected CfnEntityType(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
public CfnEntityType(Construct scope, java.lang.String id, CfnEntityTypeProps props)
scope
- - scope in which this resource is defined. This parameter is required.id
- - scoped id of the resource. This parameter is required.props
- - resource properties. This parameter is required.public void inspect(TreeInspector inspector)
inspect
in interface IInspectable
inspector
- - tree inspector to collect and process attributes. This parameter is required.protected java.util.Map<java.lang.String,java.lang.Object> renderProperties(java.util.Map<java.lang.String,java.lang.Object> props)
renderProperties
in class CfnResource
props
- This parameter is required.public java.lang.String getAttrArn()
public java.lang.String getAttrCreatedTime()
public java.lang.String getAttrLastUpdatedTime()
protected java.util.Map<java.lang.String,java.lang.Object> getCfnProperties()
getCfnProperties
in class CfnResource
public TagManager getTags()
public java.lang.String getName()
Pattern: ^[0-9a-z_-]+$
public void setName(java.lang.String value)
Pattern: ^[0-9a-z_-]+$
public java.lang.String getDescription()
public void setDescription(java.lang.String value)