interface CodeCommitCommentOnPullRequestProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.CodeCommit.Events.RepositoryEvents.CodeCommitCommentOnPullRequest.CodeCommitCommentOnPullRequestProps |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awscodecommit/events#RepositoryEvents_CodeCommitCommentOnPullRequest_CodeCommitCommentOnPullRequestProps |
Java | software.amazon.awscdk.mixins.preview.services.codecommit.events.RepositoryEvents.CodeCommitCommentOnPullRequest.CodeCommitCommentOnPullRequestProps |
Python | aws_cdk.mixins_preview.aws_codecommit.events.RepositoryEvents.CodeCommitCommentOnPullRequest.CodeCommitCommentOnPullRequestProps |
TypeScript | @aws-cdk/mixins-preview ยป aws_codecommit ยป events ยป RepositoryEvents ยป CodeCommitCommentOnPullRequest ยป CodeCommitCommentOnPullRequestProps |
Props type for Repository aws.codecommit@CodeCommitCommentOnPullRequest event.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { events as codecommit_events } from '@aws-cdk/mixins-preview/aws-codecommit';
const codeCommitCommentOnPullRequestProps: codecommit_events.RepositoryEvents.CodeCommitCommentOnPullRequest.CodeCommitCommentOnPullRequestProps = {
afterCommitId: ['afterCommitId'],
beforeCommitId: ['beforeCommitId'],
callerUserArn: ['callerUserArn'],
commentId: ['commentId'],
event: ['event'],
eventMetadata: {
region: ['region'],
resources: ['resources'],
version: ['version'],
},
inReplyTo: ['inReplyTo'],
notificationBody: ['notificationBody'],
pullRequestId: ['pullRequestId'],
repositoryId: ['repositoryId'],
repositoryName: ['repositoryName'],
};
Properties
| Name | Type | Description |
|---|---|---|
| after | string[] | afterCommitId property. |
| before | string[] | beforeCommitId property. |
| caller | string[] | callerUserArn property. |
| comment | string[] | commentId property. |
| event? | string[] | event property. |
| event | AWSEvent | EventBridge event metadata. |
| in | string[] | inReplyTo property. |
| notification | string[] | notificationBody property. |
| pull | string[] | pullRequestId property. |
| repository | string[] | repositoryId property. |
| repository | string[] | repositoryName property. |
afterCommitId?
Type:
string[]
(optional, default: Do not filter on this field)
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.
beforeCommitId?
Type:
string[]
(optional, default: Do not filter on this field)
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.
callerUserArn?
Type:
string[]
(optional, default: Do not filter on this field)
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.
commentId?
Type:
string[]
(optional, default: Do not filter on this field)
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.
event?
Type:
string[]
(optional, default: Do not filter on this field)
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.
eventMetadata?
Type:
AWSEvent
(optional, default: -)
EventBridge event metadata.
inReplyTo?
Type:
string[]
(optional, default: Do not filter on this field)
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.
notificationBody?
Type:
string[]
(optional, default: Do not filter on this field)
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.
pullRequestId?
Type:
string[]
(optional, default: Do not filter on this field)
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.
repositoryId?
Type:
string[]
(optional, default: Filter with the Repository reference)
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.
repositoryName?
Type:
string[]
(optional, default: Do not filter on this field)
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.

.NET
Go
Java
Python
TypeScript