interface CodeBuildBuildStateChangeProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.CodeBuild.Events.ProjectEvents.CodeBuildBuildStateChange.CodeBuildBuildStateChangeProps |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awscodebuild/events#ProjectEvents_CodeBuildBuildStateChange_CodeBuildBuildStateChangeProps |
Java | software.amazon.awscdk.mixins.preview.services.codebuild.events.ProjectEvents.CodeBuildBuildStateChange.CodeBuildBuildStateChangeProps |
Python | aws_cdk.mixins_preview.aws_codebuild.events.ProjectEvents.CodeBuildBuildStateChange.CodeBuildBuildStateChangeProps |
TypeScript | @aws-cdk/mixins-preview ยป aws_codebuild ยป events ยป ProjectEvents ยป CodeBuildBuildStateChange ยป CodeBuildBuildStateChangeProps |
Props type for Project aws.codebuild@CodeBuildBuildStateChange event.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { events as codebuild_events } from '@aws-cdk/mixins-preview/aws-codebuild';
const codeBuildBuildStateChangeProps: codebuild_events.ProjectEvents.CodeBuildBuildStateChange.CodeBuildBuildStateChangeProps = {
additionalInformation: {
artifact: {
location: ['location'],
md5Sum: ['md5Sum'],
sha256Sum: ['sha256Sum'],
},
buildComplete: ['buildComplete'],
buildStartTime: ['buildStartTime'],
cache: {
location: ['location'],
type: ['type'],
},
environment: {
computeType: ['computeType'],
environmentVariables: [{
name: ['name'],
type: ['type'],
value: ['value'],
}],
image: ['image'],
imagePullCredentialsType: ['imagePullCredentialsType'],
privilegedMode: ['privilegedMode'],
type: ['type'],
},
initiator: ['initiator'],
logs: {
deepLink: ['deepLink'],
groupName: ['groupName'],
streamName: ['streamName'],
},
networkInterface: {
eniId: ['eniId'],
subnetId: ['subnetId'],
},
phases: [{
durationInSeconds: ['durationInSeconds'],
endTime: ['endTime'],
phaseContext: ['phaseContext'],
phaseStatus: ['phaseStatus'],
phaseType: ['phaseType'],
startTime: ['startTime'],
}],
queuedTimeoutInMinutes: ['queuedTimeoutInMinutes'],
source: {
auth: {
resource: ['resource'],
type: ['type'],
},
buildspec: ['buildspec'],
location: ['location'],
type: ['type'],
},
sourceVersion: ['sourceVersion'],
timeoutInMinutes: ['timeoutInMinutes'],
vpcConfig: {
securityGroupIds: ['securityGroupIds'],
subnets: [{
buildFleetAz: ['buildFleetAz'],
customerAz: ['customerAz'],
subnetId: ['subnetId'],
}],
vpcId: ['vpcId'],
},
},
buildId: ['buildId'],
buildStatus: ['buildStatus'],
currentPhase: ['currentPhase'],
currentPhaseContext: ['currentPhaseContext'],
eventMetadata: {
region: ['region'],
resources: ['resources'],
version: ['version'],
},
projectName: ['projectName'],
version: ['version'],
};
Properties
| Name | Type | Description |
|---|---|---|
| additional | Additional | additional-information property. |
| build | string[] | build-id property. |
| build | string[] | build-status property. |
| current | string[] | current-phase property. |
| current | string[] | current-phase-context property. |
| event | AWSEvent | EventBridge event metadata. |
| project | string[] | project-name property. |
| version? | string[] | version property. |
additionalInformation?
Type:
Additional
(optional, default: Do not filter on this field)
additional-information property.
Specify an array of string values to match this event if the actual value of additional-information is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.
buildId?
Type:
string[]
(optional, default: Do not filter on this field)
build-id property.
Specify an array of string values to match this event if the actual value of build-id is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.
buildStatus?
Type:
string[]
(optional, default: Do not filter on this field)
build-status property.
Specify an array of string values to match this event if the actual value of build-status is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.
currentPhase?
Type:
string[]
(optional, default: Do not filter on this field)
current-phase property.
Specify an array of string values to match this event if the actual value of current-phase is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.
currentPhaseContext?
Type:
string[]
(optional, default: Do not filter on this field)
current-phase-context property.
Specify an array of string values to match this event if the actual value of current-phase-context 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.
projectName?
Type:
string[]
(optional, default: Filter with the Project reference)
project-name property.
Specify an array of string values to match this event if the actual value of project-name is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.
version?
Type:
string[]
(optional, default: Do not filter on this field)
version property.
Specify an array of string values to match this event if the actual value of version 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