Skip to content
v2.278.0

JobConfigProperty Struct ​

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 ​

ts
// 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',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_amplify as amplify

job_config_property = amplify.CfnApp.JobConfigProperty(
    build_compute_type="buildComputeType"
)
java
// 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();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Amplify;

var jobConfigProperty = new JobConfigProperty {
    BuildComputeType = "buildComputeType"
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

jobConfigProperty := &JobConfigProperty{
	BuildComputeType: jsii.String("buildComputeType"),
}

Properties ​

buildComputeTypestringbuild_compute_typestrbuildComputeTypeStringBuildComputeTypestringBuildComputeType*string required #
Specifies the size of the build instance.
notes

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