Class CfnApp.JobConfigProperty.Builder

java.lang.Object
software.amazon.awscdk.services.amplify.CfnApp.JobConfigProperty.Builder
All Implemented Interfaces:
software.amazon.jsii.Builder<CfnApp.JobConfigProperty>
Enclosing interface:
CfnApp.JobConfigProperty

@Stability(Stable) public static final class CfnApp.JobConfigProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnApp.JobConfigProperty>
  • Constructor Details

    • Builder

      public Builder()
  • Method Details

    • buildComputeType

      @Stability(Stable) public CfnApp.JobConfigProperty.Builder buildComputeType(String buildComputeType)
      Parameters:
      buildComputeType - Specifies the size of the build instance. This parameter is required. Amplify supports three instance sizes: STANDARD_8GB , LARGE_16GB , and XLARGE_72GB . If you don't specify a value, Amplify uses the STANDARD_8GB default.

      The following list describes the CPU, memory, and storage capacity for each build instance type:

      • STANDARD_8GB - - vCPUs: 4
      • Memory: 8 GiB
      • Disk space: 128 GB
      • LARGE_16GB - - vCPUs: 8
      • Memory: 16 GiB
      • Disk space: 128 GB
      • XLARGE_72GB - - vCPUs: 36
      • Memory: 72 GiB
      • Disk space: 256 GB
      Returns:
      this
    • build

      @Stability(Stable) public CfnApp.JobConfigProperty build()
      Builds the configured instance.
      Specified by:
      build in interface software.amazon.jsii.Builder<CfnApp.JobConfigProperty>
      Returns:
      a new instance of CfnApp.JobConfigProperty
      Throws:
      NullPointerException - if any required attribute was not provided