interface CodeCommitApprovalRuleTemplateChangeProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.CodeCommit.Events.CodeCommitApprovalRuleTemplateChange.CodeCommitApprovalRuleTemplateChangeProps |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awscodecommit/events#CodeCommitApprovalRuleTemplateChange_CodeCommitApprovalRuleTemplateChangeProps |
Java | software.amazon.awscdk.mixins.preview.services.codecommit.events.CodeCommitApprovalRuleTemplateChange.CodeCommitApprovalRuleTemplateChangeProps |
Python | aws_cdk.mixins_preview.aws_codecommit.events.CodeCommitApprovalRuleTemplateChange.CodeCommitApprovalRuleTemplateChangeProps |
TypeScript | @aws-cdk/mixins-preview ยป aws_codecommit ยป events ยป CodeCommitApprovalRuleTemplateChange ยป CodeCommitApprovalRuleTemplateChangeProps |
Props type for aws.codecommit@CodeCommitApprovalRuleTemplateChange 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 codeCommitApprovalRuleTemplateChangeProps: codecommit_events.CodeCommitApprovalRuleTemplateChange.CodeCommitApprovalRuleTemplateChangeProps = {
approvalRuleTemplateContentSha256: ['approvalRuleTemplateContentSha256'],
approvalRuleTemplateId: ['approvalRuleTemplateId'],
approvalRuleTemplateName: ['approvalRuleTemplateName'],
callerUserArn: ['callerUserArn'],
creationDate: ['creationDate'],
event: ['event'],
eventMetadata: {
region: ['region'],
resources: ['resources'],
version: ['version'],
},
lastModifiedDate: ['lastModifiedDate'],
notificationBody: ['notificationBody'],
repositories: {
repositoriesKey: 'repositories',
},
};
Properties
| Name | Type | Description |
|---|---|---|
| approval | string[] | approvalRuleTemplateContentSha256 property. |
| approval | string[] | approvalRuleTemplateId property. |
| approval | string[] | approvalRuleTemplateName property. |
| caller | string[] | callerUserArn property. |
| creation | string[] | creationDate property. |
| event? | string[] | event property. |
| event | AWSEvent | EventBridge event metadata. |
| last | string[] | lastModifiedDate property. |
| notification | string[] | notificationBody property. |
| repositories? | { [string]: string } | repositories property. |
approvalRuleTemplateContentSha256?
Type:
string[]
(optional, default: Do not filter on this field)
approvalRuleTemplateContentSha256 property.
Specify an array of string values to match this event if the actual value of approvalRuleTemplateContentSha256 is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.
approvalRuleTemplateId?
Type:
string[]
(optional, default: Do not filter on this field)
approvalRuleTemplateId property.
Specify an array of string values to match this event if the actual value of approvalRuleTemplateId is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.
approvalRuleTemplateName?
Type:
string[]
(optional, default: Do not filter on this field)
approvalRuleTemplateName property.
Specify an array of string values to match this event if the actual value of approvalRuleTemplateName 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.
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.
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.
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.
repositories?
Type:
{ [string]: string }
(optional, default: Do not filter on this field)
repositories property.
Specify an array of string values to match this event if the actual value of repositories 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