interface ResponseElements
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.CodeBuild.Events.AWSAPICallViaCloudTrail.ResponseElements |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awscodebuild/events#AWSAPICallViaCloudTrail_ResponseElements |
Java | software.amazon.awscdk.mixins.preview.services.codebuild.events.AWSAPICallViaCloudTrail.ResponseElements |
Python | aws_cdk.mixins_preview.aws_codebuild.events.AWSAPICallViaCloudTrail.ResponseElements |
TypeScript | @aws-cdk/mixins-preview ยป aws_codebuild ยป events ยป AWSAPICallViaCloudTrail ยป ResponseElements |
Type definition for ResponseElements.
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 responseElements: codebuild_events.AWSAPICallViaCloudTrail.ResponseElements = {
buildProperty: {
arn: ['arn'],
artifacts: {
encryptionDisabled: ['encryptionDisabled'],
location: ['location'],
},
buildComplete: ['buildComplete'],
buildStatus: ['buildStatus'],
cache: {
location: ['location'],
type: ['type'],
},
currentPhase: ['currentPhase'],
encryptionKey: ['encryptionKey'],
endTime: ['endTime'],
environment: {
certificate: ['certificate'],
computeType: ['computeType'],
environmentVariables: [{
name: ['name'],
type: ['type'],
value: ['value'],
}],
image: ['image'],
imagePullCredentialsType: ['imagePullCredentialsType'],
privilegedMode: ['privilegedMode'],
type: ['type'],
},
id: ['id'],
initiator: ['initiator'],
logs: {
deepLink: ['deepLink'],
groupName: ['groupName'],
streamName: ['streamName'],
},
phases: [{
durationInSeconds: ['durationInSeconds'],
endTime: ['endTime'],
phaseContext: ['phaseContext'],
phaseStatus: ['phaseStatus'],
phaseType: ['phaseType'],
startTime: ['startTime'],
}],
projectName: ['projectName'],
queuedTimeoutInMinutes: ['queuedTimeoutInMinutes'],
resolvedSourceVersion: ['resolvedSourceVersion'],
serviceRole: ['serviceRole'],
source: {
auth: {
type: ['type'],
},
buildspec: ['buildspec'],
insecureSsl: ['insecureSsl'],
location: ['location'],
reportBuildStatus: ['reportBuildStatus'],
type: ['type'],
},
sourceVersion: ['sourceVersion'],
startTime: ['startTime'],
timeoutInMinutes: ['timeoutInMinutes'],
vpcConfig: {
securityGroupIds: ['securityGroupIds'],
subnets: ['subnets'],
vpcId: ['vpcId'],
},
},
message: ['message'],
project: {
arn: ['arn'],
artifacts: {
encryptionDisabled: ['encryptionDisabled'],
location: ['location'],
name: ['name'],
namespaceType: ['namespaceType'],
packaging: ['packaging'],
type: ['type'],
},
badge: {
badgeEnabled: ['badgeEnabled'],
badgeRequestUrl: ['badgeRequestUrl'],
},
cache: {
location: ['location'],
type: ['type'],
},
created: ['created'],
description: ['description'],
encryptionKey: ['encryptionKey'],
environment: {
computeType: ['computeType'],
environmentVariables: [{
name: ['name'],
type: ['type'],
value: ['value'],
}],
image: ['image'],
imagePullCredentialsType: ['imagePullCredentialsType'],
privilegedMode: ['privilegedMode'],
type: ['type'],
},
lastModified: ['lastModified'],
name: ['name'],
queuedTimeoutInMinutes: ['queuedTimeoutInMinutes'],
serviceRole: ['serviceRole'],
source: {
auth: {
type: ['type'],
},
buildspec: ['buildspec'],
gitCloneDepth: ['gitCloneDepth'],
gitSubmodulesConfig: {
fetchSubmodules: ['fetchSubmodules'],
},
insecureSsl: ['insecureSsl'],
location: ['location'],
reportBuildStatus: ['reportBuildStatus'],
type: ['type'],
},
sourceVersion: ['sourceVersion'],
tags: [{
key: ['key'],
value: ['value'],
}],
timeoutInMinutes: ['timeoutInMinutes'],
},
webhook: {
branchFilter: ['branchFilter'],
lastModifiedSecret: ['lastModifiedSecret'],
payloadUrl: ['payloadUrl'],
url: ['url'],
},
webhookDeletedStatus: ['webhookDeletedStatus'],
};
Properties
| Name | Type | Description |
|---|---|---|
| build | Build | build property. |
| message? | string[] | message property. |
| project? | Project | project property. |
| webhook? | Webhook | webhook property. |
| webhook | string[] | webhookDeletedStatus property. |
buildProperty?
Type:
Build
(optional, default: Do not filter on this field)
build property.
Specify an array of string values to match this event if the actual value of build is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.
message?
Type:
string[]
(optional, default: Do not filter on this field)
message property.
Specify an array of string values to match this event if the actual value of message is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.
project?
Type:
Project
(optional, default: Do not filter on this field)
project property.
Specify an array of string values to match this event if the actual value of project is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.
webhook?
Type:
Webhook
(optional, default: Do not filter on this field)
webhook property.
Specify an array of string values to match this event if the actual value of webhook is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.
webhookDeletedStatus?
Type:
string[]
(optional, default: Do not filter on this field)
webhookDeletedStatus property.
Specify an array of string values to match this event if the actual value of webhookDeletedStatus 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