Class CfnBuildBatch

java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
All Implemented Interfaces:
IInspectable, IBuildBatchRef, IEnvironmentAware, software.amazon.jsii.JsiiSerializable, software.constructs.IConstruct, software.constructs.IDependable

@Generated(value="jsii-pacmak/1.138.0 (build 0ca7ee8)", date="2026-07-24T11:46:42.296Z") @Stability(Stable) public class CfnBuildBatch extends CfnResource implements IInspectable, IBuildBatchRef
Resource Type definition for AWS::CodeBuild::BuildBatch.

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.services.codebuild.*;
 CfnBuildBatch cfnBuildBatch = CfnBuildBatch.Builder.create(this, "MyCfnBuildBatch")
         .projectName("projectName")
         .build();
 

See Also:
  • Field Details

    • CFN_RESOURCE_TYPE_NAME

      @Stability(Stable) public static final String CFN_RESOURCE_TYPE_NAME
      The CloudFormation resource type name for this resource class.
  • Constructor Details

    • CfnBuildBatch

      protected CfnBuildBatch(software.amazon.jsii.JsiiObjectRef objRef)
    • CfnBuildBatch

      protected CfnBuildBatch(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
    • CfnBuildBatch

      @Stability(Stable) public CfnBuildBatch(@NotNull software.constructs.Construct scope, @NotNull String id, @Nullable CfnBuildBatchProps props)
      Create a new AWS::CodeBuild::BuildBatch.

      Parameters:
      scope - Scope in which this resource is defined. This parameter is required.
      id - Construct identifier for this resource (unique in its scope). This parameter is required.
      props - Resource properties.
    • CfnBuildBatch

      @Stability(Stable) public CfnBuildBatch(@NotNull software.constructs.Construct scope, @NotNull String id)
      Create a new AWS::CodeBuild::BuildBatch.

      Parameters:
      scope - Scope in which this resource is defined. This parameter is required.
      id - Construct identifier for this resource (unique in its scope). This parameter is required.
  • Method Details

    • arnForBuildBatch

      @Stability(Stable) @NotNull public static String arnForBuildBatch(@NotNull IBuildBatchRef resource)
      Parameters:
      resource - This parameter is required.
    • fromBuildBatchArn

      @Stability(Stable) @NotNull public static IBuildBatchRef fromBuildBatchArn(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull String arn)
      Creates a new IBuildBatchRef from an ARN.

      Parameters:
      scope - This parameter is required.
      id - This parameter is required.
      arn - This parameter is required.
    • fromBuildBatchId

      @Stability(Stable) @NotNull public static IBuildBatchRef fromBuildBatchId(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull String buildBatchId)
      Creates a new IBuildBatchRef from a buildBatchId.

      Parameters:
      scope - This parameter is required.
      id - This parameter is required.
      buildBatchId - This parameter is required.
    • isCfnBuildBatch

      @Stability(Stable) @NotNull public static Boolean isCfnBuildBatch(@NotNull Object x)
      Checks whether the given object is a CfnBuildBatch.

      Parameters:
      x - This parameter is required.
    • inspect

      @Stability(Stable) public void inspect(@NotNull TreeInspector inspector)
      Examines the CloudFormation resource and discloses attributes.

      Specified by:
      inspect in interface IInspectable
      Parameters:
      inspector - tree inspector to collect and process attributes. This parameter is required.
    • renderProperties

      @Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String,Object> props)
      Overrides:
      renderProperties in class CfnResource
      Parameters:
      props - This parameter is required.
    • getAttrArn

      @Stability(Stable) @NotNull public String getAttrArn()
    • getAttrBuildBatchNumber

      @Stability(Stable) @NotNull public Number getAttrBuildBatchNumber()
    • getAttrBuildBatchStatus

      @Stability(Stable) @NotNull public String getAttrBuildBatchStatus()
    • getAttrBuildTimeoutInMinutes

      @Stability(Stable) @NotNull public Number getAttrBuildTimeoutInMinutes()
    • getAttrComplete

      @Stability(Stable) @NotNull public IResolvable getAttrComplete()
    • getAttrCurrentPhase

      @Stability(Stable) @NotNull public String getAttrCurrentPhase()
    • getAttrEncryptionKey

      @Stability(Stable) @NotNull public String getAttrEncryptionKey()
    • getAttrId

      @Stability(Stable) @NotNull public String getAttrId()
    • getAttrInitiator

      @Stability(Stable) @NotNull public String getAttrInitiator()
    • getAttrQueuedTimeoutInMinutes

      @Stability(Stable) @NotNull public Number getAttrQueuedTimeoutInMinutes()
    • getAttrStartTime

      @Stability(Stable) @NotNull public String getAttrStartTime()
    • getBuildBatchRef

      @Stability(Stable) @NotNull public BuildBatchReference getBuildBatchRef()
      A reference to a BuildBatch resource.
      Specified by:
      getBuildBatchRef in interface IBuildBatchRef
    • getCfnProperties

      @Stability(Stable) @NotNull protected Map<String,Object> getCfnProperties()
      Overrides:
      getCfnProperties in class CfnResource
    • getCfnPropertyNames

      @Stability(Stable) @NotNull protected Map<String,String> getCfnPropertyNames()
      Overrides:
      getCfnPropertyNames in class CfnResource
    • getProjectName

      @Stability(Stable) @Nullable public String getProjectName()
    • setProjectName

      @Stability(Stable) public void setProjectName(@Nullable String value)