@Generated(value="jsii-pacmak/1.31.0 (build 6fa403d)", date="2021-08-11T10:33:08.027Z") @Stability(value=Experimental) 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()
(experimental) The number of ML compute instances to use.
|
InstanceType |
getInstanceType()
(experimental) ML compute instance type.
|
default IKey |
getVolumeEncryptionKey()
(experimental) 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()
(experimental) Size of the ML storage volume that you want to provision.
|
@Stability(value=Experimental) @NotNull Number getInstanceCount()
Default: 1 instance.
@Stability(value=Experimental) @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=Experimental) @NotNull Size getVolumeSize()
Default: 10 GB EBS volume.
@Stability(value=Experimental) @Nullable default IKey getVolumeEncryptionKey()
Default: - Amazon SageMaker uses the default KMS key for Amazon S3 for your role's account
@Stability(value=Experimental) static ResourceConfig.Builder builder()
ResourceConfig.Builder of ResourceConfigCopyright © 2021. All rights reserved.