Interface CfnEventTriggerProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnEventTriggerProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.119.0 (build 1634eac)",
date="2025-11-13T16:10:01.995Z")
@Stability(Stable)
public interface CfnEventTriggerProps
extends software.amazon.jsii.JsiiSerializable
Properties for defining a
CfnEventTrigger.
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.*;
CfnEventTriggerProps cfnEventTriggerProps = CfnEventTriggerProps.builder()
.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 TypeInterfaceDescriptionstatic final classA builder forCfnEventTriggerPropsstatic final classAn implementation forCfnEventTriggerProps -
Method Summary
Modifier and TypeMethodDescriptionstatic CfnEventTriggerProps.Builderbuilder()default StringThe description of the event trigger.The unique name of the domain.A list of conditions that determine when an event should trigger the destination.default ObjectDefines 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.The unique name of the object type.default StringThe 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.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getDomainName
The unique name of the domain.- See Also:
-
getEventTriggerConditions
A list of conditions that determine when an event should trigger the destination.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnEventTrigger.EventTriggerConditionProperty>- See Also:
-
getEventTriggerName
The unique name of the event trigger.- See Also:
-
getObjectTypeName
The unique name of the object type.- See Also:
-
getDescription
The description of the event trigger.- See Also:
-
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- See Also:
-
getSegmentFilter
The destination is triggered only for profiles that meet the criteria of a segment definition.- See Also:
-
getTags
An array of key-value pairs to apply to this resource.- See Also:
-
builder
- Returns:
- a
CfnEventTriggerProps.BuilderofCfnEventTriggerProps
-