@Generated(value="jsii-pacmak/1.73.0 (build 6faeda3)", date="2023-01-31T18:37:01.512Z") public interface IRule extends 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 |
---|---|
java.lang.String |
getConfigRuleName()
The name of the rule.
|
Rule |
onComplianceChange(java.lang.String id)
Defines a EventBridge event rule which triggers for rule compliance events.
|
Rule |
onComplianceChange(java.lang.String id,
OnEventOptions options)
Defines a EventBridge event rule which triggers for rule compliance events.
|
Rule |
onEvent(java.lang.String id)
Defines an EventBridge event rule which triggers for rule events.
|
Rule |
onEvent(java.lang.String id,
OnEventOptions options)
Defines an EventBridge event rule which triggers for rule events.
|
Rule |
onReEvaluationStatus(java.lang.String id)
Defines a EventBridge event rule which triggers for rule re-evaluation status events.
|
Rule |
onReEvaluationStatus(java.lang.String id,
OnEventOptions options)
Defines a EventBridge event rule which triggers for rule re-evaluation status events.
|
applyRemovalPolicy, getEnv, getStack
getNode
java.lang.String getConfigRuleName()
Rule onComplianceChange(java.lang.String id, OnEventOptions options)
id
- This parameter is required.options
- Rule onComplianceChange(java.lang.String id)
id
- This parameter is required.Rule onEvent(java.lang.String id, OnEventOptions options)
Use
rule.addEventPattern(pattern)
to specify a filter.
id
- This parameter is required.options
- Rule onEvent(java.lang.String id)
Use
rule.addEventPattern(pattern)
to specify a filter.
id
- This parameter is required.Rule onReEvaluationStatus(java.lang.String id, OnEventOptions options)
id
- This parameter is required.options
- Rule onReEvaluationStatus(java.lang.String id)
id
- This parameter is required.