Interface ProjectEvents.CodeBuildBuildStateChange.CodeBuildBuildStateChangeProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
ProjectEvents.CodeBuildBuildStateChange.CodeBuildBuildStateChangeProps.Jsii$Proxy
- Enclosing class:
ProjectEvents.CodeBuildBuildStateChange
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.mixins.preview.services.codebuild.events.*;
CodeBuildBuildStateChangeProps codeBuildBuildStateChangeProps = CodeBuildBuildStateChangeProps.builder()
.additionalInformation(AdditionalInformation.builder()
.artifact(Artifact.builder()
.location(List.of("location"))
.md5Sum(List.of("md5Sum"))
.sha256Sum(List.of("sha256Sum"))
.build())
.buildComplete(List.of("buildComplete"))
.buildStartTime(List.of("buildStartTime"))
.cache(Cache.builder()
.location(List.of("location"))
.type(List.of("type"))
.build())
.environment(Environment.builder()
.computeType(List.of("computeType"))
.environmentVariables(List.of(EnvironmentItem.builder()
.name(List.of("name"))
.type(List.of("type"))
.value(List.of("value"))
.build()))
.image(List.of("image"))
.imagePullCredentialsType(List.of("imagePullCredentialsType"))
.privilegedMode(List.of("privilegedMode"))
.type(List.of("type"))
.build())
.initiator(List.of("initiator"))
.logs(Logs.builder()
.deepLink(List.of("deepLink"))
.groupName(List.of("groupName"))
.streamName(List.of("streamName"))
.build())
.networkInterface(NetworkInterface.builder()
.eniId(List.of("eniId"))
.subnetId(List.of("subnetId"))
.build())
.phases(List.of(AdditionalInformationItem.builder()
.durationInSeconds(List.of("durationInSeconds"))
.endTime(List.of("endTime"))
.phaseContext(List.of("phaseContext"))
.phaseStatus(List.of("phaseStatus"))
.phaseType(List.of("phaseType"))
.startTime(List.of("startTime"))
.build()))
.queuedTimeoutInMinutes(List.of("queuedTimeoutInMinutes"))
.source(Source.builder()
.auth(Auth.builder()
.resource(List.of("resource"))
.type(List.of("type"))
.build())
.buildspec(List.of("buildspec"))
.location(List.of("location"))
.type(List.of("type"))
.build())
.sourceVersion(List.of("sourceVersion"))
.timeoutInMinutes(List.of("timeoutInMinutes"))
.vpcConfig(VpcConfig.builder()
.securityGroupIds(List.of("securityGroupIds"))
.subnets(List.of(VpcConfigItem.builder()
.buildFleetAz(List.of("buildFleetAz"))
.customerAz(List.of("customerAz"))
.subnetId(List.of("subnetId"))
.build()))
.vpcId(List.of("vpcId"))
.build())
.build())
.buildId(List.of("buildId"))
.buildStatus(List.of("buildStatus"))
.currentPhase(List.of("currentPhase"))
.currentPhaseContext(List.of("currentPhaseContext"))
.eventMetadata(AWSEventMetadataProps.builder()
.region(List.of("region"))
.resources(List.of("resources"))
.version(List.of("version"))
.build())
.projectName(List.of("projectName"))
.version(List.of("version"))
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classstatic final classAn implementation forProjectEvents.CodeBuildBuildStateChange.CodeBuildBuildStateChangeProps -
Method Summary
Modifier and TypeMethodDescriptionbuilder()(experimental) additional-information property.(experimental) build-id property.(experimental) build-status property.(experimental) current-phase property.(experimental) current-phase-context property.default AWSEventMetadataProps(experimental) EventBridge event metadata.(experimental) project-name property.(experimental) version property.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAdditionalInformation
@Stability(Experimental) @Nullable default ProjectEvents.CodeBuildBuildStateChange.AdditionalInformation getAdditionalInformation()(experimental) 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.Matchfor more advanced matching options.Default: - Do not filter on this field
-
getBuildId
(experimental) 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.Matchfor more advanced matching options.Default: - Do not filter on this field
-
getBuildStatus
(experimental) 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.Matchfor more advanced matching options.Default: - Do not filter on this field
-
getCurrentPhase
(experimental) 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.Matchfor more advanced matching options.Default: - Do not filter on this field
-
getCurrentPhaseContext
(experimental) 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.Matchfor more advanced matching options.Default: - Do not filter on this field
-
getEventMetadata
(experimental) EventBridge event metadata.Default: - -
-
getProjectName
(experimental) 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.Matchfor more advanced matching options.Default: - Filter with the Project reference
-
getVersion
(experimental) 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.Matchfor more advanced matching options.Default: - Do not filter on this field
-
builder
@Stability(Experimental) static ProjectEvents.CodeBuildBuildStateChange.CodeBuildBuildStateChangeProps.Builder builder()
-