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.
Syntax
To declare this entity in your AWS CloudFormation template, use the following syntax:
JSON
{ "Type" : "AWS::FraudDetector::EventType", "Properties" : { "Description" :
String
, "EntityTypes" :[ EntityType, ... ]
, "EventVariables" :[ EventVariable, ... ]
, "Labels" :[ Label, ... ]
, "Name" :String
, "Tags" :[ Tag, ... ]
} }
YAML
Type: AWS::FraudDetector::EventType Properties: Description:
String
EntityTypes:- EntityType
EventVariables:- EventVariable
Labels:- Label
Name:String
Tags:- Tag
Properties
Description
-
The event type description.
Required: No
Type: String
Minimum:
1
Maximum:
128
Update requires: No interruption
EntityTypes
-
The event type entity types.
Required: Yes
Type: Array of EntityType
Minimum:
1
Update requires: No interruption
EventVariables
-
The event type event variables.
Required: Yes
Type: Array of EventVariable
Minimum:
1
Update requires: No interruption
Labels
-
The event type labels.
Required: Yes
Type: Array of Label
Minimum:
2
Update requires: No interruption
Name
-
The event type name.
Pattern :
^[0-9a-z_-]+$
Required: Yes
Type: String
Pattern:
^[0-9a-z_-]+$
Minimum:
1
Maximum:
64
Update requires: Replacement
-
An array of key-value pairs to apply to this resource.
For more information, see Tag.
Required: No
Type: Array of Tag
Maximum:
200
Update requires: No interruption
Return values
Ref
When you pass the logical ID of this resource to the intrinsic Ref
function, Ref
returns the primary identifier for the resource, which is the Arn.
Example: {"Ref": "arn:aws:frauddetector:us-west-2:123123123123:outcome/outcome_name"}
For more information about using the Ref
function, see Ref
.
Fn::GetAtt
The Fn::GetAtt
intrinsic function returns a value for a specified attribute of this type. The following are the available attributes and sample return values.
For more information about using the Fn::GetAtt
intrinsic function, see Fn::GetAtt
.
Arn
-
The event type ARN.
CreatedTime
-
Timestamp of when event type was created.
LastUpdatedTime
-
Timestamp of when event type was last updated.
See also
-
PutEventType in the Amazon Fraud Detector API Reference
-
Create event types in the Amazon Fraud Detector User Guide