@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:39.413Z") @Stability(value=Stable) 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. |
software.amazon.jsii.JsiiObject.InitializationModeIInspectable.Jsii$Default, IInspectable.Jsii$Proxy| Modifier and Type | Field and Description |
|---|---|
static String |
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
|
| Modifier | Constructor and Description |
|---|---|
|
CfnEntityType(software.constructs.Construct scope,
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 |
|---|---|
String |
getAttrArn()
The entity type ARN.
|
String |
getAttrCreatedTime()
Timestamp of when entity type was created.
|
String |
getAttrLastUpdatedTime()
Timestamp of when entity type was last updated.
|
protected Map<String,Object> |
getCfnProperties() |
String |
getDescription()
The entity type description.
|
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 Map<String,Object> |
renderProperties(Map<String,Object> props) |
void |
setDescription(String value)
The entity type description.
|
void |
setName(String value)
The entity type name.
|
addDeletionOverride, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, shouldSynthesize, toString, validatePropertiesgetRefgetCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdjsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet@Stability(value=Stable) public static final String CFN_RESOURCE_TYPE_NAME
protected CfnEntityType(software.amazon.jsii.JsiiObjectRef objRef)
protected CfnEntityType(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable)
public CfnEntityType(@NotNull
software.constructs.Construct scope,
@NotNull
String id,
@NotNull
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.@Stability(value=Stable)
public void inspect(@NotNull
TreeInspector inspector)
inspect in interface IInspectableinspector - - tree inspector to collect and process attributes. This parameter is required.@Stability(value=Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String,Object> props)
renderProperties in class CfnResourceprops - This parameter is required.@Stability(value=Stable) @NotNull public String getAttrArn()
@Stability(value=Stable) @NotNull public String getAttrCreatedTime()
@Stability(value=Stable) @NotNull public String getAttrLastUpdatedTime()
@Stability(value=Stable) @NotNull protected Map<String,Object> getCfnProperties()
getCfnProperties in class CfnResource@Stability(value=Stable) @NotNull public TagManager getTags()
@Stability(value=Stable) @NotNull public String getName()
Pattern: ^[0-9a-z_-]+$
@Stability(value=Stable)
public void setName(@NotNull
String value)
Pattern: ^[0-9a-z_-]+$
@Stability(value=Stable) @Nullable public String getDescription()
@Stability(value=Stable)
public void setDescription(@Nullable
String value)
Copyright © 2022. All rights reserved.