OpsWorksInstanceStateChange
- class aws_cdk.mixins_preview.aws_opsworks.events.OpsWorksInstanceStateChange
Bases:
object(experimental) EventBridge event pattern for aws.opsworks@OpsWorksInstanceStateChange.
- 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 ops_works_instance_state_change = opsworks_events.OpsWorksInstanceStateChange()
- Stability:
experimental
Static Methods
- classmethod ops_works_instance_state_change_pattern(*, ec2_instance_id=None, event_metadata=None, hostname=None, initiated_by=None, instance_id=None, layer_ids=None, stack_id=None, status=None)
(experimental) EventBridge event pattern for OpsWorks Instance State Change.
- Parameters:
ec2_instance_id (
Optional[Sequence[str]]) – (experimental) ec2-instance-id property. Specify an array of string values to match this event if the actual value of ec2-instance-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 fieldevent_metadata (
Union[AWSEventMetadataProps,Dict[str,Any],None]) – (experimental) EventBridge event metadata. Default: - -hostname (
Optional[Sequence[str]]) – (experimental) hostname property. Specify an array of string values to match this event if the actual value of hostname 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 fieldinitiated_by (
Optional[Sequence[str]]) – (experimental) initiated_by property. Specify an array of string values to match this event if the actual value of initiated_by 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 fieldinstance_id (
Optional[Sequence[str]]) – (experimental) instance-id property. Specify an array of string values to match this event if the actual value of instance-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 Instance referencelayer_ids (
Optional[Sequence[str]]) – (experimental) layer-ids property. Specify an array of string values to match this event if the actual value of layer-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: - 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
- Return type:
OpsWorksInstanceStateChangeProps
- class OpsWorksInstanceStateChange.OpsWorksInstanceStateChangeProps(*, ec2_instance_id=None, event_metadata=None, hostname=None, initiated_by=None, instance_id=None, layer_ids=None, stack_id=None, status=None)
Bases:
object(experimental) Props type for aws.opsworks@OpsWorksInstanceStateChange event.
- Parameters:
ec2_instance_id (
Optional[Sequence[str]]) – (experimental) ec2-instance-id property. Specify an array of string values to match this event if the actual value of ec2-instance-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 fieldevent_metadata (
Union[AWSEventMetadataProps,Dict[str,Any],None]) – (experimental) EventBridge event metadata. Default: - -hostname (
Optional[Sequence[str]]) – (experimental) hostname property. Specify an array of string values to match this event if the actual value of hostname 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 fieldinitiated_by (
Optional[Sequence[str]]) – (experimental) initiated_by property. Specify an array of string values to match this event if the actual value of initiated_by 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 fieldinstance_id (
Optional[Sequence[str]]) – (experimental) instance-id property. Specify an array of string values to match this event if the actual value of instance-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 Instance referencelayer_ids (
Optional[Sequence[str]]) – (experimental) layer-ids property. Specify an array of string values to match this event if the actual value of layer-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: - 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:
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_opsworks import events as opsworks_events ops_works_instance_state_change_props = opsworks_events.OpsWorksInstanceStateChange.OpsWorksInstanceStateChangeProps( ec2_instance_id=["ec2InstanceId"], event_metadata=AWSEventMetadataProps( region=["region"], resources=["resources"], version=["version"] ), hostname=["hostname"], initiated_by=["initiatedBy"], instance_id=["instanceId"], layer_ids=["layerIds"], stack_id=["stackId"], status=["status"] )
Attributes
- ec2_instance_id
(experimental) ec2-instance-id property.
Specify an array of string values to match this event if the actual value of ec2-instance-id 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
- event_metadata
(experimental) EventBridge event metadata.
- Default:
- Stability:
experimental
- hostname
(experimental) hostname property.
Specify an array of string values to match this event if the actual value of hostname 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
- initiated_by
(experimental) initiated_by property.
Specify an array of string values to match this event if the actual value of initiated_by 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
- instance_id
(experimental) instance-id property.
Specify an array of string values to match this event if the actual value of instance-id is one of the values in the array. Use one of the constructors on the
aws_events.Matchfor more advanced matching options.- Default:
Filter with the Instance reference
- Stability:
experimental
- layer_ids
(experimental) layer-ids property.
Specify an array of string values to match this event if the actual value of layer-ids 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
- stack_id
(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 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