Class CfnEventType
A CloudFormation AWS::FraudDetector::EventType
.
Inherited Members
Namespace: Amazon.CDK.AWS.FraudDetector
Assembly: Amazon.CDK.AWS.FraudDetector.dll
Syntax (csharp)
public class CfnEventType : CfnResource, IConstruct, IDependable, IInspectable
Syntax (vb)
Public Class CfnEventType
Inherits CfnResource
Implements IConstruct, IDependable, IInspectable
Remarks
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.
CloudformationResource: AWS::FraudDetector::EventType
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.FraudDetector;
var cfnEventType = new CfnEventType(this, "MyCfnEventType", new CfnEventTypeProps {
EntityTypes = new [] { new EntityTypeProperty {
Arn = "arn",
CreatedTime = "createdTime",
Description = "description",
Inline = false,
LastUpdatedTime = "lastUpdatedTime",
Name = "name",
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
} },
EventVariables = new [] { new EventVariableProperty {
Arn = "arn",
CreatedTime = "createdTime",
DataSource = "dataSource",
DataType = "dataType",
DefaultValue = "defaultValue",
Description = "description",
Inline = false,
LastUpdatedTime = "lastUpdatedTime",
Name = "name",
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} },
VariableType = "variableType"
} },
Labels = new [] { new LabelProperty {
Arn = "arn",
CreatedTime = "createdTime",
Description = "description",
Inline = false,
LastUpdatedTime = "lastUpdatedTime",
Name = "name",
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
} },
Name = "name",
// the properties below are optional
Description = "description",
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
});
Synopsis
Constructors
CfnEventType(Construct, String, ICfnEventTypeProps) | Create a new |
CfnEventType(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
CfnEventType(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
Properties
AttrArn | The event type ARN. |
AttrCreatedTime | Timestamp of when event type was created. |
AttrLastUpdatedTime | Timestamp of when event type was last updated. |
CFN_RESOURCE_TYPE_NAME | The CloudFormation resource type name for this resource class. |
CfnProperties | |
Description | The event type description. |
EntityTypes | The event type entity types. |
EventVariables | The event type event variables. |
Labels | The event type labels. |
Name | The event type name. |
Tags | An array of key-value pairs to apply to this resource. |
Methods
Inspect(TreeInspector) | Examines the CloudFormation resource and discloses attributes. |
RenderProperties(IDictionary<String, Object>) |
Constructors
CfnEventType(Construct, String, ICfnEventTypeProps)
Create a new AWS::FraudDetector::EventType
.
public CfnEventType(Construct scope, string id, ICfnEventTypeProps props)
Parameters
- scope Construct
- scope in which this resource is defined.
- id System.String
- scoped id of the resource.
- props ICfnEventTypeProps
- resource properties.
CfnEventType(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected CfnEventType(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
CfnEventType(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected CfnEventType(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
Properties
AttrArn
The event type ARN.
public virtual string AttrArn { get; }
Property Value
System.String
Remarks
CloudformationAttribute: Arn
AttrCreatedTime
Timestamp of when event type was created.
public virtual string AttrCreatedTime { get; }
Property Value
System.String
Remarks
CloudformationAttribute: CreatedTime
AttrLastUpdatedTime
Timestamp of when event type was last updated.
public virtual string AttrLastUpdatedTime { get; }
Property Value
System.String
Remarks
CloudformationAttribute: LastUpdatedTime
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
public static string CFN_RESOURCE_TYPE_NAME { get; }
Property Value
System.String
CfnProperties
protected override IDictionary<string, object> CfnProperties { get; }
Property Value
System.Collections.Generic.IDictionary<System.String, System.Object>
Overrides
Description
The event type description.
public virtual string Description { get; set; }
Property Value
System.String
Remarks
EntityTypes
The event type entity types.
public virtual object EntityTypes { get; set; }
Property Value
System.Object
Remarks
EventVariables
The event type event variables.
public virtual object EventVariables { get; set; }
Property Value
System.Object
Remarks
Labels
The event type labels.
public virtual object Labels { get; set; }
Property Value
System.Object
Remarks
Name
The event type name.
public virtual string Name { get; set; }
Property Value
System.String
Remarks
Tags
An array of key-value pairs to apply to this resource.
public virtual TagManager Tags { get; }
Property Value
Remarks
For more information, see Tag .
Methods
Inspect(TreeInspector)
Examines the CloudFormation resource and discloses attributes.
public virtual void Inspect(TreeInspector inspector)
Parameters
- inspector TreeInspector
- tree inspector to collect and process attributes.
RenderProperties(IDictionary<String, Object>)
protected override IDictionary<string, object> RenderProperties(IDictionary<string, object> props)
Parameters
- props System.Collections.Generic.IDictionary<System.String, System.Object>
Returns
System.Collections.Generic.IDictionary<System.String, System.Object>