CodeDeployDeploymentStateChangeNotification

class aws_cdk.mixins_preview.aws_codedeploy.events.CodeDeployDeploymentStateChangeNotification

Bases: object

(experimental) EventBridge event pattern for aws.codedeploy@CodeDeployDeploymentStateChangeNotification.

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_deployment_state_change_notification = codedeploy_events.CodeDeployDeploymentStateChangeNotification()
Stability:

experimental

Static Methods

classmethod code_deploy_deployment_state_change_notification_pattern(*, application=None, deployment_group=None, deployment_id=None, event_metadata=None, instance_group_id=None, region=None, state=None)

(experimental) EventBridge event pattern for CodeDeploy Deployment 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 the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • deployment_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 the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • deployment_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 the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • event_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 the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • region (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 the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • state (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 the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

Stability:

experimental

Return type:

EventPattern

CodeDeployDeploymentStateChangeNotificationProps

class CodeDeployDeploymentStateChangeNotification.CodeDeployDeploymentStateChangeNotificationProps(*, application=None, deployment_group=None, deployment_id=None, event_metadata=None, instance_group_id=None, region=None, state=None)

Bases: object

(experimental) Props type for aws.codedeploy@CodeDeployDeploymentStateChangeNotification 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 the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • deployment_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 the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • deployment_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 the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • event_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 the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • region (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 the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • state (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 the aws_events.Match for 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_deployment_state_change_notification_props = codedeploy_events.CodeDeployDeploymentStateChangeNotification.CodeDeployDeploymentStateChangeNotificationProps(
    application=["application"],
    deployment_group=["deploymentGroup"],
    deployment_id=["deploymentId"],
    event_metadata=AWSEventMetadataProps(
        region=["region"],
        resources=["resources"],
        version=["version"]
    ),
    instance_group_id=["instanceGroupId"],
    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.Match for 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.Match for 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.Match for 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.Match for 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.Match for 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.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental