EC2ImageBuilderImageStateChange
- class aws_cdk.mixins_preview.aws_imagebuilder.events.EC2ImageBuilderImageStateChange
Bases:
object(experimental) EventBridge event pattern for aws.imagebuilder@EC2ImageBuilderImageStateChange.
- 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_imagebuilder import events as imagebuilder_events e_c2_image_builder_image_state_change = imagebuilder_events.EC2ImageBuilderImageStateChange()
- Stability:
experimental
Static Methods
- classmethod ec2_image_builder_image_state_change_pattern(*, event_metadata=None, previous_state=None, state=None)
(experimental) EventBridge event pattern for EC2 Image Builder Image State Change.
- Parameters:
event_metadata (
Union[AWSEventMetadataProps,Dict[str,Any],None]) – (experimental) EventBridge event metadata. Default: - -previous_state (
Union[ImageState,Dict[str,Any],None]) – (experimental) previous-state property. Specify an array of string values to match this event if the actual value of previous-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 fieldstate (
Union[ImageState,Dict[str,Any],None]) – (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:
EC2ImageBuilderImageStateChangeProps
- class EC2ImageBuilderImageStateChange.EC2ImageBuilderImageStateChangeProps(*, event_metadata=None, previous_state=None, state=None)
Bases:
object(experimental) Props type for aws.imagebuilder@EC2ImageBuilderImageStateChange event.
- Parameters:
event_metadata (
Union[AWSEventMetadataProps,Dict[str,Any],None]) – (experimental) EventBridge event metadata. Default: - -previous_state (
Union[ImageState,Dict[str,Any],None]) – (experimental) previous-state property. Specify an array of string values to match this event if the actual value of previous-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 fieldstate (
Union[ImageState,Dict[str,Any],None]) – (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_imagebuilder import events as imagebuilder_events e_c2_image_builder_image_state_change_props = imagebuilder_events.EC2ImageBuilderImageStateChange.EC2ImageBuilderImageStateChangeProps( event_metadata=AWSEventMetadataProps( region=["region"], resources=["resources"], version=["version"] ), previous_state=imagebuilder_events.EC2ImageBuilderImageStateChange.ImageState( reason=["reason"], status=["status"] ), state=imagebuilder_events.EC2ImageBuilderImageStateChange.ImageState( reason=["reason"], status=["status"] ) )
Attributes
- event_metadata
(experimental) EventBridge event metadata.
- Default:
- Stability:
experimental
- previous_state
(experimental) previous-state property.
Specify an array of string values to match this event if the actual value of previous-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
- 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
ImageState
- class EC2ImageBuilderImageStateChange.ImageState(*, reason=None, status=None)
Bases:
object(experimental) Type definition for ImageState.
- 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 theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldstatus (
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
- 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_imagebuilder import events as imagebuilder_events image_state = imagebuilder_events.EC2ImageBuilderImageStateChange.ImageState( 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.Matchfor 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.Matchfor more advanced matching options.- Default:
Do not filter on this field
- Stability:
experimental