Class CfnEventTrigger
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.customerprofiles.CfnEventTrigger
- All Implemented Interfaces:
IEnvironmentAware,IInspectable,ITaggableV2,IEventTriggerRef,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.118.0 (build 02eec31)",
date="2025-11-10T13:40:01.701Z")
@Stability(Stable)
public class CfnEventTrigger
extends CfnResource
implements IInspectable, IEventTriggerRef, ITaggableV2
Specifies the rules to perform an action based on customer ingested data.
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.customerprofiles.*;
CfnEventTrigger cfnEventTrigger = CfnEventTrigger.Builder.create(this, "MyCfnEventTrigger")
.domainName("domainName")
.eventTriggerConditions(List.of(EventTriggerConditionProperty.builder()
.eventTriggerDimensions(List.of(EventTriggerDimensionProperty.builder()
.objectAttributes(List.of(ObjectAttributeProperty.builder()
.comparisonOperator("comparisonOperator")
.values(List.of("values"))
// the properties below are optional
.fieldName("fieldName")
.source("source")
.build()))
.build()))
.logicalOperator("logicalOperator")
.build()))
.eventTriggerName("eventTriggerName")
.objectTypeName("objectTypeName")
// the properties below are optional
.description("description")
.eventTriggerLimits(EventTriggerLimitsProperty.builder()
.eventExpiration(123)
.periods(List.of(PeriodProperty.builder()
.unit("unit")
.value(123)
// the properties below are optional
.maxInvocationsPerProfile(123)
.unlimited(false)
.build()))
.build())
.segmentFilter("segmentFilter")
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classA fluent builder forCfnEventTrigger.static interfaceSpecifies the circumstances under which the event should trigger the destination.static interfaceA specific event dimension to be assessed.static interfaceDefines limits controlling whether an event triggers the destination, based on ingestion latency and the number of invocations per profile over specific time periods.static interfaceThe criteria that a specific object attribute must meet to trigger the destination.static interfaceDefines a limit and the time period during which it is enforced.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.amazon.awscdk.services.customerprofiles.IEventTriggerRef
IEventTriggerRef.Jsii$Default, IEventTriggerRef.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.ITaggableV2
ITaggableV2.Jsii$Default, ITaggableV2.Jsii$Proxy -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe CloudFormation resource type name for this resource class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCfnEventTrigger(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnEventTrigger(software.amazon.jsii.JsiiObjectRef objRef) CfnEventTrigger(software.constructs.Construct scope, String id, CfnEventTriggerProps props) -
Method Summary
Modifier and TypeMethodDescriptionThe timestamp of when the event trigger was created.The timestamp of when the event trigger was most recently updated.Tag Manager which manages the tags for this resource.The description of the event trigger.The unique name of the domain.A list of conditions that determine when an event should trigger the destination.Defines limits controlling whether an event triggers the destination, based on ingestion latency and the number of invocations per profile over specific time periods.The unique name of the event trigger.A reference to a EventTrigger resource.The unique name of the object type.The destination is triggered only for profiles that meet the criteria of a segment definition.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 description of the event trigger.voidsetDomainName(String value) The unique name of the domain.voidsetEventTriggerConditions(List<Object> value) A list of conditions that determine when an event should trigger the destination.voidA list of conditions that determine when an event should trigger the destination.voidsetEventTriggerLimits(IResolvable value) Defines limits controlling whether an event triggers the destination, based on ingestion latency and the number of invocations per profile over specific time periods.voidDefines limits controlling whether an event triggers the destination, based on ingestion latency and the number of invocations per profile over specific time periods.voidsetEventTriggerName(String value) The unique name of the event trigger.voidsetObjectTypeName(String value) The unique name of the object type.voidsetSegmentFilter(String value) The destination is triggered only for profiles that meet the criteria of a segment definition.voidAn 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, getEnv, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, obtainDependencies, obtainResourceDependencies, removeDependency, replaceDependency, shouldSynthesize, toString, validatePropertiesMethods inherited from class software.amazon.awscdk.CfnRefElement
getRefMethods inherited from class software.amazon.awscdk.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdMethods inherited from class software.constructs.Construct
getNode, isConstructMethods 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.constructs.IConstruct
getNodeMethods inherited from interface software.amazon.awscdk.IEnvironmentAware
getEnvMethods 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
-
CfnEventTrigger
protected CfnEventTrigger(software.amazon.jsii.JsiiObjectRef objRef) -
CfnEventTrigger
protected CfnEventTrigger(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnEventTrigger
@Stability(Stable) public CfnEventTrigger(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CfnEventTriggerProps 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:
inspectin 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:
renderPropertiesin classCfnResource- Parameters:
props- This parameter is required.
-
getAttrCreatedAt
The timestamp of when the event trigger was created. -
getAttrLastUpdatedAt
The timestamp of when the event trigger was most recently updated. -
getCdkTagManager
Tag Manager which manages the tags for this resource.- Specified by:
getCdkTagManagerin interfaceITaggableV2
-
getCfnProperties
- Overrides:
getCfnPropertiesin classCfnResource
-
getEventTriggerRef
A reference to a EventTrigger resource.- Specified by:
getEventTriggerRefin interfaceIEventTriggerRef
-
getDomainName
The unique name of the domain. -
setDomainName
The unique name of the domain. -
getEventTriggerConditions
A list of conditions that determine when an event should trigger the destination.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnEventTrigger.EventTriggerConditionProperty> -
setEventTriggerConditions
A list of conditions that determine when an event should trigger the destination. -
setEventTriggerConditions
A list of conditions that determine when an event should trigger the destination. -
getEventTriggerName
The unique name of the event trigger. -
setEventTriggerName
The unique name of the event trigger. -
getObjectTypeName
The unique name of the object type. -
setObjectTypeName
The unique name of the object type. -
getDescription
The description of the event trigger. -
setDescription
The description of the event trigger. -
getEventTriggerLimits
Defines limits controlling whether an event triggers the destination, based on ingestion latency and the number of invocations per profile over specific time periods.Returns union: either
IResolvableorCfnEventTrigger.EventTriggerLimitsProperty -
setEventTriggerLimits
Defines limits controlling whether an event triggers the destination, based on ingestion latency and the number of invocations per profile over specific time periods. -
setEventTriggerLimits
@Stability(Stable) public void setEventTriggerLimits(@Nullable CfnEventTrigger.EventTriggerLimitsProperty value) Defines limits controlling whether an event triggers the destination, based on ingestion latency and the number of invocations per profile over specific time periods. -
getSegmentFilter
The destination is triggered only for profiles that meet the criteria of a segment definition. -
setSegmentFilter
The destination is triggered only for profiles that meet the criteria of a segment definition. -
getTags
An array of key-value pairs to apply to this resource. -
setTags
An array of key-value pairs to apply to this resource.
-