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_7_0

      Specified by:
      getBuildEnvironment in interface CodeBuildOptions
    • getCache

      public final Cache getCache()
      Description copied from interface: CodeBuildOptions
      Caching strategy to use.

      Default: - No cache

      Specified by:
      getCache in interface CodeBuildOptions
    • getFileSystemLocations

      public final List<IFileSystemLocation> getFileSystemLocations()
      Description copied from interface: CodeBuildOptions
      ProjectFileSystemLocation objects for CodeBuild build projects.

      A ProjectFileSystemLocation object specifies the identifier, location, mountOptions, mountPoint, and type of a file system created using Amazon Elastic File System. Requires a vpc to be set and privileged to be set to true.

      Default: - no file system locations

      Specified by:
      getFileSystemLocations in interface CodeBuildOptions
    • getLogging

      public final LoggingOptions getLogging()
      Description copied from interface: CodeBuildOptions
      Information about logs for CodeBuild projects.

      A CodeBuild project can create logs in Amazon CloudWatch Logs, an S3 bucket, or both.

      Default: - no log configuration is set

      Specified by:
      getLogging 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