StackEvents
- class aws_cdk.mixins_preview.aws_opsworks.events.StackEvents(*args: Any, **kwargs)
Bases:
object(experimental) EventBridge event patterns for Stack.
- 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_opsworks import events as opsworks_events from aws_cdk.interfaces import aws_opsworks as interfaces_opsworks # stack_ref: interfaces_opsworks.IStackRef stack_events = opsworks_events.StackEvents.from_stack(stack_ref)
Methods
- ops_works_deployment_state_change_pattern(*, command=None, deployment_id=None, duration=None, event_metadata=None, instance_ids=None, stack_id=None, status=None)
(experimental) EventBridge event pattern for Stack OpsWorks Deployment State Change.
- Parameters:
command (
Optional[Sequence[str]]) – (experimental) command property. Specify an array of string values to match this event if the actual value of command 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 fielddeployment_id (
Optional[Sequence[str]]) – (experimental) deployment-id property. Specify an array of string values to match this event if the actual value of deployment-id 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 fieldduration (
Optional[Sequence[str]]) – (experimental) duration property. Specify an array of string values to match this event if the actual value of duration 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 fieldevent_metadata (
Union[AWSEventMetadataProps,Dict[str,Any],None]) – (experimental) EventBridge event metadata. Default: - -instance_ids (
Optional[Sequence[str]]) – (experimental) instance-ids property. Specify an array of string values to match this event if the actual value of instance-ids 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 fieldstack_id (
Optional[Sequence[str]]) – (experimental) stack-id property. Specify an array of string values to match this event if the actual value of stack-id is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options. Default: - Filter with the Stack referencestatus (
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 theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this field
- Stability:
experimental
- Return type:
Static Methods