@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:37.740Z") @Stability(value=Stable) public interface IRule extends software.amazon.jsii.JsiiSerializable, IResource
| Modifier and Type | Interface and Description |
|---|---|
static interface |
IRule.Jsii$Default
Internal default implementation for
IRule. |
static class |
IRule.Jsii$Proxy
A proxy class which represents a concrete javascript instance of this type.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getConfigRuleName()
The name of the rule.
|
Rule |
onComplianceChange(String id)
Defines a EventBridge event rule which triggers for rule compliance events.
|
Rule |
onComplianceChange(String id,
OnEventOptions options)
Defines a EventBridge event rule which triggers for rule compliance events.
|
Rule |
onEvent(String id)
Defines an EventBridge event rule which triggers for rule events.
|
Rule |
onEvent(String id,
OnEventOptions options)
Defines an EventBridge event rule which triggers for rule events.
|
Rule |
onReEvaluationStatus(String id)
Defines a EventBridge event rule which triggers for rule re-evaluation status events.
|
Rule |
onReEvaluationStatus(String id,
OnEventOptions options)
Defines a EventBridge event rule which triggers for rule re-evaluation status events.
|
applyRemovalPolicy, getEnv, getStack@Stability(value=Stable) @NotNull String getConfigRuleName()
@Stability(value=Stable) @NotNull Rule onComplianceChange(@NotNull String id, @Nullable OnEventOptions options)
id - This parameter is required.options - @Stability(value=Stable) @NotNull Rule onComplianceChange(@NotNull String id)
id - This parameter is required.@Stability(value=Stable) @NotNull Rule onEvent(@NotNull String id, @Nullable OnEventOptions options)
Use
rule.addEventPattern(pattern) to specify a filter.
id - This parameter is required.options - @Stability(value=Stable) @NotNull Rule onEvent(@NotNull String id)
Use
rule.addEventPattern(pattern) to specify a filter.
id - This parameter is required.@Stability(value=Stable) @NotNull Rule onReEvaluationStatus(@NotNull String id, @Nullable OnEventOptions options)
id - This parameter is required.options - Copyright © 2022. All rights reserved.