CodeCommitCommentOnPullRequest

class aws_cdk.mixins_preview.aws_codecommit.events.CodeCommitCommentOnPullRequest

Bases: object

(experimental) EventBridge event pattern for aws.codecommit@CodeCommitCommentOnPullRequest.

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_codecommit import events as codecommit_events

code_commit_comment_on_pull_request = codecommit_events.CodeCommitCommentOnPullRequest()
Stability:

experimental

Static Methods

classmethod code_commit_comment_on_pull_request_pattern(*, after_commit_id=None, before_commit_id=None, caller_user_arn=None, comment_id=None, event=None, event_metadata=None, in_reply_to=None, notification_body=None, pull_request_id=None, repository_id=None, repository_name=None)

(experimental) EventBridge event pattern for CodeCommit Comment on Pull Request.

Parameters:
  • after_commit_id (Optional[Sequence[str]]) – (experimental) afterCommitId property. Specify an array of string values to match this event if the actual value of afterCommitId 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

  • before_commit_id (Optional[Sequence[str]]) – (experimental) beforeCommitId property. Specify an array of string values to match this event if the actual value of beforeCommitId 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

  • caller_user_arn (Optional[Sequence[str]]) – (experimental) callerUserArn property. Specify an array of string values to match this event if the actual value of callerUserArn 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

  • comment_id (Optional[Sequence[str]]) – (experimental) commentId property. Specify an array of string values to match this event if the actual value of commentId 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 (Optional[Sequence[str]]) – (experimental) event property. Specify an array of string values to match this event if the actual value of event 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: - -

  • in_reply_to (Optional[Sequence[str]]) – (experimental) inReplyTo property. Specify an array of string values to match this event if the actual value of inReplyTo 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

  • notification_body (Optional[Sequence[str]]) – (experimental) notificationBody property. Specify an array of string values to match this event if the actual value of notificationBody 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

  • pull_request_id (Optional[Sequence[str]]) – (experimental) pullRequestId property. Specify an array of string values to match this event if the actual value of pullRequestId 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

  • repository_id (Optional[Sequence[str]]) – (experimental) repositoryId property. Specify an array of string values to match this event if the actual value of repositoryId is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Filter with the Repository reference

  • repository_name (Optional[Sequence[str]]) – (experimental) repositoryName property. Specify an array of string values to match this event if the actual value of repositoryName 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

CodeCommitCommentOnPullRequestProps

class CodeCommitCommentOnPullRequest.CodeCommitCommentOnPullRequestProps(*, after_commit_id=None, before_commit_id=None, caller_user_arn=None, comment_id=None, event=None, event_metadata=None, in_reply_to=None, notification_body=None, pull_request_id=None, repository_id=None, repository_name=None)

Bases: object

(experimental) Props type for aws.codecommit@CodeCommitCommentOnPullRequest event.

Parameters:
  • after_commit_id (Optional[Sequence[str]]) – (experimental) afterCommitId property. Specify an array of string values to match this event if the actual value of afterCommitId 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

  • before_commit_id (Optional[Sequence[str]]) – (experimental) beforeCommitId property. Specify an array of string values to match this event if the actual value of beforeCommitId 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

  • caller_user_arn (Optional[Sequence[str]]) – (experimental) callerUserArn property. Specify an array of string values to match this event if the actual value of callerUserArn 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

  • comment_id (Optional[Sequence[str]]) – (experimental) commentId property. Specify an array of string values to match this event if the actual value of commentId 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 (Optional[Sequence[str]]) – (experimental) event property. Specify an array of string values to match this event if the actual value of event 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: - -

  • in_reply_to (Optional[Sequence[str]]) – (experimental) inReplyTo property. Specify an array of string values to match this event if the actual value of inReplyTo 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

  • notification_body (Optional[Sequence[str]]) – (experimental) notificationBody property. Specify an array of string values to match this event if the actual value of notificationBody 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

  • pull_request_id (Optional[Sequence[str]]) – (experimental) pullRequestId property. Specify an array of string values to match this event if the actual value of pullRequestId 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

  • repository_id (Optional[Sequence[str]]) – (experimental) repositoryId property. Specify an array of string values to match this event if the actual value of repositoryId is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Filter with the Repository reference

  • repository_name (Optional[Sequence[str]]) – (experimental) repositoryName property. Specify an array of string values to match this event if the actual value of repositoryName 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_codecommit import events as codecommit_events

code_commit_comment_on_pull_request_props = codecommit_events.CodeCommitCommentOnPullRequest.CodeCommitCommentOnPullRequestProps(
    after_commit_id=["afterCommitId"],
    before_commit_id=["beforeCommitId"],
    caller_user_arn=["callerUserArn"],
    comment_id=["commentId"],
    event=["event"],
    event_metadata=AWSEventMetadataProps(
        region=["region"],
        resources=["resources"],
        version=["version"]
    ),
    in_reply_to=["inReplyTo"],
    notification_body=["notificationBody"],
    pull_request_id=["pullRequestId"],
    repository_id=["repositoryId"],
    repository_name=["repositoryName"]
)

Attributes

after_commit_id

(experimental) afterCommitId property.

Specify an array of string values to match this event if the actual value of afterCommitId 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

before_commit_id

(experimental) beforeCommitId property.

Specify an array of string values to match this event if the actual value of beforeCommitId 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

caller_user_arn

(experimental) callerUserArn property.

Specify an array of string values to match this event if the actual value of callerUserArn 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

comment_id

(experimental) commentId property.

Specify an array of string values to match this event if the actual value of commentId 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

(experimental) event property.

Specify an array of string values to match this event if the actual value of event 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

in_reply_to

(experimental) inReplyTo property.

Specify an array of string values to match this event if the actual value of inReplyTo 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

notification_body

(experimental) notificationBody property.

Specify an array of string values to match this event if the actual value of notificationBody 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

pull_request_id

(experimental) pullRequestId property.

Specify an array of string values to match this event if the actual value of pullRequestId 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

repository_id

(experimental) repositoryId property.

Specify an array of string values to match this event if the actual value of repositoryId is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Filter with the Repository reference

Stability:

experimental

repository_name

(experimental) repositoryName property.

Specify an array of string values to match this event if the actual value of repositoryName 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