EBSSnapshotNotification

class aws_cdk.mixins_preview.aws_ec2.events.EBSSnapshotNotification

Bases: object

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

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_bSSnapshot_notification = ec2_events.EBSSnapshotNotification()
Stability:

experimental

Static Methods

classmethod ebs_snapshot_notification_pattern(*, cause=None, end_time=None, event=None, event_metadata=None, request_id=None, result=None, snapshot_id=None, source=None, start_time=None)

(experimental) EventBridge event pattern for EBS Snapshot 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

  • end_time (Optional[Sequence[str]]) – (experimental) EndTime property. Specify an array of string values to match this event if the actual value of EndTime 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

  • snapshot_id (Optional[Sequence[str]]) – (experimental) snapshot_id property. Specify an array of string values to match this event if the actual value of snapshot_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

  • source (Optional[Sequence[str]]) – (experimental) source property. Specify an array of string values to match this event if the actual value of source 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

  • start_time (Optional[Sequence[str]]) – (experimental) StartTime property. Specify an array of string values to match this event if the actual value of StartTime 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

EBSSnapshotNotificationProps

class EBSSnapshotNotification.EBSSnapshotNotificationProps(*, cause=None, end_time=None, event=None, event_metadata=None, request_id=None, result=None, snapshot_id=None, source=None, start_time=None)

Bases: object

(experimental) Props type for aws.ec2@EBSSnapshotNotification 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

  • end_time (Optional[Sequence[str]]) – (experimental) EndTime property. Specify an array of string values to match this event if the actual value of EndTime 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

  • snapshot_id (Optional[Sequence[str]]) – (experimental) snapshot_id property. Specify an array of string values to match this event if the actual value of snapshot_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

  • source (Optional[Sequence[str]]) – (experimental) source property. Specify an array of string values to match this event if the actual value of source 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

  • start_time (Optional[Sequence[str]]) – (experimental) StartTime property. Specify an array of string values to match this event if the actual value of StartTime 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_bSSnapshot_notification_props = ec2_events.EBSSnapshotNotification.EBSSnapshotNotificationProps(
    cause=["cause"],
    end_time=["endTime"],
    event=["event"],
    event_metadata=AWSEventMetadataProps(
        region=["region"],
        resources=["resources"],
        version=["version"]
    ),
    request_id=["requestId"],
    result=["result"],
    snapshot_id=["snapshotId"],
    source=["source"],
    start_time=["startTime"]
)

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

end_time

(experimental) EndTime property.

Specify an array of string values to match this event if the actual value of EndTime 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

snapshot_id

(experimental) snapshot_id property.

Specify an array of string values to match this event if the actual value of snapshot_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

source

(experimental) source property.

Specify an array of string values to match this event if the actual value of source 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

start_time

(experimental) StartTime property.

Specify an array of string values to match this event if the actual value of StartTime 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