Class CfnEventType
java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.core.Construct
software.amazon.awscdk.core.CfnElement
software.amazon.awscdk.core.CfnRefElement
software.amazon.awscdk.core.CfnResource
software.amazon.awscdk.services.frauddetector.CfnEventType
- All Implemented Interfaces:
IConstruct,IDependable,IInspectable,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:29:56.823Z")
@Stability(Stable)
public class CfnEventType
extends CfnResource
implements IInspectable
A CloudFormation
AWS::FraudDetector::EventType.
Manages an event type. An event is a business activity that is evaluated for fraud risk. With Amazon Fraud Detector, you generate fraud predictions for events. An event type defines the structure for an event sent to Amazon Fraud Detector. This includes the variables sent as part of the event, the entity performing the event (such as a customer), and the labels that classify the event. Example event types include online payment transactions, account registrations, and authentications.
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.*;
CfnEventType cfnEventType = CfnEventType.Builder.create(this, "MyCfnEventType")
.entityTypes(List.of(EntityTypeProperty.builder()
.arn("arn")
.createdTime("createdTime")
.description("description")
.inline(false)
.lastUpdatedTime("lastUpdatedTime")
.name("name")
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build()))
.eventVariables(List.of(EventVariableProperty.builder()
.arn("arn")
.createdTime("createdTime")
.dataSource("dataSource")
.dataType("dataType")
.defaultValue("defaultValue")
.description("description")
.inline(false)
.lastUpdatedTime("lastUpdatedTime")
.name("name")
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.variableType("variableType")
.build()))
.labels(List.of(LabelProperty.builder()
.arn("arn")
.createdTime("createdTime")
.description("description")
.inline(false)
.lastUpdatedTime("lastUpdatedTime")
.name("name")
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build()))
.name("name")
// the properties below are optional
.description("description")
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classA fluent builder forCfnEventType.static interfaceThe entity type details.static interfaceThe variables associated with this event type.static interfaceThe label associated with the event type.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.core.IConstruct
IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.amazon.awscdk.core.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$Proxy -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe CloudFormation resource type name for this resource class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionCfnEventType(Construct scope, String id, CfnEventTypeProps props) Create a newAWS::FraudDetector::EventType.protectedCfnEventType(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnEventType(software.amazon.jsii.JsiiObjectRef objRef) -
Method Summary
Modifier and TypeMethodDescriptionThe event type ARN.Timestamp of when event type was created.Timestamp of when event type was last updated.The event type description.The event type entity types.The event type event variables.The event type labels.getName()The event type name.getTags()An array of key-value pairs to apply to this resource.voidinspect(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.renderProperties(Map<String, Object> props) voidsetDescription(String value) The event type description.voidsetEntityTypes(List<Object> value) The event type entity types.voidsetEntityTypes(IResolvable value) The event type entity types.voidsetEventVariables(List<Object> value) The event type event variables.voidsetEventVariables(IResolvable value) The event type event variables.voidThe event type labels.voidsetLabels(IResolvable value) The event type labels.voidThe event type name.Methods inherited from class software.amazon.awscdk.core.CfnResource
addDeletionOverride, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, isCfnResource, shouldSynthesize, toString, validatePropertiesMethods inherited from class software.amazon.awscdk.core.CfnRefElement
getRefMethods inherited from class software.amazon.awscdk.core.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdMethods inherited from class software.amazon.awscdk.core.Construct
getNode, isConstruct, onPrepare, onSynthesize, onValidate, prepare, synthesize, validateMethods 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
-
CfnEventType
protected CfnEventType(software.amazon.jsii.JsiiObjectRef objRef) -
CfnEventType
protected CfnEventType(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnEventType
@Stability(Stable) public CfnEventType(@NotNull Construct scope, @NotNull String id, @NotNull CfnEventTypeProps props) Create a newAWS::FraudDetector::EventType.- Parameters:
scope-- scope in which this resource is defined.
id-- scoped id of the resource.
props-- resource properties.
-
-
Method Details
-
inspect
Examines the CloudFormation resource and discloses attributes.- Specified by:
inspectin interfaceIInspectable- Parameters:
inspector-- tree inspector to collect and process attributes.
-
renderProperties
@Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String, Object> props) - Overrides:
renderPropertiesin classCfnResource- Parameters:
props- This parameter is required.
-
getAttrArn
The event type ARN. -
getAttrCreatedTime
Timestamp of when event type was created. -
getAttrLastUpdatedTime
Timestamp of when event type was last updated. -
getCfnProperties
- Overrides:
getCfnPropertiesin classCfnResource
-
getTags
An array of key-value pairs to apply to this resource.For more information, see Tag .
-
getEntityTypes
The event type entity types. -
setEntityTypes
The event type entity types. -
setEntityTypes
The event type entity types. -
getEventVariables
The event type event variables. -
setEventVariables
The event type event variables. -
setEventVariables
The event type event variables. -
getLabels
The event type labels. -
setLabels
The event type labels. -
setLabels
The event type labels. -
getName
The event type name.Pattern :
^[0-9a-z_-]+$ -
setName
The event type name.Pattern :
^[0-9a-z_-]+$ -
getDescription
The event type description. -
setDescription
The event type description.
-