Interface ProjectEvents.CodeBuildBuildStateChange.CodeBuildBuildStateChangeProps

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
ProjectEvents.CodeBuildBuildStateChange.CodeBuildBuildStateChangeProps.Jsii$Proxy
Enclosing class:
ProjectEvents.CodeBuildBuildStateChange

@Stability(Experimental) public static interface ProjectEvents.CodeBuildBuildStateChange.CodeBuildBuildStateChangeProps extends software.amazon.jsii.JsiiSerializable
(experimental) 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 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();
 
  • 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.Match for more advanced matching options.

      Default: - Do not filter on this field

    • getBuildId

      @Stability(Experimental) @Nullable default List<String> 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.Match for more advanced matching options.

      Default: - Do not filter on this field

    • getBuildStatus

      @Stability(Experimental) @Nullable default List<String> 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.Match for more advanced matching options.

      Default: - Do not filter on this field

    • getCurrentPhase

      @Stability(Experimental) @Nullable default List<String> 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.Match for more advanced matching options.

      Default: - Do not filter on this field

    • getCurrentPhaseContext

      @Stability(Experimental) @Nullable default List<String> 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.Match for more advanced matching options.

      Default: - Do not filter on this field

    • getEventMetadata

      @Stability(Experimental) @Nullable default AWSEventMetadataProps getEventMetadata()
      (experimental) EventBridge event metadata.

      Default: - -

    • getProjectName

      @Stability(Experimental) @Nullable default List<String> 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.Match for more advanced matching options.

      Default: - Filter with the Project reference

    • getVersion

      @Stability(Experimental) @Nullable default List<String> 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.Match for more advanced matching options.

      Default: - Do not filter on this field

    • builder

      Returns:
      a ProjectEvents.CodeBuildBuildStateChange.CodeBuildBuildStateChangeProps.Builder of ProjectEvents.CodeBuildBuildStateChange.CodeBuildBuildStateChangeProps