Interface CfnEventTrigger.PeriodProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnEventTrigger.PeriodProperty.Jsii$Proxy
- Enclosing class:
CfnEventTrigger
@Stability(Stable)
public static interface CfnEventTrigger.PeriodProperty
extends software.amazon.jsii.JsiiSerializable
Defines a limit and the time period during which it is enforced.
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.*;
PeriodProperty periodProperty = PeriodProperty.builder()
.unit("unit")
.value(123)
// the properties below are optional
.maxInvocationsPerProfile(123)
.unlimited(false)
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnEventTrigger.PeriodPropertystatic final classAn implementation forCfnEventTrigger.PeriodProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default NumberThe maximum allowed number of destination invocations per profile.getUnit()The unit of time.default ObjectIf set to true, there is no limit on the number of destination invocations per profile.getValue()The amount of time of the specified unit.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getUnit
The unit of time.- See Also:
-
getValue
The amount of time of the specified unit.- See Also:
-
getMaxInvocationsPerProfile
The maximum allowed number of destination invocations per profile.- See Also:
-
getUnlimited
If set to true, there is no limit on the number of destination invocations per profile.The default is false.
Returns union: either
BooleanorIResolvable- See Also:
-
builder
-