Class CfnApp.JobConfigProperty
Describes the configuration details that apply to the jobs for an Amplify app.
Implements
Inherited Members
Namespace: Amazon.CDK.AWS.Amplify
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnApp.JobConfigProperty : CfnApp.IJobConfigProperty
Syntax (vb)
Public Class CfnApp.JobConfigProperty Implements CfnApp.IJobConfigProperty
Remarks
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 .
ExampleMetadata: fixture=_generated
Examples
// 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"
};
Synopsis
Constructors
JobConfigProperty() | Describes the configuration details that apply to the jobs for an Amplify app. |
Properties
BuildComputeType | Specifies the size of the build instance. |
Constructors
JobConfigProperty()
Describes the configuration details that apply to the jobs for an Amplify app.
public JobConfigProperty()
Remarks
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 .
ExampleMetadata: fixture=_generated
Examples
// 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"
};
Properties
BuildComputeType
Specifies the size of the build instance.
public string BuildComputeType { get; set; }
Property Value
Remarks
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: