Interface CfnApp.JobConfigProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnApp.JobConfigProperty.Jsii$Proxy
- Enclosing class:
CfnApp
@Stability(Stable)
public static interface CfnApp.JobConfigProperty
extends software.amazon.jsii.JsiiSerializable
Describes the configuration details that apply to the jobs for an Amplify app.
Use JobConfig
to apply configuration to jobs, such as customizing the build instance size when you create or update an Amplify app. For more information about customizable build instances, see Custom build instances in the Amplify User Guide .
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.amplify.*; JobConfigProperty jobConfigProperty = JobConfigProperty.builder() .buildComputeType("buildComputeType") .build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final class
A builder forCfnApp.JobConfigProperty
static final class
An implementation forCfnApp.JobConfigProperty
-
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getBuildComputeType
Specifies the size of the build instance.Amplify supports three instance sizes:
STANDARD_8GB
,LARGE_16GB
, andXLARGE_72GB
. If you don't specify a value, Amplify uses theSTANDARD_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
- See Also:
-
builder
- Returns:
- a
CfnApp.JobConfigProperty.Builder
ofCfnApp.JobConfigProperty
-