@Generated(value="jsii-pacmak/1.34.0 (build 9b72778)", date="2021-09-29T20:31:22.022Z") @Stability(value=Stable) public interface ResourceConfig extends software.amazon.jsii.JsiiSerializable
| Modifier and Type | Interface and Description |
|---|---|
static class |
ResourceConfig.Builder
A builder for
ResourceConfig |
static class |
ResourceConfig.Jsii$Proxy
An implementation for
ResourceConfig |
| Modifier and Type | Method and Description |
|---|---|
static ResourceConfig.Builder |
builder() |
Number |
getInstanceCount()
The number of ML compute instances to use.
|
InstanceType |
getInstanceType()
ML compute instance type.
|
default IKey |
getVolumeEncryptionKey()
KMS key that Amazon SageMaker uses to encrypt data on the storage volume attached to the ML compute instance(s) that run the training job.
|
Size |
getVolumeSize()
Size of the ML storage volume that you want to provision.
|
@Stability(value=Stable) @NotNull Number getInstanceCount()
Default: 1 instance.
@Stability(value=Stable) @NotNull InstanceType getInstanceType()
Default: ec2.InstanceType(ec2.InstanceClass.M4, ec2.InstanceType.XLARGE)
Example:
// Example automatically generated without compilation. See https://github.com/aws/jsii/issues/826 To;provide;an;instance;type from thetask;input , write `new ec2.InstanceType(sfn.JsonPath.stringAt('$.path.to.instanceType'))` , where;the;value in the;task;input;is;an;EC2;instance;type prepended with"ml.".get();
https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_ResourceConfig.html#sagemaker-Type-ResourceConfig-InstanceType@Stability(value=Stable) @NotNull Size getVolumeSize()
Default: 10 GB EBS volume.
@Stability(value=Stable) @Nullable default IKey getVolumeEncryptionKey()
Default: - Amazon SageMaker uses the default KMS key for Amazon S3 for your role's account
@Stability(value=Stable) static ResourceConfig.Builder builder()
ResourceConfig.Builder of ResourceConfigCopyright © 2021. All rights reserved.