interface CodeCommitPullRequestStateChangeProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.CodeCommit.Events.CodeCommitPullRequestStateChange.CodeCommitPullRequestStateChangeProps |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awscodecommit/events#CodeCommitPullRequestStateChange_CodeCommitPullRequestStateChangeProps |
Java | software.amazon.awscdk.mixins.preview.services.codecommit.events.CodeCommitPullRequestStateChange.CodeCommitPullRequestStateChangeProps |
Python | aws_cdk.mixins_preview.aws_codecommit.events.CodeCommitPullRequestStateChange.CodeCommitPullRequestStateChangeProps |
TypeScript | @aws-cdk/mixins-preview ยป aws_codecommit ยป events ยป CodeCommitPullRequestStateChange ยป CodeCommitPullRequestStateChangeProps |
Props type for aws.codecommit@CodeCommitPullRequestStateChange 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 codeCommitPullRequestStateChangeProps: codecommit_events.CodeCommitPullRequestStateChange.CodeCommitPullRequestStateChangeProps = {
approvalStatus: ['approvalStatus'],
author: ['author'],
callerUserArn: ['callerUserArn'],
creationDate: ['creationDate'],
description: ['description'],
destinationCommit: ['destinationCommit'],
destinationReference: ['destinationReference'],
event: ['event'],
eventMetadata: {
region: ['region'],
resources: ['resources'],
version: ['version'],
},
isMerged: ['isMerged'],
lastModifiedDate: ['lastModifiedDate'],
mergeOption: ['mergeOption'],
notificationBody: ['notificationBody'],
overrideStatus: ['overrideStatus'],
pullRequestId: ['pullRequestId'],
pullRequestStatus: ['pullRequestStatus'],
repositoryNames: ['repositoryNames'],
revisionId: ['revisionId'],
sourceCommit: ['sourceCommit'],
sourceReference: ['sourceReference'],
title: ['title'],
};
Properties
| Name | Type | Description |
|---|---|---|
| approval | string[] | approvalStatus property. |
| author? | string[] | author property. |
| caller | string[] | callerUserArn property. |
| creation | string[] | creationDate property. |
| description? | string[] | description property. |
| destination | string[] | destinationCommit property. |
| destination | string[] | destinationReference property. |
| event? | string[] | event property. |
| event | AWSEvent | EventBridge event metadata. |
| is | string[] | isMerged property. |
| last | string[] | lastModifiedDate property. |
| merge | string[] | mergeOption property. |
| notification | string[] | notificationBody property. |
| override | string[] | overrideStatus property. |
| pull | string[] | pullRequestId property. |
| pull | string[] | pullRequestStatus property. |
| repository | string[] | repositoryNames property. |
| revision | string[] | revisionId property. |
| source | string[] | sourceCommit property. |
| source | string[] | sourceReference property. |
| title? | string[] | title property. |
approvalStatus?
Type:
string[]
(optional, default: Do not filter on this field)
approvalStatus property.
Specify an array of string values to match this event if the actual value of approvalStatus is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.
author?
Type:
string[]
(optional, default: Do not filter on this field)
author property.
Specify an array of string values to match this event if the actual value of author 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.
creationDate?
Type:
string[]
(optional, default: Do not filter on this field)
creationDate property.
Specify an array of string values to match this event if the actual value of creationDate is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.
description?
Type:
string[]
(optional, default: Do not filter on this field)
description property.
Specify an array of string values to match this event if the actual value of description is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.
destinationCommit?
Type:
string[]
(optional, default: Do not filter on this field)
destinationCommit property.
Specify an array of string values to match this event if the actual value of destinationCommit is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.
destinationReference?
Type:
string[]
(optional, default: Do not filter on this field)
destinationReference property.
Specify an array of string values to match this event if the actual value of destinationReference 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.
isMerged?
Type:
string[]
(optional, default: Do not filter on this field)
isMerged property.
Specify an array of string values to match this event if the actual value of isMerged is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.
lastModifiedDate?
Type:
string[]
(optional, default: Do not filter on this field)
lastModifiedDate property.
Specify an array of string values to match this event if the actual value of lastModifiedDate is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.
mergeOption?
Type:
string[]
(optional, default: Do not filter on this field)
mergeOption property.
Specify an array of string values to match this event if the actual value of mergeOption 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.
overrideStatus?
Type:
string[]
(optional, default: Do not filter on this field)
overrideStatus property.
Specify an array of string values to match this event if the actual value of overrideStatus 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.
pullRequestStatus?
Type:
string[]
(optional, default: Do not filter on this field)
pullRequestStatus property.
Specify an array of string values to match this event if the actual value of pullRequestStatus is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.
repositoryNames?
Type:
string[]
(optional, default: Do not filter on this field)
repositoryNames property.
Specify an array of string values to match this event if the actual value of repositoryNames is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.
revisionId?
Type:
string[]
(optional, default: Do not filter on this field)
revisionId property.
Specify an array of string values to match this event if the actual value of revisionId is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.
sourceCommit?
Type:
string[]
(optional, default: Do not filter on this field)
sourceCommit property.
Specify an array of string values to match this event if the actual value of sourceCommit is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.
sourceReference?
Type:
string[]
(optional, default: Do not filter on this field)
sourceReference property.
Specify an array of string values to match this event if the actual value of sourceReference is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.
title?
Type:
string[]
(optional, default: Do not filter on this field)
title property.
Specify an array of string values to match this event if the actual value of title 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