EBSVolumeNotification

class aws_cdk.mixins_preview.aws_ec2.events.EBSVolumeNotification

Bases: object

(experimental) EventBridge event pattern for aws.ec2@EBSVolumeNotification.

Stability:

experimental

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.mixins_preview.aws_ec2 import events as ec2_events

e_bSVolume_notification = ec2_events.EBSVolumeNotification()
Stability:

experimental

Static Methods

classmethod ebs_volume_notification_pattern(*, cause=None, event=None, event_metadata=None, request_id=None, result=None)

(experimental) EventBridge event pattern for EBS Volume Notification.

Parameters:
  • cause (Optional[Sequence[str]]) – (experimental) cause property. Specify an array of string values to match this event if the actual value of cause is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • event (Optional[Sequence[str]]) – (experimental) event property. Specify an array of string values to match this event if the actual value of event is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • event_metadata (Union[AWSEventMetadataProps, Dict[str, Any], None]) – (experimental) EventBridge event metadata. Default: - -

  • request_id (Optional[Sequence[str]]) – (experimental) request-id property. Specify an array of string values to match this event if the actual value of request-id is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • result (Optional[Sequence[str]]) – (experimental) result property. Specify an array of string values to match this event if the actual value of result is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

Stability:

experimental

Return type:

EventPattern

EBSVolumeNotificationProps

class EBSVolumeNotification.EBSVolumeNotificationProps(*, cause=None, event=None, event_metadata=None, request_id=None, result=None)

Bases: object

(experimental) Props type for aws.ec2@EBSVolumeNotification event.

Parameters:
  • cause (Optional[Sequence[str]]) – (experimental) cause property. Specify an array of string values to match this event if the actual value of cause is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • event (Optional[Sequence[str]]) – (experimental) event property. Specify an array of string values to match this event if the actual value of event is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • event_metadata (Union[AWSEventMetadataProps, Dict[str, Any], None]) – (experimental) EventBridge event metadata. Default: - -

  • request_id (Optional[Sequence[str]]) – (experimental) request-id property. Specify an array of string values to match this event if the actual value of request-id is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • result (Optional[Sequence[str]]) – (experimental) result property. Specify an array of string values to match this event if the actual value of result is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

Stability:

experimental

ExampleMetadata:

fixture=_generated

Example:

from aws_cdk import AWSEventMetadataProps
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.mixins_preview.aws_ec2 import events as ec2_events

e_bSVolume_notification_props = ec2_events.EBSVolumeNotification.EBSVolumeNotificationProps(
    cause=["cause"],
    event=["event"],
    event_metadata=AWSEventMetadataProps(
        region=["region"],
        resources=["resources"],
        version=["version"]
    ),
    request_id=["requestId"],
    result=["result"]
)

Attributes

cause

(experimental) cause property.

Specify an array of string values to match this event if the actual value of cause is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

event

(experimental) event property.

Specify an array of string values to match this event if the actual value of event is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

event_metadata

(experimental) EventBridge event metadata.

Default:

Stability:

experimental

request_id

(experimental) request-id property.

Specify an array of string values to match this event if the actual value of request-id is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

result

(experimental) result property.

Specify an array of string values to match this event if the actual value of result is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental