/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the sagemaker-2017-07-24.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.SageMaker.Model { /// /// Describes the resources, including ML instance types and ML instance count, to use /// for transform job. /// public partial class TransformResources { private int? _instanceCount; private TransformInstanceType _instanceType; private string _volumeKmsKeyId; /// /// Gets and sets the property InstanceCount. /// /// The number of ML compute instances to use in the transform job. The default value /// is 1, and the maximum is 100. For distributed transform /// jobs, specify a value greater than 1. /// /// [AWSProperty(Required=true, Min=1)] public int InstanceCount { get { return this._instanceCount.GetValueOrDefault(); } set { this._instanceCount = value; } } // Check to see if InstanceCount property is set internal bool IsSetInstanceCount() { return this._instanceCount.HasValue; } /// /// Gets and sets the property InstanceType. /// /// The ML compute instance type for the transform job. If you are using built-in algorithms /// to transform moderately sized datasets, we recommend using ml.m4.xlarge or ml.m5.largeinstance /// types. /// /// [AWSProperty(Required=true)] public TransformInstanceType InstanceType { get { return this._instanceType; } set { this._instanceType = value; } } // Check to see if InstanceType property is set internal bool IsSetInstanceType() { return this._instanceType != null; } /// /// Gets and sets the property VolumeKmsKeyId. /// /// The Amazon Web Services Key Management Service (Amazon Web Services KMS) key that /// Amazon SageMaker uses to encrypt model data on the storage volume attached to the /// ML compute instance(s) that run the batch transform job. /// /// /// /// Certain Nitro-based instances include local storage, dependent on the instance type. /// Local storage volumes are encrypted using a hardware module on the instance. You can't /// request a VolumeKmsKeyId when using an instance type with local storage. /// /// /// /// For a list of instance types that support local instance storage, see Instance /// Store Volumes. /// /// /// /// For more information about local instance storage encryption, see SSD /// Instance Store Volumes. /// /// /// /// The VolumeKmsKeyId can be any of the following formats: /// /// /// [AWSProperty(Max=2048)] public string VolumeKmsKeyId { get { return this._volumeKmsKeyId; } set { this._volumeKmsKeyId = value; } } // Check to see if VolumeKmsKeyId property is set internal bool IsSetVolumeKmsKeyId() { return this._volumeKmsKeyId != null; } } }