DatasetEvents

class aws_cdk.mixins_preview.aws_iotanalytics.events.DatasetEvents(*args: Any, **kwargs)

Bases: object

(experimental) EventBridge event patterns for Dataset.

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_iotanalytics import events as iotanalytics_events
from aws_cdk.interfaces import aws_iotanalytics as interfaces_aws_iotanalytics

# dataset_ref: interfaces_aws_iotanalytics.IDatasetRef

dataset_events = iotanalytics_events.DatasetEvents.from_dataset(dataset_ref)

Methods

io_t_analytics_data_set_life_cycle_notification_pattern(*, content_delivery_rule_index=None, dataset_name=None, event_detail_version=None, event_metadata=None, message=None, state=None, version_id=None)

(experimental) EventBridge event pattern for Dataset IoT Analytics DataSet Lifecycle Notification.

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

  • dataset_name (Optional[Sequence[str]]) – (experimental) dataset-name property. Specify an array of string values to match this event if the actual value of dataset-name is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Filter with the Dataset reference

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

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

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

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

Return type:

EventPattern

Static Methods

classmethod from_dataset(dataset_ref)

(experimental) Create DatasetEvents from a Dataset reference.

Parameters:

dataset_ref (IDatasetRef)

Stability:

experimental

Return type:

DatasetEvents

IoTAnalyticsDataSetLifeCycleNotification

class DatasetEvents.IoTAnalyticsDataSetLifeCycleNotification

Bases: object

(experimental) aws.iotanalytics@IoTAnalyticsDataSetLifeCycleNotification event types for Dataset.

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_iotanalytics import events as iotanalytics_events

io_tAnalytics_data_set_life_cycle_notification = iotanalytics_events.DatasetEvents.IoTAnalyticsDataSetLifeCycleNotification()
Stability:

experimental

IoTAnalyticsDataSetLifeCycleNotificationProps

class DatasetEvents.IoTAnalyticsDataSetLifeCycleNotification.IoTAnalyticsDataSetLifeCycleNotificationProps(*, content_delivery_rule_index=None, dataset_name=None, event_detail_version=None, event_metadata=None, message=None, state=None, version_id=None)

Bases: object

(experimental) Props type for Dataset aws.iotanalytics@IoTAnalyticsDataSetLifeCycleNotification event.

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

  • dataset_name (Optional[Sequence[str]]) – (experimental) dataset-name property. Specify an array of string values to match this event if the actual value of dataset-name is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Filter with the Dataset reference

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

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

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

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

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_iotanalytics import events as iotanalytics_events

io_tAnalytics_data_set_life_cycle_notification_props = iotanalytics_events.DatasetEvents.IoTAnalyticsDataSetLifeCycleNotification.IoTAnalyticsDataSetLifeCycleNotificationProps(
    content_delivery_rule_index=["contentDeliveryRuleIndex"],
    dataset_name=["datasetName"],
    event_detail_version=["eventDetailVersion"],
    event_metadata=AWSEventMetadataProps(
        region=["region"],
        resources=["resources"],
        version=["version"]
    ),
    message=["message"],
    state=["state"],
    version_id=["versionId"]
)

Attributes

content_delivery_rule_index

(experimental) content-delivery-rule-index property.

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

dataset_name

(experimental) dataset-name property.

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

Default:
  • Filter with the Dataset reference

Stability:

experimental

event_detail_version

(experimental) event-detail-version property.

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

message

(experimental) message property.

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

state

(experimental) state property.

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

version_id

(experimental) version-id property.

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