Interface IRule.Jsii$Default

All Superinterfaces:
IConfigRuleRef, IConfigRuleRef.Jsii$Default, software.constructs.IConstruct, software.constructs.IConstruct.Jsii$Default, software.constructs.IDependable, software.constructs.IDependable.Jsii$Default, IEnvironmentAware, IEnvironmentAware.Jsii$Default, IResource, IResource.Jsii$Default, IRule, software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
IRule.Jsii$Proxy
Enclosing interface:
IRule

@Internal public static interface IRule.Jsii$Default extends IRule, IResource.Jsii$Default, IConfigRuleRef.Jsii$Default
Internal default implementation for IRule.
  • Method Details

    • getConfigRuleName

      @Stability(Stable) @NotNull default String getConfigRuleName()
      The name of the rule.
      Specified by:
      getConfigRuleName in interface IRule
    • onComplianceChange

      @Stability(Stable) @NotNull default Rule onComplianceChange(@NotNull String id, @Nullable OnEventOptions options)
      Defines a EventBridge event rule which triggers for rule compliance events.

      Specified by:
      onComplianceChange in interface IRule
      Parameters:
      id - This parameter is required.
      options -
    • onComplianceChange

      @Stability(Stable) @NotNull default Rule onComplianceChange(@NotNull String id)
      Defines a EventBridge event rule which triggers for rule compliance events.

      Specified by:
      onComplianceChange in interface IRule
      Parameters:
      id - This parameter is required.
    • onEvent

      @Stability(Stable) @NotNull default Rule onEvent(@NotNull String id, @Nullable OnEventOptions options)
      Defines an EventBridge event rule which triggers for rule events.

      Use rule.addEventPattern(pattern) to specify a filter.

      Specified by:
      onEvent in interface IRule
      Parameters:
      id - This parameter is required.
      options -
    • onEvent

      @Stability(Stable) @NotNull default Rule onEvent(@NotNull String id)
      Defines an EventBridge event rule which triggers for rule events.

      Use rule.addEventPattern(pattern) to specify a filter.

      Specified by:
      onEvent in interface IRule
      Parameters:
      id - This parameter is required.
    • onReEvaluationStatus

      @Stability(Stable) @NotNull default Rule onReEvaluationStatus(@NotNull String id, @Nullable OnEventOptions options)
      Defines a EventBridge event rule which triggers for rule re-evaluation status events.

      Specified by:
      onReEvaluationStatus in interface IRule
      Parameters:
      id - This parameter is required.
      options -
    • onReEvaluationStatus

      @Stability(Stable) @NotNull default Rule onReEvaluationStatus(@NotNull String id)
      Defines a EventBridge event rule which triggers for rule re-evaluation status events.

      Specified by:
      onReEvaluationStatus in interface IRule
      Parameters:
      id - This parameter is required.