CalendarStateChange

class aws_cdk.mixins_preview.aws_ssm.events.CalendarStateChange

Bases: object

(experimental) EventBridge event pattern for aws.ssm@CalendarStateChange.

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_ssm import events as ssm_events

calendar_state_change = ssm_events.CalendarStateChange()
Stability:

experimental

Static Methods

classmethod calendar_state_change_pattern(*, at_time=None, event_metadata=None, next_transition_time=None, state=None)

(experimental) EventBridge event pattern for Calendar State Change.

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

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

Stability:

experimental

Return type:

EventPattern

CalendarStateChangeProps

class CalendarStateChange.CalendarStateChangeProps(*, at_time=None, event_metadata=None, next_transition_time=None, state=None)

Bases: object

(experimental) Props type for aws.ssm@CalendarStateChange event.

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

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

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_ssm import events as ssm_events

calendar_state_change_props = ssm_events.CalendarStateChange.CalendarStateChangeProps(
    at_time=["atTime"],
    event_metadata=AWSEventMetadataProps(
        region=["region"],
        resources=["resources"],
        version=["version"]
    ),
    next_transition_time=["nextTransitionTime"],
    state=["state"]
)

Attributes

at_time

(experimental) atTime property.

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

next_transition_time

(experimental) nextTransitionTime property.

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