interface CfnEventRuleMixinProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.Notifications.Mixins.CfnEventRuleMixinProps |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsnotifications/mixins#CfnEventRuleMixinProps |
Java | software.amazon.awscdk.mixins.preview.services.notifications.mixins.CfnEventRuleMixinProps |
Python | aws_cdk.mixins_preview.aws_notifications.mixins.CfnEventRuleMixinProps |
TypeScript | @aws-cdk/mixins-preview » aws_notifications » mixins » CfnEventRuleMixinProps |
Properties for CfnEventRulePropsMixin.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { mixins as notifications_mixins } from '@aws-cdk/mixins-preview/aws-notifications';
const cfnEventRuleMixinProps: notifications_mixins.CfnEventRuleMixinProps = {
eventPattern: 'eventPattern',
eventType: 'eventType',
notificationConfigurationArn: 'notificationConfigurationArn',
regions: ['regions'],
source: 'source',
};
Properties
| Name | Type | Description |
|---|---|---|
| event | string | An additional event pattern used to further filter the events this EventRule receives. |
| event | string | The event type this rule should match with the EventBridge events. |
| notification | string | The ARN for the NotificationConfiguration associated with this EventRule . |
| regions? | string[] | A list of AWS Regions that send events to this EventRule . |
| source? | string | The event source this rule should match with the EventBridge event sources. |
eventPattern?
Type:
string
(optional)
An additional event pattern used to further filter the events this EventRule receives.
For more information, see Amazon EventBridge event patterns in the Amazon EventBridge User Guide.
eventType?
Type:
string
(optional)
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 .
notificationConfigurationArn?
Type:
string
(optional)
The ARN for the NotificationConfiguration associated with this EventRule .
regions?
Type:
string[]
(optional)
A list of AWS Regions that send events to this EventRule .
source?
Type:
string
(optional)
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.ec2 and aws.cloudwatch . For more information, see Event delivery from AWS services in the Amazon EventBridge User Guide .

.NET
Go
Java
Python
TypeScript