CodeDeployInstanceStateChangeNotification
- class aws_cdk.mixins_preview.aws_codedeploy.events.CodeDeployInstanceStateChangeNotification
Bases:
object(experimental) EventBridge event pattern for aws.codedeploy@CodeDeployInstanceStateChangeNotification.
- 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_codedeploy import events as codedeploy_events code_deploy_instance_state_change_notification = codedeploy_events.CodeDeployInstanceStateChangeNotification()
- Stability:
experimental
Static Methods
- classmethod code_deploy_instance_state_change_notification_pattern(*, application=None, deployment_group=None, deployment_id=None, event_metadata=None, instance_group_id=None, instance_id=None, region=None, state=None)
(experimental) EventBridge event pattern for CodeDeploy Instance State-change Notification.
- Parameters:
application (
Optional[Sequence[str]]) – (experimental) application property. Specify an array of string values to match this event if the actual value of application 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_group (
Optional[Sequence[str]]) – (experimental) deploymentGroup property. Specify an array of string values to match this event if the actual value of deploymentGroup 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) deploymentId property. Specify an array of string values to match this event if the actual value of deploymentId 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_group_id (
Optional[Sequence[str]]) – (experimental) instanceGroupId property. Specify an array of string values to match this event if the actual value of instanceGroupId 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) instanceId property. Specify an array of string values to match this event if the actual value of instanceId 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 fieldregion (
Optional[Sequence[str]]) – (experimental) region property. Specify an array of string values to match this event if the actual value of region 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:
CodeDeployInstanceStateChangeNotificationProps
- class CodeDeployInstanceStateChangeNotification.CodeDeployInstanceStateChangeNotificationProps(*, application=None, deployment_group=None, deployment_id=None, event_metadata=None, instance_group_id=None, instance_id=None, region=None, state=None)
Bases:
object(experimental) Props type for aws.codedeploy@CodeDeployInstanceStateChangeNotification event.
- Parameters:
application (
Optional[Sequence[str]]) – (experimental) application property. Specify an array of string values to match this event if the actual value of application 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_group (
Optional[Sequence[str]]) – (experimental) deploymentGroup property. Specify an array of string values to match this event if the actual value of deploymentGroup 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) deploymentId property. Specify an array of string values to match this event if the actual value of deploymentId 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_group_id (
Optional[Sequence[str]]) – (experimental) instanceGroupId property. Specify an array of string values to match this event if the actual value of instanceGroupId 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) instanceId property. Specify an array of string values to match this event if the actual value of instanceId 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 fieldregion (
Optional[Sequence[str]]) – (experimental) region property. Specify an array of string values to match this event if the actual value of region 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_codedeploy import events as codedeploy_events code_deploy_instance_state_change_notification_props = codedeploy_events.CodeDeployInstanceStateChangeNotification.CodeDeployInstanceStateChangeNotificationProps( application=["application"], deployment_group=["deploymentGroup"], deployment_id=["deploymentId"], event_metadata=AWSEventMetadataProps( region=["region"], resources=["resources"], version=["version"] ), instance_group_id=["instanceGroupId"], instance_id=["instanceId"], region=["region"], state=["state"] )
Attributes
- application
(experimental) application property.
Specify an array of string values to match this event if the actual value of application 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
- deployment_group
(experimental) deploymentGroup property.
Specify an array of string values to match this event if the actual value of deploymentGroup 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
- deployment_id
(experimental) deploymentId property.
Specify an array of string values to match this event if the actual value of deploymentId 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
- instance_group_id
(experimental) instanceGroupId property.
Specify an array of string values to match this event if the actual value of instanceGroupId 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) instanceId property.
Specify an array of string values to match this event if the actual value of instanceId 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
- region
(experimental) region property.
Specify an array of string values to match this event if the actual value of region 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