DataSyncLocationStateChange
- class aws_cdk.mixins_preview.aws_datasync.events.DataSyncLocationStateChange
Bases:
object(experimental) EventBridge event pattern for aws.datasync@DataSyncLocationStateChange.
- 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_datasync import events as datasync_events data_sync_location_state_change = datasync_events.DataSyncLocationStateChange()
- Stability:
experimental
Static Methods
- classmethod data_sync_location_state_change_pattern(*, event_metadata=None, state=None)
(experimental) EventBridge event pattern for DataSync Location State Change.
- Parameters:
event_metadata (
Union[AWSEventMetadataProps,Dict[str,Any],None]) – (experimental) EventBridge event metadata. Default: - -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 theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this field
- Stability:
experimental
- Return type:
DataSyncLocationStateChangeProps
- class DataSyncLocationStateChange.DataSyncLocationStateChangeProps(*, event_metadata=None, state=None)
Bases:
object(experimental) Props type for aws.datasync@DataSyncLocationStateChange event.
- Parameters:
event_metadata (
Union[AWSEventMetadataProps,Dict[str,Any],None]) – (experimental) EventBridge event metadata. Default: - -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 theaws_events.Matchfor 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_datasync import events as datasync_events data_sync_location_state_change_props = datasync_events.DataSyncLocationStateChange.DataSyncLocationStateChangeProps( event_metadata=AWSEventMetadataProps( region=["region"], resources=["resources"], version=["version"] ), state=["state"] )
Attributes
- event_metadata
(experimental) EventBridge event metadata.
- Default:
- 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.Matchfor more advanced matching options.- Default:
Do not filter on this field
- Stability:
experimental