interface PullRequest
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.CodeCommit.Events.AWSAPICallViaCloudTrail.PullRequest |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awscodecommit/events#AWSAPICallViaCloudTrail_PullRequest |
Java | software.amazon.awscdk.mixins.preview.services.codecommit.events.AWSAPICallViaCloudTrail.PullRequest |
Python | aws_cdk.mixins_preview.aws_codecommit.events.AWSAPICallViaCloudTrail.PullRequest |
TypeScript | @aws-cdk/mixins-preview ยป aws_codecommit ยป events ยป AWSAPICallViaCloudTrail ยป PullRequest |
Type definition for PullRequest.
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';
declare const approvalRules: any;
const pullRequest: codecommit_events.AWSAPICallViaCloudTrail.PullRequest = {
approvalRules: [approvalRules],
authorArn: ['authorArn'],
clientRequestToken: ['clientRequestToken'],
creationDate: ['creationDate'],
description: ['description'],
lastActivityDate: ['lastActivityDate'],
pullRequestId: ['pullRequestId'],
pullRequestStatus: ['pullRequestStatus'],
pullRequestTargets: [{
destinationCommit: ['destinationCommit'],
destinationReference: ['destinationReference'],
mergeBase: ['mergeBase'],
mergeMetadata: {
isMerged: ['isMerged'],
mergeCommitId: ['mergeCommitId'],
mergedBy: ['mergedBy'],
mergeOption: ['mergeOption'],
},
repositoryName: ['repositoryName'],
sourceCommit: ['sourceCommit'],
sourceReference: ['sourceReference'],
}],
revisionId: ['revisionId'],
title: ['title'],
};
Properties
| Name | Type | Description |
|---|---|---|
| approval | any[] | approvalRules property. |
| author | string[] | authorArn property. |
| client | string[] | clientRequestToken property. |
| creation | string[] | creationDate property. |
| description? | string[] | description property. |
| last | string[] | lastActivityDate property. |
| pull | string[] | pullRequestId property. |
| pull | string[] | pullRequestStatus property. |
| pull | Pull[] | pullRequestTargets property. |
| revision | string[] | revisionId property. |
| title? | string[] | title property. |
approvalRules?
Type:
any[]
(optional, default: Do not filter on this field)
approvalRules property.
Specify an array of string values to match this event if the actual value of approvalRules is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.
authorArn?
Type:
string[]
(optional, default: Do not filter on this field)
authorArn property.
Specify an array of string values to match this event if the actual value of authorArn is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.
clientRequestToken?
Type:
string[]
(optional, default: Do not filter on this field)
clientRequestToken property.
Specify an array of string values to match this event if the actual value of clientRequestToken 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.
lastActivityDate?
Type:
string[]
(optional, default: Do not filter on this field)
lastActivityDate property.
Specify an array of string values to match this event if the actual value of lastActivityDate 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.
pullRequestTargets?
Type:
Pull[]
(optional, default: Do not filter on this field)
pullRequestTargets property.
Specify an array of string values to match this event if the actual value of pullRequestTargets 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.
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