FISExperimentStateChange

class aws_cdk.mixins_preview.aws_fis.events.FISExperimentStateChange

Bases: object

(experimental) EventBridge event pattern for aws.fis@FISExperimentStateChange.

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_fis import events as fis_events

f_iSExperiment_state_change = fis_events.FISExperimentStateChange()
Stability:

experimental

Static Methods

classmethod fis_experiment_state_change_pattern(*, event_metadata=None, experiment_id=None, new_state=None, old_state=None)

(experimental) EventBridge event pattern for FIS Experiment State Change.

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

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

  • new_state (Union[NewState, Dict[str, Any], None]) – (experimental) new-state property. Specify an array of string values to match this event if the actual value of new-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

  • old_state (Union[OldState, Dict[str, Any], None]) – (experimental) old-state property. Specify an array of string values to match this event if the actual value of old-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

Return type:

EventPattern

FISExperimentStateChangeProps

class FISExperimentStateChange.FISExperimentStateChangeProps(*, event_metadata=None, experiment_id=None, new_state=None, old_state=None)

Bases: object

(experimental) Props type for aws.fis@FISExperimentStateChange event.

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

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

  • new_state (Union[NewState, Dict[str, Any], None]) – (experimental) new-state property. Specify an array of string values to match this event if the actual value of new-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

  • old_state (Union[OldState, Dict[str, Any], None]) – (experimental) old-state property. Specify an array of string values to match this event if the actual value of old-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

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_fis import events as fis_events

f_iSExperiment_state_change_props = fis_events.FISExperimentStateChange.FISExperimentStateChangeProps(
    event_metadata=AWSEventMetadataProps(
        region=["region"],
        resources=["resources"],
        version=["version"]
    ),
    experiment_id=["experimentId"],
    new_state=fis_events.FISExperimentStateChange.NewState(
        reason=["reason"],
        status=["status"]
    ),
    old_state=fis_events.FISExperimentStateChange.OldState(
        reason=["reason"],
        status=["status"]
    )
)

Attributes

event_metadata

(experimental) EventBridge event metadata.

Default:

Stability:

experimental

experiment_id

(experimental) experiment-id property.

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

new_state

(experimental) new-state property.

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

old_state

(experimental) old-state property.

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

NewState

class FISExperimentStateChange.NewState(*, reason=None, status=None)

Bases: object

(experimental) Type definition for New-state.

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

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

new_state = fis_events.FISExperimentStateChange.NewState(
    reason=["reason"],
    status=["status"]
)

Attributes

reason

(experimental) reason property.

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

status

(experimental) status property.

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

OldState

class FISExperimentStateChange.OldState(*, reason=None, status=None)

Bases: object

(experimental) Type definition for Old-state.

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

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

old_state = fis_events.FISExperimentStateChange.OldState(
    reason=["reason"],
    status=["status"]
)

Attributes

reason

(experimental) reason property.

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

status

(experimental) status property.

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