You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::SageMaker::Types::CreateEndpointConfigInput

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb

Overview

Note:

When making an API call, you may pass CreateEndpointConfigInput data as a hash:

{
  endpoint_config_name: "EndpointConfigName", # required
  production_variants: [ # required
    {
      variant_name: "VariantName", # required
      model_name: "ModelName", # required
      initial_instance_count: 1, # required
      instance_type: "ml.c4.2xlarge", # required, accepts ml.c4.2xlarge, ml.c4.8xlarge, ml.c4.xlarge, ml.c5.2xlarge, ml.c5.9xlarge, ml.c5.xlarge, ml.m4.xlarge, ml.p2.xlarge, ml.p3.2xlarge, ml.t2.medium
      initial_variant_weight: 1.0,
    },
  ],
  tags: [
    {
      key: "TagKey", # required
      value: "TagValue", # required
    },
  ],
  kms_key_id: "KmsKeyId",
}

Instance Attribute Summary collapse

Instance Attribute Details

#endpoint_config_nameString

The name of the endpoint configuration. You specify this name in a CreateEndpoint request.

Returns:

  • (String)


295
296
297
298
299
300
301
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 295

class CreateEndpointConfigInput < Struct.new(
  :endpoint_config_name,
  :production_variants,
  :tags,
  :kms_key_id)
  include Aws::Structure
end

#kms_key_idString

The Amazon Resource Name (ARN) of a AWS Key Management Service key that Amazon SageMaker uses to encrypt data on the storage volume attached to the ML compute instance that hosts the endpoint.

Returns:

  • (String)


295
296
297
298
299
300
301
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 295

class CreateEndpointConfigInput < Struct.new(
  :endpoint_config_name,
  :production_variants,
  :tags,
  :kms_key_id)
  include Aws::Structure
end

#production_variantsArray<Types::ProductionVariant>

An array of ProductionVariant objects, one for each model that you want to host at this endpoint.

Returns:



295
296
297
298
299
300
301
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 295

class CreateEndpointConfigInput < Struct.new(
  :endpoint_config_name,
  :production_variants,
  :tags,
  :kms_key_id)
  include Aws::Structure
end

#tagsArray<Types::Tag>

An array of key-value pairs. For more information, see Using Cost Allocation Tags in the AWS Billing and Cost Management User Guide.

Returns:



295
296
297
298
299
300
301
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 295

class CreateEndpointConfigInput < Struct.new(
  :endpoint_config_name,
  :production_variants,
  :tags,
  :kms_key_id)
  include Aws::Structure
end