Interface CfnEventRuleProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnEventRuleProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.116.0 (build 0eddcff)",
date="2025-10-24T13:34:42.672Z")
@Stability(Stable)
public interface CfnEventRuleProps
extends software.amazon.jsii.JsiiSerializable
Properties for defining a
CfnEventRule.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.notifications.*;
CfnEventRuleProps cfnEventRuleProps = CfnEventRuleProps.builder()
.eventType("eventType")
.notificationConfigurationArn("notificationConfigurationArn")
.regions(List.of("regions"))
.source("source")
// the properties below are optional
.eventPattern("eventPattern")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnEventRulePropsstatic final classAn implementation forCfnEventRuleProps -
Method Summary
Modifier and TypeMethodDescriptionstatic CfnEventRuleProps.Builderbuilder()default StringAn additional event pattern used to further filter the events thisEventRulereceives.The event type this rule should match with the EventBridge events.The ARN for theNotificationConfigurationassociated with thisEventRule.A list of AWS Regions that send events to thisEventRule.The event source this rule should match with the EventBridge event sources.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getEventType
The event type this rule should match with the EventBridge events.It must match with atleast one of the valid EventBridge event types. For example, Amazon EC2 Instance State change Notification and Amazon CloudWatch State Change. For more information, see Event delivery from AWS services in the Amazon EventBridge User Guide .
- See Also:
-
getNotificationConfigurationArn
The ARN for theNotificationConfigurationassociated with thisEventRule.- See Also:
-
getRegions
A list of AWS Regions that send events to thisEventRule.- See Also:
-
getSource
The event source this rule should match with the EventBridge event sources.It must match with atleast one of the valid EventBridge event sources. Only AWS service sourced events are supported. For example,
aws.ec2andaws.cloudwatch. For more information, see Event delivery from AWS services in the Amazon EventBridge User Guide .- See Also:
-
getEventPattern
An additional event pattern used to further filter the events thisEventRulereceives.For more information, see Amazon EventBridge event patterns in the Amazon EventBridge User Guide.
- See Also:
-
builder
- Returns:
- a
CfnEventRuleProps.BuilderofCfnEventRuleProps
-