DLMPolicyStateChange
- class aws_cdk.mixins_preview.aws_dlm.events.DLMPolicyStateChange
Bases:
object(experimental) EventBridge event pattern for aws.dlm@DLMPolicyStateChange.
- 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_dlm import events as dlm_events d_lMPolicy_state_change = dlm_events.DLMPolicyStateChange()
- Stability:
experimental
Static Methods
- classmethod dlm_policy_state_change_pattern(*, cause=None, event_metadata=None, policy_id=None, state=None)
(experimental) EventBridge event pattern for DLM Policy State Change.
- Parameters:
cause (
Optional[Sequence[str]]) – (experimental) cause property. Specify an array of string values to match this event if the actual value of cause 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: - -policy_id (
Optional[Sequence[str]]) – (experimental) policy_id property. Specify an array of string values to match this event if the actual value of policy_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 fieldstate (
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 theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this field
- Stability:
experimental
- Return type:
DLMPolicyStateChangeProps
- class DLMPolicyStateChange.DLMPolicyStateChangeProps(*, cause=None, event_metadata=None, policy_id=None, state=None)
Bases:
object(experimental) Props type for aws.dlm@DLMPolicyStateChange event.
- Parameters:
cause (
Optional[Sequence[str]]) – (experimental) cause property. Specify an array of string values to match this event if the actual value of cause 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: - -policy_id (
Optional[Sequence[str]]) – (experimental) policy_id property. Specify an array of string values to match this event if the actual value of policy_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 fieldstate (
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 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_dlm import events as dlm_events d_lMPolicy_state_change_props = dlm_events.DLMPolicyStateChange.DLMPolicyStateChangeProps( cause=["cause"], event_metadata=AWSEventMetadataProps( region=["region"], resources=["resources"], version=["version"] ), policy_id=["policyId"], state=["state"] )
Attributes
- cause
(experimental) cause property.
Specify an array of string values to match this event if the actual value of cause 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
- policy_id
(experimental) policy_id property.
Specify an array of string values to match this event if the actual value of policy_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
- 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