Interface CfnEventTriggerPropsMixin.PeriodProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnEventTriggerPropsMixin.PeriodProperty.Jsii$Proxy
- Enclosing class:
CfnEventTriggerPropsMixin
@Stability(Stable)
public static interface CfnEventTriggerPropsMixin.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.cfnpropertymixins.services.customerprofiles.*;
PeriodProperty periodProperty = PeriodProperty.builder()
.maxInvocationsPerProfile(123)
.unit("unit")
.unlimited(false)
.value(123)
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnEventTriggerPropsMixin.PeriodPropertystatic final classAn implementation forCfnEventTriggerPropsMixin.PeriodProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default NumberThe maximum allowed number of destination invocations per profile.default StringgetUnit()The unit of time.default ObjectIf set to true, there is no limit on the number of destination invocations per profile.default NumbergetValue()The amount of time of the specified unit.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getMaxInvocationsPerProfile
The maximum allowed number of destination invocations per profile.- See Also:
-
getUnit
The unit of time.- 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:
-
getValue
The amount of time of the specified unit.- See Also:
-
builder
-