Class CfnEventType
java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.CfnElement
software.amazon.awscdk.CfnRefElement
software.amazon.awscdk.CfnResource
software.amazon.awscdk.services.frauddetector.CfnEventType
- All Implemented Interfaces:
IInspectable
,ITaggable
,software.amazon.jsii.JsiiSerializable
,software.constructs.IConstruct
,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.103.1 (build bef2dea)",
date="2024-10-05T03:43:43.854Z")
@Stability(Stable)
public class CfnEventType
extends CfnResource
implements IInspectable, ITaggable
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();
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
A fluent builder forCfnEventType
.static interface
The entity type details.static interface
The variables associated with this event type.static interface
The label associated with the event type.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
Nested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$Default
Nested classes/interfaces inherited from interface software.amazon.awscdk.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$Proxy
Nested classes/interfaces inherited from interface software.amazon.awscdk.ITaggable
ITaggable.Jsii$Default, ITaggable.Jsii$Proxy
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
The CloudFormation resource type name for this resource class. -
Constructor Summary
ModifierConstructorDescriptionprotected
CfnEventType
(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protected
CfnEventType
(software.amazon.jsii.JsiiObjectRef objRef) CfnEventType
(software.constructs.Construct scope, String id, CfnEventTypeProps props) -
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()
Tag Manager which manages the tags for this resource.An array of key-value pairs to apply to this resource.void
inspect
(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.renderProperties
(Map<String, Object> props) void
setDescription
(String value) The event type description.void
setEntityTypes
(List<Object> value) The event type entity types.void
setEntityTypes
(IResolvable value) The event type entity types.void
setEventVariables
(List<Object> value) The event type event variables.void
setEventVariables
(IResolvable value) The event type event variables.void
The event type labels.void
setLabels
(IResolvable value) The event type labels.void
The event type name.void
setTagsRaw
(List<CfnTag> value) An array of key-value pairs to apply to this resource.Methods inherited from class software.amazon.awscdk.CfnResource
addDeletionOverride, addDependency, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, obtainDependencies, obtainResourceDependencies, removeDependency, replaceDependency, shouldSynthesize, toString, validateProperties
Methods inherited from class software.amazon.awscdk.CfnRefElement
getRef
Methods inherited from class software.amazon.awscdk.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalId
Methods inherited from class software.constructs.Construct
getNode, isConstruct
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods 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 software.constructs.Construct scope, @NotNull String id, @NotNull CfnEventTypeProps props) - Parameters:
scope
- Scope in which this resource is defined. This parameter is required.id
- Construct identifier for this resource (unique in its scope). This parameter is required.props
- Resource properties. This parameter is required.
-
-
Method Details
-
inspect
Examines the CloudFormation resource and discloses attributes.- Specified by:
inspect
in interfaceIInspectable
- Parameters:
inspector
- tree inspector to collect and process attributes. This parameter is required.
-
renderProperties
@Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String, Object> props) - Overrides:
renderProperties
in 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:
getCfnProperties
in classCfnResource
-
getTags
Tag Manager which manages the tags for this resource. -
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. -
setName
The event type name. -
getDescription
The event type description. -
setDescription
The event type description. -
getTagsRaw
An array of key-value pairs to apply to this resource. -
setTagsRaw
An array of key-value pairs to apply to this resource.
-