Class RuleProps.Jsii$Proxy
- All Implemented Interfaces:
EventCommonOptions,RuleProps,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
RuleProps
RuleProps-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.services.events.RuleProps
RuleProps.Builder, RuleProps.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedJsii$Proxy(RuleProps.Builder builder) Constructor that initializes the object based on literal property values passed by theRuleProps.Builder.protectedJsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject. -
Method Summary
Modifier and TypeMethodDescriptioncom.fasterxml.jackson.databind.JsonNodefinal booleanfinal software.constructs.ConstructThe scope to use if the source of the rule and its target are in different Stacks (but in the same account & region).final StringA description of the rule's purpose.final BooleanIndicates whether the rule is enabled.final IEventBusThe event bus to associate with this rule.final EventPatternAdditional restrictions for the event to route to the specified target.final IRoleRefgetRole()The role that is used for target invocation.final StringA name for the rule.final ScheduleThe schedule or rate (frequency) that determines when EventBridge runs the rule.final List<IRuleTarget> Targets to invoke when this rule matches an event.final inthashCode()Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
-
Constructor Details
-
Jsii$Proxy
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject.- Parameters:
objRef- Reference to the JSII managed object.
-
Jsii$Proxy
Constructor that initializes the object based on literal property values passed by theRuleProps.Builder.
-
-
Method Details
-
getEnabled
Description copied from interface:RulePropsIndicates whether the rule is enabled.Default: true
- Specified by:
getEnabledin interfaceRuleProps
-
getEventBus
Description copied from interface:RulePropsThe event bus to associate with this rule.Default: - The default event bus.
- Specified by:
getEventBusin interfaceRuleProps
-
getRole
Description copied from interface:RulePropsThe role that is used for target invocation.Must be assumable by principal
events.amazonaws.com.rproxy.govskope.ca.Default: - No role associated
-
getSchedule
Description copied from interface:RulePropsThe schedule or rate (frequency) that determines when EventBridge runs the rule.You must specify this property, the
eventPatternproperty, or both.For more information, see Schedule Expression Syntax for Rules in the Amazon EventBridge User Guide.
Default: - None.
- Specified by:
getSchedulein interfaceRuleProps- See Also:
-
getTargets
Description copied from interface:RulePropsTargets to invoke when this rule matches an event.Input will be the full matched event. If you wish to specify custom target input, use
addTarget(target[, inputOptions]).Default: - No targets.
- Specified by:
getTargetsin interfaceRuleProps
-
getCrossStackScope
public final software.constructs.Construct getCrossStackScope()Description copied from interface:EventCommonOptionsThe scope to use if the source of the rule and its target are in different Stacks (but in the same account & region).This helps dealing with cycles that often arise in these situations.
Default: - none (the main scope will be used, even for cross-stack Events)
- Specified by:
getCrossStackScopein interfaceEventCommonOptions
-
getDescription
Description copied from interface:EventCommonOptionsA description of the rule's purpose.Default: - No description
- Specified by:
getDescriptionin interfaceEventCommonOptions
-
getEventPattern
Description copied from interface:EventCommonOptionsAdditional restrictions for the event to route to the specified target.The method that generates the rule probably imposes some type of event filtering. The filtering implied by what you pass here is added on top of that filtering.
Default: - No additional filtering based on an event pattern.
- Specified by:
getEventPatternin interfaceEventCommonOptions- See Also:
-
getRuleName
Description copied from interface:EventCommonOptionsA name for the rule.Default: AWS CloudFormation generates a unique physical ID.
- Specified by:
getRuleNamein interfaceEventCommonOptions
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-