interface JobConfigProperty
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.Amplify.CfnApp.JobConfigProperty |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awsamplify#CfnApp_JobConfigProperty |
![]() | software.amazon.awscdk.services.amplify.CfnApp.JobConfigProperty |
![]() | aws_cdk.aws_amplify.CfnApp.JobConfigProperty |
![]() | aws-cdk-lib » aws_amplify » CfnApp » JobConfigProperty |
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 { aws_amplify as amplify } from 'aws-cdk-lib';
const jobConfigProperty: amplify.CfnApp.JobConfigProperty = {
buildComputeType: 'buildComputeType',
};
Properties
Name | Type | Description |
---|---|---|
build | string | Specifies the size of the build instance. |
buildComputeType
Type:
string
Specifies the size of the build instance.
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