Class CodeBuildOptions.Jsii$Proxy

java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.pipelines.CodeBuildOptions.Jsii$Proxy
All Implemented Interfaces:
CodeBuildOptions, software.amazon.jsii.JsiiSerializable
Enclosing interface:
CodeBuildOptions

@Stability(Stable) @Internal public static final class CodeBuildOptions.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CodeBuildOptions
An implementation for CodeBuildOptions
  • Constructor Details

    • Jsii$Proxy

      protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
      Constructor that initializes the object based on values retrieved from the JsiiObject.
      Parameters:
      objRef - Reference to the JSII managed object.
    • Jsii$Proxy

      protected Jsii$Proxy(CodeBuildOptions.Builder builder)
      Constructor that initializes the object based on literal property values passed by the CodeBuildOptions.Builder.
  • Method Details

    • getBuildEnvironment

      public final BuildEnvironment getBuildEnvironment()
      Description copied from interface: CodeBuildOptions
      Partial build environment, will be combined with other build environments that apply.

      Default: - Non-privileged build, SMALL instance, LinuxBuildImage.STANDARD_5_0

      Specified by:
      getBuildEnvironment in interface CodeBuildOptions
    • getPartialBuildSpec

      public final BuildSpec getPartialBuildSpec()
      Description copied from interface: CodeBuildOptions
      Partial buildspec, will be combined with other buildspecs that apply.

      The BuildSpec must be available inline--it cannot reference a file on disk.

      Default: - No initial BuildSpec

      Specified by:
      getPartialBuildSpec in interface CodeBuildOptions
    • getRolePolicy

      public final List<PolicyStatement> getRolePolicy()
      Description copied from interface: CodeBuildOptions
      Policy statements to add to role.

      Default: - No policy statements added to CodeBuild Project Role

      Specified by:
      getRolePolicy in interface CodeBuildOptions
    • getSecurityGroups

      public final List<ISecurityGroup> getSecurityGroups()
      Description copied from interface: CodeBuildOptions
      Which security group(s) to associate with the project network interfaces.

      Only used if 'vpc' is supplied.

      Default: - Security group will be automatically created.

      Specified by:
      getSecurityGroups in interface CodeBuildOptions
    • getSubnetSelection

      public final SubnetSelection getSubnetSelection()
      Description copied from interface: CodeBuildOptions
      Which subnets to use.

      Only used if 'vpc' is supplied.

      Default: - All private subnets.

      Specified by:
      getSubnetSelection in interface CodeBuildOptions
    • getTimeout

      public final Duration getTimeout()
      Description copied from interface: CodeBuildOptions
      The number of minutes after which AWS CodeBuild stops the build if it's not complete.

      For valid values, see the timeoutInMinutes field in the AWS CodeBuild User Guide.

      Default: Duration.hours(1)

      Specified by:
      getTimeout in interface CodeBuildOptions
    • getVpc

      public final IVpc getVpc()
      Description copied from interface: CodeBuildOptions
      The VPC where to create the CodeBuild network interfaces in.

      Default: - No VPC

      Specified by:
      getVpc in interface CodeBuildOptions
    • $jsii$toJson

      @Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
      Specified by:
      $jsii$toJson in interface software.amazon.jsii.JsiiSerializable
    • equals

      public final boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public final int hashCode()
      Overrides:
      hashCode in class Object