interface PullRequestItem
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.CodeCommit.Events.AWSAPICallViaCloudTrail.PullRequestItem |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awscodecommit/events#AWSAPICallViaCloudTrail_PullRequestItem |
Java | software.amazon.awscdk.mixins.preview.services.codecommit.events.AWSAPICallViaCloudTrail.PullRequestItem |
Python | aws_cdk.mixins_preview.aws_codecommit.events.AWSAPICallViaCloudTrail.PullRequestItem |
TypeScript | @aws-cdk/mixins-preview ยป aws_codecommit ยป events ยป AWSAPICallViaCloudTrail ยป PullRequestItem |
Type definition for PullRequestItem.
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 pullRequestItem: codecommit_events.AWSAPICallViaCloudTrail.PullRequestItem = {
destinationCommit: ['destinationCommit'],
destinationReference: ['destinationReference'],
mergeBase: ['mergeBase'],
mergeMetadata: {
isMerged: ['isMerged'],
mergeCommitId: ['mergeCommitId'],
mergedBy: ['mergedBy'],
mergeOption: ['mergeOption'],
},
repositoryName: ['repositoryName'],
sourceCommit: ['sourceCommit'],
sourceReference: ['sourceReference'],
};
Properties
| Name | Type | Description |
|---|---|---|
| destination | string[] | destinationCommit property. |
| destination | string[] | destinationReference property. |
| merge | string[] | mergeBase property. |
| merge | Merge | mergeMetadata property. |
| repository | string[] | repositoryName property. |
| source | string[] | sourceCommit property. |
| source | string[] | sourceReference property. |
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.
mergeBase?
Type:
string[]
(optional, default: Do not filter on this field)
mergeBase property.
Specify an array of string values to match this event if the actual value of mergeBase is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.
mergeMetadata?
Type:
Merge
(optional, default: Do not filter on this field)
mergeMetadata property.
Specify an array of string values to match this event if the actual value of mergeMetadata 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.
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.

.NET
Go
Java
Python
TypeScript